Function at 0x524110
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
xor ebx, ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5243b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x7c]
mov edx, 0x44
call fcn.0042a710
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], 1
mov dword [ebp - 0x50], 1
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00406a04
cmp dword [ebp - 0x24], 0
je 0x5241b8
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x22
je 0x5241b8
push 0x5243d0
push dword [ebp - 0x24]
push 0x5243d0
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00407540
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5243e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.0042afa0
mov eax, dword [ebp - 0x28]
call fcn.004072c8
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
je 0x5241ed
mov eax, dword [ebp - 0xc]
call fcn.004072c8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
call fcn.004065f8
mov eax, dword [ebp + 0xc]
call fcn.00408468
test eax, eax
jl 0x524232
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
push dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
push dword [eax + edx*4]
push 0x5243f0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00407540
inc dword [ebp - 0x34]
dec dword [ebp - 0x38]
jne 0x52420c
lea eax, [ebp - 0x30]
mov edx, 0x5243f0
call fcn.00407460
mov eax, dword [ebp - 0x30]
call fcn.004072c8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x8c]
mov edx, 0x10
call fcn.0042a710
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x404
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x5242cf
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x18]
call fcn.00407320
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x524400
call fcn.004074b8
mov edx, dword [ebp - 0x90]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00435260
jmp 0x524387
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
call fcn.00407320
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x52443c
call fcn.004074b8
mov edx, dword [ebp - 0x98]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00435260
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x8c]
mov dword [eax], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x524321
mov dword [ebp - 0x10], 0x2a
mov edx, dword [0x590d6c]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x52446c
call fcn.004074b8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
call fcn.004afb40
test al, al
je 0x52435c
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x52448c
call fcn.00435260
jmp 0x52436f
mov eax, dword [0x590ea0]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x5244b4
call fcn.00435260
mov eax, dword [ebp - 0x88]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 0x88]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5243b9
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.00406658
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00406658
ret