Function at 0x40a750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528e53
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x583184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], edx
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], esi
test esi, esi
je 0x40a798
mov dword [esi], 0
cmp dword [edi + 0x10], 0
jne 0x40a7a5
xor al, al
jmp 0x40ad92
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.00409d30
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00408ad0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
mov edx, 0x55972c
cmovae ecx, dword [ebp - 0x88]
call fcn.00405eb0
test al, al
je 0x40aa76
xor eax, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov word [ebp - 0x8a], ax
mov eax, 1
mov dword [ebp - 0x14], 0
mov word [ebp - 0x9c], ax
xor eax, eax
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0x9a], xmm0
movlpd qword [ebp - 0x92], xmm0
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xcc], 0x44
mov dword [ebp - 0xa0], 0x81
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov byte [ebp - 0x128], al
mov eax, 0x104
push dword [ebp - 0x128]
sub eax, esi
push eax
call fcn.004078a0
push 1
push 0x5596cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
call fcn.00404420
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40a8d7
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00407830
push 1
push 0x5596cc
lea ecx, [ebp - 0x28]
call fcn.00407830
mov esi, dword [ebp - 0x124]
cmp dword [esi + 0x10], 0
je 0x40a923
push 1
push 0x5596d0
lea ecx, [ebp - 0x28]
call fcn.00407830
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40a917
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00407830
cmp dword [ebp - 0x30], 0
jne 0x40a92d
xor eax, eax
jmp 0x40a938
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, edi
cmovae ecx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x40a94d
mov edx, dword [edi]
lea esi, [ebp - 0xdc]
push esi
lea esi, [ebp - 0xcc]
push esi
push eax
push 0
push 0x30
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40aa1e
mov eax, dword [ebp - 0xd8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40a993
push eax
call esi
mov dword [ebp - 0xd8], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
jne 0x40a9a5
mov byte [ebp - 0x119], cl
jmp 0x40a9c7
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x40a9b3
mov dword [eax], ecx
jmp 0x40a9c0
push ecx
call esi
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0x119], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40aa05
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adad
push edx
push ecx
call fcn.00500671
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x40ace3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40aa5c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adb2
push edx
push ecx
call fcn.00500671
add esp, 8
mov esi, dword [ebp - 0x120]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x58]
push str.open
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00404420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
push dword [ebp - 0x124]
call fcn.00405950
mov byte [ebp - 4], 5
xorps xmm0, xmm0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
movlpd qword [ebp - 0xf8], xmm0
cmovae eax, dword [ebp - 0x58]
cmp dword [edi + 0x14], 8
movlpd qword [ebp - 0xf0], xmm0
movlpd qword [ebp - 0xe8], xmm0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x118], 0x3c
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0x100540
mov dword [ebp - 0x10c], eax
jb 0x40ab19
mov edi, dword [edi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0xb
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
mov dword [ebp - 0x104], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x559750
mov dword [ebp - 0x108], edi
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404420
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov edi, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40abd0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40abc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adb7
push edx
push ecx
call fcn.00500671
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x40ac38
push 0x559768
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ac38
lea ecx, [ebp - 0x118]
push ecx
call eax
test eax, eax
je 0x40ac38
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x40ac38
test esi, esi
je 0x40ac1e
mov dword [esi], eax
mov byte [ebp - 0x119], 1
jmp 0x40ac3f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x119], 1
jmp 0x40ac3f
mov byte [ebp - 0x119], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40ac7d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ac73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adbc
push edx
push ecx
call fcn.00500671
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40accf
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40acc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adc1
push edx
push ecx
call fcn.00500671
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x40ad24
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adc6
push edx
push ecx
call fcn.00500671
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40ad78
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adcb
push edx
push ecx
call fcn.00500671
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov al, byte [ebp - 0x119]
mov dword [ebp - 0x2c], 7
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.00500396
mov esp, ebp
pop ebp
ret
call fcn.005047a9
call fcn.005047a9
call fcn.005047a9
call fcn.005047a9
call fcn.005047a9
call fcn.005047a9
call fcn.005047a9
int3