Function at 0x1003c5fe
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x1017c9de
call fcn.10077149
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x44
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
pop esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa4]
push ebx
push eax
mov dword [ebp - 0x48], ebx
call fcn.10054b20
push 0x10
lea eax, [ebp - 0x60]
mov dword [ebp - 0xa4], esi
push ebx
push eax
call fcn.10054b20
add esp, 0x18
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
call fcn.1003d84c
test al, al
je 0x1003c691
pop ebx
pop edi
pop esp
push ebp
pop ebp
pop ebx
pop esi
pop edi
push esi
pop esp
pop ebx
pop edi
push edi
push edx
push esi
pop esp
pop edi
push edx
push ebp
push edi
push ecx
push eax
push esi
push edi
push ebx
push eax
push ebp
pop esi
push edx
push eax
call fcn.1003d807
test al, al
je 0x1003c6b2
push edx
push edi
push esi
push edx
pop ebp
push esp
push ebx
push ebp
pop esi
pop edi
pop esp
push eax
push ebp
pop ebx
push ecx
push ebx
pop esp
pop esp
pop esp
push ebp
pop esi
pop esi
push edi
push ebx
call fcn.1003d624
test al, al
je 0x1003c6d4
pop edi
push eax
pop eax
push ecx
pop ebp
push eax
push esp
push esp
push ecx
push edi
pop ecx
push esp
pop ebx
pop esp
pop ebp
pop edx
push ebx
pop ebp
push edi
pop ebx
pop esi
push esi
push esi
pop ebp
push eax
mov ebx, dword [ebp - 0x4c]
xor edi, edi
test ebx, ebx
je 0x1003c6f7
cmp word [ebx], di
jne 0x1003c6e6
mov eax, edi
jmp 0x1003c6ed
push ebx
call fcn.10064038
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.10020030
cmp dword [ebp - 0x30], 0
jne 0x1003c71c
mov ebx, dword [ebp - 0x44]
cmp word [ebx], di
jne 0x1003c709
mov eax, edi
jmp 0x1003c710
push ebx
call fcn.10064038
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.10020030
jmp 0x1003c774
mov esi, 0x1017f750
push esi
call fcn.10064038
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10020030
mov ebx, dword [ebp - 0x44]
cmp word [ebx], di
jne 0x1003c73e
mov eax, edi
jmp 0x1003c745
push ebx
call fcn.10064038
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.10021c90
mov esi, 0x1017f754
push esi
call fcn.10064038
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10021c90
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10021dc0
call fcn.1003d91b
test al, al
je 0x1003c79c
pop ebp
pop ebx
push ebp
pop ebx
pop esi
pop ebp
push edi
push edi
push ecx
push ecx
pop esp
push ecx
pop ebx
push esp
push ebp
push ebp
pop esp
pop eax
push ebp
push edi
push esi
push ebx
push edi
push ebp
push edx
pop ebp
pop esi
push eax
push esp
push ebx
pop edi
call fcn.1003d8d6
test al, al
je 0x1003c7b7
push ebx
push eax
push ebp
push ebx
push eax
push ecx
pop ecx
push edi
pop ebx
pop esi
pop esi
pop eax
push ebp
pop esp
pop esp
push esp
pop esp
pop esp
call fcn.1003d7c2
test al, al
je 0x1003c7dc
push edi
pop ebx
pop ebp
push ebp
push eax
pop ebp
push ebp
pop ebp
push esi
pop esi
pop edi
pop edx
push esi
push ebx
pop edx
push eax
push ebx
push edi
push edx
push ebp
pop edi
pop edi
push ecx
push edx
pop ebx
pop esi
pop edx
push ebp
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.10042518
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
xor edi, edi
pop ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1003c823
mov esi, edi
jmp 0x1003c8aa
cmp byte [ebp + 0x10], 0
je 0x1003c83d
cmp dword [ebp + 0x14], edi
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 0x1003c85a
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1003c85a
mov eax, dword [ebp - 0x48]
mov dword [esi], eax
call fcn.1003d4cb
test al, al
je 0x1003c873
push ebx
push edx
pop ebp
pop ebx
push ebp
pop ebx
pop eax
pop ebp
push ecx
pop ecx
push ecx
push edi
push esi
push ebp
pop ecx
push ebp
call fcn.1003d6ae
test al, al
je 0x1003c897
push ebp
pop esi
pop edx
pop eax
pop edi
pop eax
push ebx
pop ecx
push ebx
push edx
pop esi
push edi
pop esi
pop ebp
pop ebx
pop ebx
pop ecx
push edx
push edx
pop ebp
pop ebx
push ebp
pop eax
push ebp
pop esi
xor edi, edi
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 edi
push 1
lea ecx, [ebp - 0x40]
call fcn.1001ff70
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.1001ff70
mov eax, esi
call fcn.10077104
ret