Function at 0x413ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x5d4
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x5c5]
mov dword [ebp - 0x5c4], esi
call fcn.00404b30
mov eax, dword [ebp + 8]
mov byte [edi + 0xc8], 0
test eax, eax
jne 0x414512
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edx, eax
mov dword [ebp - 0x4c], 0
mov ecx, edx
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413f58
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00403d10
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
mov esi, dword [ebp - 0x4c]
mov edx, 4
cmovae ecx, dword [ebp - 0x5c]
cmp esi, edx
mov dword [ebp - 4], 0
cmova esi, edx
mov edx, str..zip
mov eax, esi
sub eax, 4
mov dword [ebp - 0x14], eax
jb 0x413fb7
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x413fbc
mov eax, dword [ebp - 0x14]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x413fa0
cmp eax, 0xfffffffc
je 0x413ff3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x413fec
cmp dword [ebp - 0x14], 0xfffffffd
je 0x413ff3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x413fec
cmp dword [ebp - 0x14], 0xfffffffe
je 0x413ff3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x413fec
cmp dword [ebp - 0x14], 0xffffffff
je 0x413ff3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x413ff3
sbb eax, eax
or eax, 1
jmp 0x413ff5
xor eax, eax
test eax, eax
jne 0x414258
cmp dword [ebp - 0x4c], 4
jb 0x414258
ja 0x414258
cmp byte [edi + 0xc9], al
jne 0x4140d5
push 0x54c
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.004bda50
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x5c0]
push eax
call fcn.0040b750
push 0
push 0
push 0
push 0
push 0
push 0x100
push 0x10ce0000
push 0x4ed5f4
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x5c0]
call sym.CAD.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
lea ecx, [ebp - 0x5c0]
call sym.CAD.exe_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
push 2
lea ecx, [ebp - 0x5c0]
call fcn.0040c840
push 0x4ef1c8
lea ecx, [ebp - 0x5c0]
call fcn.0040c720
push 0x4ef1d4
lea ecx, [ebp - 0x5c0]
call fcn.0040c4c0
push str.FFFF0000
lea ecx, [ebp - 0x5c0]
call fcn.0040c5e0
lea ecx, [ebp - 0x5c0]
call sym.CAD.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
lea ecx, [ebp - 0x5c0]
mov byte [edi + 0xc9], 1
mov byte [ebp - 4], 0
call fcn.0040b8e0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x4140e6
mov eax, dword [ecx]
push str.S_N.
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x54]
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov byte [ebp - 4], 2
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edx, eax
mov dword [ebp - 0x34], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414120
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00409fe0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 4
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
push 0x34
call fcn.004bb92e
mov esi, eax
add esp, 4
test esi, esi
je 0x41419c
mov dword [esi + 0x28], 0
xorps xmm0, xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
jmp 0x41419e
xor esi, esi
mov edx, dword [ebp - 0x5c4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x5c4], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4141b0
sub ecx, dword [ebp - 0x5c4]
push ecx
push edx
mov ecx, esi
call fcn.00402e50
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x5e0]
push eax
call fcn.00401780
lea ecx, [esi + 0x18]
mov dword [ebp - 0x5c4], eax
add esp, 8
cmp ecx, eax
je 0x41421b
call fcn.00403210
mov eax, dword [ebp - 0x5c4]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x5e0]
call fcn.00403210
xor ecx, ecx
lea eax, [edi + 4]
cmp edi, 0x6e8
push esi
cmove eax, ecx
lea ecx, [edi + 0xe4]
mov dword [esi + 0x30], eax
call fcn.0040d0d0
lea ecx, [ebp - 0x44]
call fcn.004031b0
lea ecx, [ebp - 0x5c]
call fcn.00403210
jmp 0x41454e
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
mov edx, str..exe
cmovae ecx, dword [ebp - 0x5c]
sub esi, 4
jb 0x414281
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x414286
add ecx, 4
add edx, 4
sub esi, 4
jae 0x414270
cmp esi, 0xfffffffc
je 0x4142ba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4142b3
cmp esi, 0xfffffffd
je 0x4142ba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4142b3
cmp esi, 0xfffffffe
je 0x4142ba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4142b3
cmp esi, 0xffffffff
je 0x4142ba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4142ba
sbb eax, eax
or eax, 1
jmp 0x4142bc
xor eax, eax
test eax, eax
jne 0x4142d0
cmp dword [ebp - 0x4c], 4
jb 0x414408
ja 0x414408
lea ecx, [edi - 0x6e8]
test eax, eax
jne 0x41440e
push 0xc8
push 0x4ef220
call fcn.00417a30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x5c4]
xorps xmm0, xmm0
mov ecx, edi
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414318
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x74]
call fcn.00403d10
push 0xffffffffffffffff
push 0x4ed64c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.0041d2c0
push eax
push 0
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x74]
call fcn.00402230
mov esi, eax
lea eax, [ebp - 0x74]
cmp eax, esi
je 0x414382
mov ecx, eax
call fcn.00403210
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x5e0]
call fcn.00403210
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov dword [ebp - 0x34], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4143b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00403d10
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
push 1
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push 0
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
mov byte [ebp - 4], 6
call fcn.00401aa0
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.00403210
lea ecx, [ebp - 0x74]
call fcn.00403210
lea ecx, [ebp - 0x5c]
call fcn.00403210
jmp 0x41454e
lea ecx, [edi - 0x6e8]
push 0xc8
push 0x4ef23c
call fcn.00417a30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x5c4]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414448
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403d10
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
test eax, eax
je 0x41448f
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x41448b
cmp ecx, edx
je 0x41448f
dec ecx
cmp byte [ecx], 0x5c
jne 0x414481
sub ecx, edx
jmp 0x414492
or ecx, 0xffffffff
push ecx
push 0
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402230
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4144d6
mov ecx, eax
call fcn.00403210
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x5e0]
call fcn.00403210
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push 0
push 0
push eax
push 0x5113e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x2c]
call fcn.00403210
lea ecx, [ebp - 0x5c]
call fcn.00403210
jmp 0x41454e
cmp eax, 2
je 0x41454e
push 0xc8
push 0x4ef258
lea ecx, [edi - 0x6e8]
call fcn.00417a30
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x41453d
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x41454e
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bb96c
mov esp, ebp
pop ebp
ret 8