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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474fcc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4981c4]
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.00416ba0
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.00403870
call fcn.004023f0
mov ecx, eax
test ecx, ecx
je 0x403f12
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 0x403c56
push eax
lea ecx, [ebp - 0x220]
call fcn.00401cc0
jmp 0x403e48
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x225]
call fcn.00401e70
push eax
push dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
call fcn.0040c100
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 0x403ca3
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 0x403d30
cmp dword [ecx + 0xc], 0
jne 0x403e15
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.004022c0
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 4
push 1
push eax
call fcn.00409320
mov eax, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x403d98
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403d0f
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 0x403d30
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 0x403d51
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 0x403d77
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.004148a9
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 0x403dd3
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 0x403df4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x230], 0
je 0x403d30
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401d30
jmp 0x403e27
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401cc0
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 0x403e48
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 0x403edf
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.00402330
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 0x403d5b
push 0x80004005
call fcn.00402160
int3