Function at 0x639ae0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1058
call fcn.00725f60
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x1054], eax
push esi
mov esi, dword [esp + 0x1060]
push edi
mov edi, dword [esp + 0x1068]
test esi, esi
je 0x639d6e
test edi, edi
je 0x639d6e
push 4
push esi
call fcn.007252b5
add esp, 8
test eax, eax
je 0x639b43
pop edi
mov eax, 2
pop esi
mov ecx, dword [esp + 0x1054]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x1058
ret
cmp dword [esp + 0x1070], 0
je 0x639b78
push 0
push esi
call fcn.00612480
add esp, 8
test eax, eax
jne 0x639b78
pop edi
mov eax, 5
pop esi
mov ecx, dword [esp + 0x1054]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x1058
ret
call fcn.00635500
test al, al
jne 0x639cab
call fcn.006350c0
test eax, eax
je 0x639cab
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.007202b0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dx, word [esp + 0x106c]
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x66]
push ecx
mov dword [esp + 0x50], 1
mov word [esp + 0x54], dx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x68], ax
call fcn.007202b0
add esp, 0xc
cmp word [edi], 0
je 0x639c11
push edi
push esi
lea edx, [esp + 0x64]
push 0x80e514
push edx
call fcn.0056c290
add esp, 0x10
jmp 0x639c24
push esi
lea eax, [esp + 0x60]
push 0x80e548
push eax
call fcn.0056c290
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x7c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x639d50
xor esi, esi
cmp dword [esp + 0x1074], esi
je 0x639c77
mov ecx, dword [esp + 0x1080]
mov edx, dword [esp + 0x107c]
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.00638f00
add esp, 0xc
test eax, eax
jne 0x639c7e
lea esi, [eax + 3]
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1054]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x1058
ret
push 0x38
lea eax, [esp + 0x20]
push 0
push eax
call fcn.007202b0
mov ecx, dword [esp + 0x1078]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], 0x140
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], str.runas
call sub.SHELL32.dll_ShellExecuteExW
test eax, eax
je 0x639d50
xor esi, esi
cmp dword [esp + 0x1074], esi
je 0x639d25
mov eax, dword [esp + 0x1080]
mov ecx, dword [esp + 0x107c]
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
call fcn.00638f00
add esp, 0xc
test eax, eax
jne 0x639d2c
lea esi, [eax + 3]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1054]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x1058
ret
mov esi, 4
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1054]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x1058
ret
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0071fe0b
add esp, 0x1058
ret