Function at 0x408990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fab46
mov eax, dword fs:[0]
push eax
sub esp, 0x5f4
mov eax, dword [0x5543c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x5f9]
mov dword [ebp - 0x600], edi
call fcn.00405880
mov eax, dword [ebp + 8]
mov byte [esi + 0xc8], 0
test eax, eax
jne 0x408dac
push edi
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 edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408a10
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00404480
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov edi, dword [ebp - 0x34]
mov edx, 4
cmovae ecx, dword [ebp - 0x44]
cmp edi, edx
mov dword [ebp - 4], 0
cmova edi, edx
mov edx, str..zip
sub edi, 4
jb 0x408a61
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x408a66
add ecx, 4
add edx, 4
sub edi, 4
jae 0x408a50
cmp edi, 0xfffffffc
je 0x408a9a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x408a93
cmp edi, 0xfffffffd
je 0x408a9a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x408a93
cmp edi, 0xfffffffe
je 0x408a9a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x408a93
cmp edi, 0xffffffff
je 0x408a9a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x408a9a
sbb eax, eax
or eax, 1
jmp 0x408a9c
xor eax, eax
test eax, eax
jne 0x408ae9
cmp dword [ebp - 0x34], 4
jb 0x408ae9
ja 0x408ae9
mov edx, dword [ebp - 0x600]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408ab3
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0xb0]
call fcn.00403350
push 0xa
push 6
push dword [esi + 0x4c]
lea ecx, [esi - 0x48c]
call dword [0x5273c0]
lea ecx, [ebp - 0x44]
call fcn.00403880
jmp 0x408ee4
cmp byte [esi + 0xcc], 0
je 0x408bc0
mov edx, dword [ebp - 0x600]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408b16
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00404480
push 0xffffffffffffffff
push 0x501e38
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0040b6d0
mov esi, eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x74]
lea edi, [esi + 1]
push edi
push 0
push eax
call fcn.00402600
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
sub eax, esi
mov byte [ebp - 4], 2
dec eax
push eax
push edi
lea eax, [ebp - 0x90]
push eax
call fcn.00402600
cmp dword [ebp - 0x7c], 0x10
lea ecx, [ebp - 0x90]
push 1
cmovae ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push 0
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
mov byte [ebp - 4], 3
call fcn.00401e00
add esp, 0x10
lea ecx, [ebp - 0x90]
call fcn.00403880
lea ecx, [ebp - 0x74]
call fcn.00403880
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00403880
mov esi, dword [ebp - 0x14]
jmp 0x408d50
push 0x568
lea eax, [ebp - 0x5f8]
push 0
push eax
call fcn.004cf400
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x5f8]
push eax
call fcn.004155e0
push 0
push 0
push 0
push 0
push 0
push 0x100
push 0x10ce0000
lea ecx, [esi - 0x4b8]
mov byte [ebp - 4], 4
push 0x501e3c
call dword [0x5273cc]
push eax
lea ecx, [ebp - 0x5f8]
call dword [0x5273d0]
lea ecx, [ebp - 0x5f8]
call dword [0x5273d8]
push 0
lea ecx, [ebp - 0x5f8]
call fcn.00416960
push 0x501e4c
lea ecx, [ebp - 0x5f8]
call fcn.004170c0
push 0x501e58
lea ecx, [ebp - 0x5f8]
call fcn.00416dc0
lea ecx, [ebp - 0x5f8]
call dword [0x5273d4]
mov edx, dword [ebp - 0x600]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408c80
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404480
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
test eax, eax
je 0x408cce
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x408cca
nop dword [eax]
cmp ecx, edx
je 0x408cce
dec ecx
cmp byte [ecx], 0x5c
jne 0x408cc0
sub ecx, edx
jmp 0x408cd1
or ecx, 0xffffffff
push ecx
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402600
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x408d12
mov ecx, eax
call fcn.00403880
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x74]
call fcn.00403880
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push 0
push 0
push eax
push 0x527214
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x2c]
call fcn.00403880
lea ecx, [ebp - 0x5f8]
mov byte [ebp - 4], 0
call fcn.00415740
cmp dword [esi + 0xac], 0x10
lea eax, [esi + 0x98]
lea edi, [esi - 0x4b8]
jb 0x408d67
mov eax, dword [eax]
sub esi, 0xffffff80
cmp dword [esi + 0x14], 0x10
jb 0x408d72
mov esi, dword [esi]
push esi
push 0x501e84
push str.complete
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
push 0xf060
push 0x112
mov ecx, edi
call dword [0x5273cc]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x44]
call fcn.00403880
jmp 0x408ee4
cmp eax, 2
jne 0x408e07
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x408dc2
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x408dd3
mov eax, dword [ecx]
push 0x501e94
call dword [eax + 0x3c]
cmp byte [esi + 0xca], 0
jne 0x408dfb
push 0
push 0xf060
push 0x112
lea ecx, [esi - 0x4b8]
call dword [0x5273cc]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esi + 0xca], 0
jmp 0x408ee4
push 0x568
lea eax, [ebp - 0x5f8]
push 0
push eax
call fcn.004cf400
add esp, 0xc
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x5f8]
push eax
call fcn.004155e0
push 0
push 0
push 0
push 0
push 0
push 0x100
push 0x10ce0000
push 0x501e3c
lea ecx, [esi - 0x4b8]
mov dword [ebp - 4], 6
call dword [0x5273cc]
push eax
lea ecx, [ebp - 0x5f8]
call dword [0x5273d0]
lea ecx, [ebp - 0x5f8]
call dword [0x5273d8]
push 0
lea ecx, [ebp - 0x5f8]
call fcn.00416960
push 0x501ea0
lea ecx, [ebp - 0x5f8]
call fcn.004170c0
push 0x501eac
lea ecx, [ebp - 0x5f8]
call fcn.00416dc0
lea ecx, [ebp - 0x5f8]
call dword [0x5273d4]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x408ebb
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x408ed9
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [esi + 0x58]
push 0x501e94
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x5f8]
call fcn.00415740
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.004cd2ac
mov esp, ebp
pop ebp
ret 8