Function at 0x438da9
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x5a20d9
call fcn.00598680
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x44], 0
push 0x44
pop edi
push edi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa4]
push 0
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], esi
call fcn.00442fd0
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0x60]
push 0x10
xor edi, edi
push edi
push eax
call fcn.00442fd0
add esp, 0x18
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
call fcn.00426780
test al, al
je 0x438e48
pop esp
push edi
pop esi
pop esp
pop edx
push ebp
push ebp
pop edx
pop edx
pop ebp
pop edi
push edi
pop edx
pop eax
pop ecx
push esp
push ebp
push ebp
push ebp
push edx
pop esi
pop edi
push eax
pop ebp
pop edi
pop ebx
push ebx
pop edx
push eax
pop esi
pop edx
pop esi
mov ebx, dword [ebp - 0x48]
xor edi, edi
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x438e66
cmp word [esi], di
jne 0x438e55
mov eax, edi
jmp 0x438e5c
push esi
call fcn.0045329b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402400
cmp dword [ebp - 0x30], 0
jne 0x438e88
cmp word [ebx], di
jne 0x438e75
mov eax, edi
jmp 0x438e7c
push ebx
call fcn.0045329b
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402400
jmp 0x438edd
mov esi, 0x5a54f4
push esi
call fcn.0045329b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402400
cmp word [ebx], di
jne 0x438ea7
mov eax, edi
jmp 0x438eae
push ebx
call fcn.0045329b
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404910
mov esi, 0x5a54f8
push esi
call fcn.0045329b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404910
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404800
call fcn.00426963
test al, al
je 0x438eff
pop esi
pop eax
push esp
pop edx
pop esi
push edx
pop ebp
push eax
push esp
pop ebx
push edi
pop edx
push ebp
pop eax
push edi
push esp
push edi
pop esp
pop edi
pop esi
push esp
pop edi
pop esi
pop ebp
push ebx
call fcn.0042684f
test al, al
je 0x438f1e
pop ebx
pop eax
push ebp
pop esi
push ebx
pop eax
push edx
push ecx
pop edx
push esi
pop edx
pop eax
push eax
push esp
pop ecx
pop esp
pop edi
pop ecx
push ecx
pop ebx
pop esp
push esp
call fcn.004268d9
test al, al
je 0x438f46
push ecx
push ebx
push ebx
pop edi
pop edx
pop ecx
pop edi
push ecx
pop esp
push esi
pop edx
push ecx
push edx
pop eax
push edx
pop esi
pop esi
push ebx
push edi
push edi
pop edx
pop edi
push ecx
pop ebx
push esp
pop edx
pop esi
pop eax
push edx
pop ebx
push edx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.0042cdf9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
pop ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x438f8d
mov esi, ebx
jmp 0x439017
cmp byte [ebp + 0x10], bl
je 0x438fa6
cmp dword [ebp + 0x14], ebx
push 0xffffffffffffffff
pop eax
cmovg eax, dword [ebp + 0x14]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x438fc3
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x438fc3
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
call fcn.00426a32
test al, al
je 0x438fe6
push eax
push ebp
push ebp
push edi
push esp
push esp
push edx
push esp
pop eax
pop esi
push esp
push edi
pop eax
push esi
pop ebp
pop edi
push ebp
push ecx
push eax
push esp
push esi
push ebx
push ebx
push edx
push ecx
pop ebp
call fcn.0042691e
test al, al
je 0x439004
push esi
pop edi
push eax
push ecx
push esi
push esi
pop ecx
push esi
pop ecx
push eax
push edx
push eax
pop ebp
pop esi
push eax
pop ecx
pop esp
pop edi
push eax
pop edx
pop edx
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
xor esi, esi
inc esi
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00427631
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00427631
mov eax, esi
call fcn.0059863b
ret