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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2f4e
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.10021b60
movzx eax, al
test eax, eax
je 0x1003a48e
mov byte [ebp - 0xa1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.1000c290
mov al, byte [ebp - 0xa1]
jmp 0x1003a71c
lea ecx, [ebp + 8]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x40]
call fcn.10007e50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
call fcn.10039360
add esp, 4
movzx edx, al
test edx, edx
jne 0x1003a4c2
mov dword [ebp - 0xac], 1
jmp 0x1003a4cc
mov dword [ebp - 0xac], 0
mov al, byte [ebp - 0xac]
mov byte [ebp - 0xa2], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1000c290
movzx ecx, byte [ebp - 0xa2]
test ecx, ecx
je 0x1003a51c
mov byte [ebp - 0xa3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.1000c290
mov al, byte [ebp - 0xa3]
jmp 0x1003a71c
lea ecx, [ebp - 0x28]
call fcn.1002d970
mov byte [ebp - 4], 3
mov dword [ebp - 0x120], 0x44
push 0x40
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.1009ee30
add esp, 0xc
mov dword [ebp - 0xf4], 1
mov eax, 1
mov word [ebp - 0xf0], ax
lea ecx, [ebp + 0x20]
push ecx
push 0x100cdf68
push 0x100cdf6c
lea edx, [ebp + 8]
push edx
push 0x100cdf70
lea eax, [ebp - 0xa0]
push eax
call fcn.1002c1d0
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xb4]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xbc]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xc4]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10036040
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1002e250
lea ecx, [ebp - 0x58]
call fcn.1000c290
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.1000c290
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.1000c290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.1000c290
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xd8], 0
jne 0x1003a6b9
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.1000c290
mov al, byte [ebp - 0xa4]
jmp 0x1003a71c
cmp dword [ebp + 0x38], 0
je 0x1003a6ce
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xa5], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.1000c290
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret