Function at 0x439741
Capabilities:
Create process on windows
Resume thread
Suspend thread
Terminate process

Disassembly:
push 0x100
mov eax, 0x4df737
call fcn.004bf1fc
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x7c], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
xor eax, eax
lea edi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 7
stosd dword es:[edi], eax
pop esi
xor ecx, ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x18], esi
call fcn.00401870
xor edi, edi
mov dword [ebp - 4], edi
xor ecx, ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], esi
call fcn.00401870
push dword [ebp - 0x88]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x148]
mov byte [ebp - 4], 1
call fcn.00436ca6
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 2
call fcn.00449d95
add esp, 0xc
call fcn.00445510
cmp eax, 5
jbe 0x439882
call fcn.00430678
test al, al
jne 0x439882
mov edx, 0x4f3250
lea eax, [ebp - 0xc0]
mov edi, 0x4ec958
call fcn.004074b0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
jae 0x439807
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0xa4]
call fcn.004074b0
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0xa4]
call fcn.0042f34d
mov ebx, eax
neg ebx
sbb bl, bl
lea esi, [ebp - 0xa4]
inc bl
call fcn.00401650
lea esi, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.00401650
test bl, bl
je 0x43984e
mov edi, str.runas
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x43985a
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x439866
lea eax, [ebp - 0x2c]
push 0
push 0
push ecx
push eax
push edi
lea esi, [ebp - 0x7c]
call fcn.004305f7
mov ebx, dword [ebp - 0x84]
add esp, 0x14
xor edi, edi
jmp 0x4398db
push 0x40
lea eax, [ebp - 0x108]
push edi
push eax
mov dword [ebp - 0x10c], 0x44
call fcn.004b9920
or dword [ebp - 0xe0], 0x81
mov eax, dword [ebp - 0x64]
add esp, 0xc
cmp dword [ebp - 0x50], 8
mov word [ebp - 0xdc], di
jae 0x4398bb
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x10c]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
dec eax
neg eax
sbb al, al
inc al
test al, al
je 0x4399a3
cmp dword [ebp - 0x7c], edi
je 0x4399a3
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x439958
mov eax, dword [ebx + 0x114]
cmp eax, edi
je 0x439958
mov eax, dword [eax + 0xc]
push edi
push dword [eax]
mov byte [ebp - 0x69], 0
call esi
test eax, eax
je 0x439920
cmp dword [ebp - 0x78], edi
je 0x439920
push dword [ebp - 0x78]
mov byte [ebp - 0x69], 1
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebx + 0x114]
call fcn.00434411
cmp byte [ebp - 0x69], 0
je 0x43993f
cmp dword [ebp - 0x78], edi
je 0x43993f
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, byte [ebx + 0x110]
test al, al
jne 0x439990
mov ecx, dword [ebx + 0x114]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
jne 0x439990
push 0x64
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x4398f4
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
lea esi, [ebp - 0x68]
setne bl
call fcn.00401650
lea esi, [ebp - 0x4c]
call fcn.00401650
lea esi, [ebp - 0x30]
call fcn.00401650
mov al, bl
jmp 0x4399bd
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x68]
call fcn.00401650
lea esi, [ebp - 0x4c]
call fcn.00401650
lea esi, [ebp - 0x30]
call fcn.00401650
xor al, al
call fcn.004bf27f
ret 0xc