Function at 0x402be0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x800
mov esi, eax
lea eax, [ebp - 0x920]
push 0
push eax
call fcn.0041c050
add esp, 0xc
lea eax, [ebp - 0x920]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x920]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x920]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x20], 7
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c50
sub ecx, edx
lea eax, [ebp - 0x920]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00401ef0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x402c9d
cmp dword [ebp - 4], 0
je 0x402c9d
mov eax, 0x43b2b0
mov ecx, 0x13
jmp 0x402ca7
mov eax, str._bingmod.exe
mov ecx, 0xd
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00401d70
lea ecx, [ebp - 0x120]
call fcn.004014e0
mov edx, dword [ebp + 0x10]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402cc4
sub ecx, esi
lea eax, [ecx + edx]
push eax
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x120]
call fcn.004026f0
mov ecx, dword [ebp - 0x24]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp + 0x10], ecx
cmp eax, 1
jb 0x402fac
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
lea ebx, [ecx + 1]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x34]
lea edi, [ebp - 0x1c]
mov esi, 7
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp ebx, esi
jbe 0x402d5e
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x402d3d
mov esi, 0x7ffffffe
jmp 0x402d47
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401b60
mov ecx, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], edi
add ecx, ecx
mov dword [ebp - 0xc], ebx
push ecx
push eax
lea eax, [edi + 2]
mov dword [ebp - 8], esi
mov edx, 0x22
push eax
mov word [edi], dx
call fcn.0041bad0
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor eax, eax
mov word [edi + ebx*2], ax
push 2
push 0x43b2f4
call fcn.00401d70
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x4c]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
movq qword [ebp - 0x54], xmm0
push eax
push dword [ebp + 0x10]
call fcn.00401330
mov edx, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
cmp edx, 8
jb 0x402e05
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402dfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb1
push edx
push ecx
call fcn.0041ab77
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x402e3f
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb1
push edx
push ecx
call fcn.0041ab77
add esp, 8
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x402e8d
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb1
push edx
push ecx
call fcn.0041ab77
add esp, 8
cmp dword [ebp - 0x38], 8
lea edx, [ebp - 0xd0]
push edx
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x44
push edx
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push 0
cmovae eax, dword [ebp - 0x34]
push 0
push ecx
push eax
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movups xmmword [ebp - 0xd0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x402f4f
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb6
push edx
push ecx
call fcn.0041ab77
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00401930
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x402fa4
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb6
push edx
push ecx
call fcn.0041ab77
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
call fcn.00401b50
call fcn.0041ef3f
call fcn.0041ef3f
int3