Function at 0x40bfc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, eax
call fcn.004093d0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bfd3
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bfe3
sub eax, esi
lea esi, [eax + edx + 8]
push esi
call fcn.00412765
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x40bff0
push edi
push ecx
call fcn.004093d0
mov esi, dword [ebp - 4]
add esp, 4
push eax
push 0x425b20
push esi
call fcn.004128a6
add esp, 0x10
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
test eax, eax
jne 0x40c04b
push 0x20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
je 0x40c269
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x12
call fcn.00403fe0
mov ecx, dword [0x42a118]
mov eax, dword [ecx + 0x48]
add esp, 4
push eax
push edi
call fcn.004130a0
add esp, 8
test eax, eax
je 0x40c18d
push 4
call fcn.00412765
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x40c070
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c092
sub eax, edx
lea esi, [eax + 1]
mov edi, edi
push esi
call fcn.00412765
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40c0a0
mov edx, ebx
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c0b5
push 0x42a84c
call fcn.00402c80
add esp, 4
push 0x42a850
call fcn.00402c80
mov eax, dword [0x42a524]
mov edi, dword [0x42a84c]
add esp, 4
inc eax
mov dword [0x42a524], eax
lea esi, [eax*4]
push esi
push edi
call fcn.004127f9
add esp, 8
test eax, eax
je 0x40c0f1
mov edi, dword [0x42a850]
mov dword [0x42a84c], eax
lea ebx, [ebx]
push esi
push edi
call fcn.004127f9
add esp, 8
test eax, eax
je 0x40c110
mov edi, dword [ebp - 8]
mov dword [0x42a850], eax
mov eax, dword [0x42a84c]
mov dword [esi + eax - 4], ebx
mov ecx, dword [0x42a850]
mov dword [esi + ecx - 4], edi
mov esi, 0x42a84c
call fcn.00402d80
mov esi, 0x42a850
call fcn.00402d80
push 0xb2
call fcn.00403fe0
mov edx, dword [0x42a118]
mov eax, dword [edx + 0x2c8]
add esp, 4
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c266
call eax
mov esi, dword [ebp - 4]
push esi
call fcn.0041272b
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
call fcn.00403fe0
mov ecx, dword [0x42a118]
mov eax, dword [ecx + 0x44]
add esp, 4
push eax
push edi
call fcn.004130a0
add esp, 8
test eax, eax
je 0x40c269
push 0x44
lea edx, [ebp - 0x60]
push 0
push edx
call fcn.00415c60
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0x100
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c1f5
sub eax, edx
lea esi, [eax + 1]
push esi
call fcn.00412765
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40c201
mov edx, ebx
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c216
push 0x42a848
call fcn.00402c80
mov eax, dword [0x42a528]
mov edi, dword [0x42a848]
add esp, 4
inc eax
mov dword [0x42a528], eax
lea esi, [eax*4]
push esi
push edi
call fcn.004127f9
add esp, 8
test eax, eax
je 0x40c245
mov dword [0x42a848], eax
mov dword [esi + eax - 4], ebx
mov esi, 0x42a848
call fcn.00402d80
mov esi, dword [ebp - 4]
push esi
call fcn.0041272b
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret