Function at 0x40a520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
mov eax, dword [0x530400]
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 - 0x5ad]
mov dword [ebp - 0x5b4], esi
call fcn.00407dc0
mov eax, dword [ebp + 8]
mov byte [edi + 0xcc], 0
test eax, eax
jne 0x40a891
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
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 0x40a598
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00403b90
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
mov esi, dword [ebp - 0x34]
mov edx, 4
cmova ecx, dword [ebp - 0x44]
cmp esi, edx
mov dword [ebp - 4], 0
cmova esi, edx
mov edx, str..zip
sub esi, 4
jb 0x40a5e5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40a5ea
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40a5d4
cmp esi, 0xfffffffc
je 0x40a61e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40a617
cmp esi, 0xfffffffd
je 0x40a61e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40a617
cmp esi, 0xfffffffe
je 0x40a61e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40a617
cmp esi, 0xffffffff
je 0x40a61e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40a61e
sbb eax, eax
or eax, 1
jmp 0x40a620
xor eax, eax
test eax, eax
jne 0x40a66d
cmp dword [ebp - 0x34], 4
jb 0x40a66d
ja 0x40a66d
mov edx, dword [ebp - 0x5b4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a637
sub ecx, esi
push ecx
push edx
lea ecx, [edi + 0xb4]
call fcn.00402e20
push 0xa
push 6
push dword [edi + 0x50]
lea ecx, [edi - 0x48c]
call dword [0x50b050]
lea ecx, [ebp - 0x44]
call fcn.00403170
jmp 0x40a9c9
push 0x568
lea eax, [ebp - 0x5ac]
push 0
push eax
call fcn.004bda10
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5ac]
push eax
call fcn.00416cb0
push 0
push 0
push 0
push 0
push 0
push 0x100
lea eax, [edi - 0x4b8]
mov byte [ebp - 4], 1
push 0x10ce0000
push 0x4e7d0c
mov ecx, eax
mov dword [ebp - 0x5b8], eax
call dword [0x50b05c]
push eax
lea ecx, [ebp - 0x5ac]
call dword [0x50b060]
lea ecx, [ebp - 0x5ac]
call dword [0x50b068]
push 0
lea ecx, [ebp - 0x5ac]
call fcn.00418030
push 0x4e7d1c
lea ecx, [ebp - 0x5ac]
call fcn.00418790
push 0x4e7d28
lea ecx, [ebp - 0x5ac]
call fcn.00418490
lea ecx, [ebp - 0x5ac]
call dword [0x50b064]
mov edx, dword [ebp - 0x5b4]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a735
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403b90
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov byte [ebp - 4], 2
test esi, esi
je 0x40a77e
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x40a77a
cmp ecx, edx
je 0x40a77e
dec ecx
cmp byte [ecx], 0x5c
jne 0x40a770
sub ecx, edx
jmp 0x40a781
or ecx, 0xffffffff
cmp esi, ecx
mov dword [ebp - 0x5c0], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5bc], 0
cmovb ecx, esi
xorps xmm0, xmm0
cmp dword [ebp - 0x14], 0xf
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x5d0]
push eax
movups xmmword [ebp - 0x5d0], xmm0
call fcn.00403b90
lea ecx, [ebp - 0x28]
call fcn.00403170
movups xmm0, xmmword [ebp - 0x5d0]
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 0x5d0], 0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x5c0]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x5c0], 0
mov dword [ebp - 0x5bc], 0xf
call fcn.00403170
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0x50aea4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [edi + 0x98], 0xf
lea eax, [edi + 0x84]
jbe 0x40a832
mov eax, dword [eax]
add edi, 0x9c
cmp dword [edi + 0x14], 0xf
jbe 0x40a840
mov edi, dword [edi]
push eax
push 0x4e7d54
push str.complete
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x5b8]
push 0
push 0xf060
push 0x112
call dword [0x50b05c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x28]
call fcn.00403170
lea ecx, [ebp - 0x5ac]
call fcn.00416e10
lea ecx, [ebp - 0x44]
call fcn.00403170
jmp 0x40a9c9
cmp eax, 2
jne 0x40a8ec
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x40a8a7
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x40a8b8
mov eax, dword [ecx]
push 0x4e7d64
call dword [eax + 0x3c]
cmp byte [edi + 0xce], 0
jne 0x40a8e0
push 0
push 0xf060
push 0x112
lea ecx, [edi - 0x4b8]
call dword [0x50b05c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [edi + 0xce], 0
jmp 0x40a9c9
push 0x568
lea eax, [ebp - 0x5ac]
push 0
push eax
call fcn.004bda10
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5ac]
push eax
call fcn.00416cb0
push 0
push 0
push 0
push 0
push 0
push 0x100
push 0x10ce0000
push 0x4e7d0c
lea ecx, [edi - 0x4b8]
mov dword [ebp - 4], 3
call dword [0x50b05c]
push eax
lea ecx, [ebp - 0x5ac]
call dword [0x50b060]
lea ecx, [ebp - 0x5ac]
call dword [0x50b068]
push 0
lea ecx, [ebp - 0x5ac]
call fcn.00418030
push 0x4e7d70
lea ecx, [ebp - 0x5ac]
call fcn.00418790
push 0x4e7d7c
lea ecx, [ebp - 0x5ac]
call fcn.00418490
lea ecx, [ebp - 0x5ac]
call dword [0x50b064]
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x40a9a0
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x40a9be
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x5c]
push 0x4e7d64
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x5ac]
call fcn.00416e10
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.004bbaec
mov esp, ebp
pop ebp
ret 8