Function at 0x412b40
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5af2
mov eax, dword fs:[0]
push eax
sub esp, 0x5d8
mov eax, dword [0x519220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x5d0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x5d4], eax
call fcn.00409ad0
mov ecx, eax
call fcn.00409d30
test al, al
je 0x412ba7
mov al, 1
jmp 0x412eda
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x412bb6
mov eax, dword [esi + 8]
add eax, 4
mov dword [ebp - 0x5e4], eax
call fcn.00434b60
mov al, 1
or edi, 0xffffffff
mov dword [ebp - 0x5e0], edi
mov byte [ebp - 0x5c5], al
mov byte [ebp - 0x5dc], al
lea eax, [ebp - 0x5cc]
mov dword [ebp - 4], 0
push eax
push ebx
mov ecx, esi
call fcn.00414a90
test al, al
jne 0x412c10
mov edi, dword [ebp - 0x5cc]
xor eax, eax
mov bh, byte [ebp - 0x5c5]
cmp edi, 2
cmove edi, eax
xor bl, bl
jmp 0x412eb3
lea ecx, [ebp - 0x134]
call fcn.00403e10
cmp byte [esi + 0x11c], 0
lea edx, [esi + 0xc]
jne 0x412c2a
mov edx, dword [esi + 8]
push dword [ebp - 0x5d0]
add edx, 4
lea ecx, [ebp - 0x134]
call fcn.00415200
add esp, 4
lea ecx, [ebp - 0x258]
call fcn.0040f690
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00411bd0
cmp dword [ebp - 0x254], 0
jne 0x412c73
mov dword [ebp - 0x5cc], 0
jmp 0x412c90
cmp byte [ebp - 0x13c], 0
lea eax, [ebp - 0x24c]
cmove eax, dword [ebp - 0x250]
add eax, 4
mov dword [ebp - 0x5cc], eax
call fcn.00409ad0
mov al, byte [eax + 6]
test al, al
je 0x412d85
mov ecx, esi
call fcn.00410050
test al, al
jne 0x412d02
mov ecx, esi
call fcn.00410020
test al, al
jne 0x412d02
sub esp, 0x10
mov edi, 1
mov ecx, esi
mov dword [ebp - 0x5e0], edi
push 0
call fcn.00404f90
push eax
lea ecx, [ebp - 0x37c]
call fcn.0040f6f0
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 3
push eax
push str.b_rN0R
mov ecx, ebx
call fcn.0040f2e0
lea ecx, [ebp - 0x37c]
call fcn.0040fac0
xor bl, bl
jmp 0x412e58
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x412d11
mov eax, dword [esi + 8]
add eax, 4
lea ecx, [ebp - 0x5c4]
push eax
call fcn.004321d0
push dword [ebp - 0x5d4]
mov byte [ebp - 4], 4
push dword [ebp - 0x5d8]
push dword [ebp - 0x5cc]
push ecx
push dword [ebp - 0x5d0]
lea ecx, [ebp - 0x5c4]
push ebx
call fcn.00432990
test al, al
jne 0x412d71
mov ecx, ebx
mov edi, 0xa
call fcn.004288e0
mov bh, byte [ebp - 0x5c5]
lea ecx, [ebp - 0x5c4]
call fcn.00412180
mov bl, 1
jmp 0x412e5e
lea ecx, [ebp - 0x5c4]
xor bh, bh
call fcn.00412180
mov bl, 1
jmp 0x412e5e
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
inc eax
push eax
mov dword [ebp - 0x14], eax
call fcn.00406110
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
lea ecx, [esi + 0xc]
cmove eax, dword [ebp - 0x12c]
cmp byte [esi + 0x11c], 0
jne 0x412dbb
mov ecx, dword [esi + 8]
push dword [ebp - 0x5d4]
add eax, 4
push dword [ebp - 0x5d8]
push dword [ebp - 0x5cc]
push 0
push dword [ebp + 0x10]
push 0
push 0
push 0
push eax
lea eax, [ecx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor edi, edi
lea ecx, [ebp - 0x134]
test eax, eax
jne 0x412e51
mov dword [ebp - 0x5e0], edi
call fcn.004048d0
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x412e0c
mov eax, dword [esi + 8]
sub esp, 0x10
lea ecx, [ebp - 0x37c]
add eax, 4
push 0
push eax
call fcn.0040f6f0
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 5
push eax
push 0x503b68
mov ecx, ebx
call fcn.0040f2e0
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 2
call fcn.0040fac0
mov ecx, ebx
call fcn.00429910
xor bl, bl
jmp 0x412e58
call fcn.004048d0
mov bl, 1
mov bh, byte [ebp - 0x5c5]
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x412e8a
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x412e8a
push eax
call fcn.0049c7b1
add esp, 4
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x412eb3
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x412eb3
push eax
call fcn.0049c7b1
add esp, 4
mov dword [ebp - 4], 6
test bh, bh
je 0x412ed8
call fcn.00434b60
cmp dword [eax + 0x124], 0
je 0x412ed8
mov ecx, dword [ebp - 0x5e4]
push edi
call fcn.00435460
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret 0x14