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

Disassembly:
push 0xffffffffffffffff
push 0x4f30a7
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28c]
mov esi, dword [esp + 0x280]
mov ebp, dword [esp + 0x288]
mov edi, edx
mov ebx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
call fcn.00415530
cmp byte [eax + 0x96a], 0
je 0x41863d
cmp byte [0x54d2fa], 0
jne 0x41863d
mov ecx, ebx
call fcn.00416540
test al, al
jne 0x41847b
mov ecx, ebx
call fcn.00416500
test al, al
jne 0x41847b
cmp byte [ebx + 0x11c], al
je 0x418412
add ebx, 0xc
jmp 0x418415
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x20]
call fcn.00410c10
lea eax, [ebx + 4]
lea edx, [esp + 0x20]
call fcn.00410e40
lea ecx, [esp + 0x20]
push ecx
push 0x52b660
mov ecx, edi
mov dword [esp + 0x280], 1
call fcn.0040fa50
mov ecx, eax
call fcn.00410a10
cmp byte [esp + 0x13c], 0
mov dword [esp + 0x20], vtable.t_str.0
jne 0x418474
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
cmp eax, edx
je 0x418474
push eax
call fcn.004d1d15
add esp, 4
xor al, al
jmp 0x41863f
lea ecx, [esp + 0x144]
call fcn.00410c10
mov dword [esp + 0x278], 2
cmp byte [ebx + 0x11c], 0
lea edi, [ebx + 0xc]
jne 0x4184a1
mov edi, dword [ebx + 8]
push 0x22
push 0x52a3ac
lea edx, [esp + 0x14c]
call fcn.004114a0
add edi, 4
push edi
push 0x52a3bc
lea edx, [esp + 0x154]
call fcn.004114a0
push 0x52bc6c
push 0x52a3bc
lea edx, [esp + 0x15c]
call fcn.004114a0
push esi
push 0x52a3bc
lea edx, [esp + 0x164]
call fcn.004114a0
mov ecx, dword [esp + 0x168]
inc ecx
add esp, 0x20
lea esi, [esp + 0x14c]
mov dword [esp + 0x264], ecx
call fcn.00411b60
cmp byte [esp + 0x260], 0
lea ecx, [esp + 0x150]
jne 0x418527
mov ecx, dword [esp + 0x14c]
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x418536
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x288]
push ebp
push 0
push 0
push edx
push 0
push 0
push 0
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea edi, [esp + 0x144]
test eax, eax
jne 0x418608
call fcn.004111b0
cmp byte [ebx + 0x11c], 0
je 0x41857e
add ebx, 0xc
jmp 0x418581
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x20]
call fcn.00410c10
lea eax, [ebx + 4]
lea edx, [esp + 0x20]
call fcn.00410e40
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 0x52bc74
mov byte [esp + 0x280], 4
call fcn.0040fa50
mov ecx, eax
call fcn.00410a10
cmp byte [esp + 0x13c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x20], esi
jne 0x4185e0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4185e0
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x260], 0
mov dword [esp + 0x144], esi
jne 0x418474
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
jmp 0x418467
call fcn.004111b0
cmp byte [esp + 0x260], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x41863d
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x41863d
push eax
call fcn.004d1d15
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004d158d
add esp, 0x268
ret 0x10