Function at 0x403ae0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474f2c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x498114]
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 - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00416b00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x47a334
push 0x47a370
mov ecx, esi
call fcn.004037b0
call fcn.00402330
mov ecx, eax
test ecx, ecx
je 0x403e52
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x21c]
or edi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax + 0x10], 0
jne 0x403b96
push eax
lea ecx, [ebp - 0x220]
call fcn.00401bf0
jmp 0x403d88
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x225]
call fcn.00401da0
push eax
push dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
call fcn.0040c060
add esp, 0xc
mov edx, dword [ebp - 0x234]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403be3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x403c70
cmp dword [ecx + 0xc], 0
jne 0x403d55
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.00402200
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 4
push 1
push eax
call fcn.00409280
mov eax, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x403cd8
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403c4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403c70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403c91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x403cb7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
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.00414809
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [ebp - 0x21c]
push eax
push 0x47a384
push str.mechanism
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x22c]
mov ecx, edi
mov dword [ebp - 0x230], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x403d13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403d34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x230], 0
je 0x403c70
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401c60
jmp 0x403d67
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401bf0
mov edx, dword [ebp - 0x224]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403d88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0x44
lea eax, [ebp - 0x278]
movlpd qword [ebp - 0x274], xmm0
push eax
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x264], xmm0
movlpd qword [ebp - 0x25c], xmm0
movlpd qword [ebp - 0x254], xmm0
movlpd qword [ebp - 0x24c], xmm0
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x23c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [ebp - 0x220]
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x24c], 1
mov word [ebp - 0x248], ax
movups xmmword [ebp - 0x288], xmm0
cmp dword [esi - 4], 1
jle 0x403e1f
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.00402270
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x21c], eax
jmp 0x403c9b
push 0x80004005
call fcn.004020a0
int3