Function at 0x4360e0
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x15c
mov esi, dword [esp + 0x170]
cmp dword [esi + 0x10230], 0
je 0x4365c4
mov edi, dword [esp + 0x174]
lea eax, [esi + 0x10066]
sub esp, 0xc
push eax
call sub.KERNEL32.DLL_GetSystemTime
add esp, 0xc
mov dword [esi + 0x100c6], 0
mov dword [esi + 0x100c2], 0
mov dword [esi + 0x100be], 0
mov dword [esi + 0x100ba], 0
mov dword [esi + 0x100b6], 0
mov dword [esi + 0x100b2], 0
mov dword [esi + 0x100ae], 0
mov dword [esi + 0x100aa], 0
mov dword [esi + 0x100a6], 0
mov dword [esi + 0x100a2], 0
mov dword [esi + 0x1009e], 0
mov dword [esi + 0x1009a], 0
test edi, edi
je 0x4361a8
lea eax, [esi + 0x1009a]
sub esp, 4
push 0x30
push edi
push eax
call fcn.00807188
add esp, 0x10
lea ebx, [esi + 0x10000]
lea eax, [esi + 0x100ca]
mov dword [esi + 0x100f6], 0
mov dword [esi + 0x100f2], 0
mov dword [esi + 0x100ee], 0
mov dword [esi + 0x100ea], 0
mov dword [esi + 0x100e6], 0
mov dword [esi + 0x100e2], 0
mov dword [esi + 0x100de], 0
mov dword [esi + 0x100da], 0
mov dword [esi + 0x100d6], 0
mov dword [esi + 0x100d2], 0
mov dword [esi + 0x100ce], 0
mov dword [esi + 0x100ca], 0
lea ecx, [esi + 0x10264]
sub esp, 4
push 0x30
push ecx
push eax
call fcn.00807188
add esp, 0x10
sub esp, 4
push 0
push 0
push dword [esi + 0x10230]
call fcn.00808fac
add esp, 0x10
mov eax, dword [esi + 0x104b8]
cmp eax, 1
je 0x43636b
cmp eax, 2
je 0x436461
lea eax, [esi + 0x10102]
mov dword [esp], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x1010a], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi + 0x10106], ecx
mov dword [esi + 0x10102], eax
mov eax, dword [esi + 0x1000c]
mov ecx, dword [esi + 0x10010]
mov dword [esi + 0x1010e], eax
mov dword [esi + 0x10112], ecx
mov eax, dword [esi + 0x10014]
mov dword [esi + 0x10116], eax
mov eax, dword [esi + 0x10018]
mov dword [esi + 0x1011a], eax
mov eax, dword [esi + 0x1001c]
mov dword [esi + 0x1011e], eax
mov eax, dword [esi + 0x10020]
mov dword [esi + 0x10122], eax
lea eax, [esi + 0x10126]
lea ecx, [esi + 0x1004e]
sub esp, 4
push 0xac
push ecx
push eax
call fcn.008075c0
add esp, 0x10
mov eax, dword [esi + 0x100fa]
mov ecx, dword [esi + 0x100fe]
mov dword [esi + 0x101d6], ecx
mov dword [esi + 0x101d2], eax
mov ecx, dword [esi + 0x104a4]
mov edx, dword [esi + 0x104a0]
mov eax, edx
add eax, 0xd0
mov ebx, ecx
adc ebx, 0
xor ebp, ebp
mov edi, 0xffffff27
cmp edi, edx
sbb ebp, ecx
mov dword [esi + 0x104a0], eax
mov dword [esi + 0x104a4], ebx
mov ecx, 0xfffffff8
jl 0x436347
mov ecx, eax
mov dword [esi + 0x10106], ecx
push dword [esi + 0x10230]
push 1
push 0xd8
push dword [esp + 0xc]
call fcn.008091c4
add esp, 0x10
jmp 0x436461
lea eax, [esi + 0x101da]
mov dword [esp], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x101e2], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi + 0x101de], ecx
mov dword [esi + 0x101da], eax
mov eax, dword [esi + 0x1000c]
mov ecx, dword [esi + 0x10010]
mov dword [esi + 0x101e6], eax
mov dword [esi + 0x101ea], ecx
mov eax, dword [esi + 0x10014]
mov dword [esi + 0x101ee], eax
mov eax, dword [esi + 0x10018]
mov dword [esi + 0x101f2], eax
mov eax, dword [esi + 0x1001c]
mov dword [esi + 0x101f6], eax
mov eax, dword [esi + 0x10020]
mov dword [esi + 0x101fa], eax
lea eax, [esi + 0x101fe]
lea ecx, [esi + 0x10024]
sub esp, 4
push 0x2a
push ecx
push eax
call fcn.008075c0
add esp, 0x10
mov eax, dword [esi + 0x100fa]
mov ecx, dword [esi + 0x100fe]
mov dword [esi + 0x1022c], ecx
mov dword [esi + 0x10228], eax
mov ecx, dword [esi + 0x104a4]
mov edx, dword [esi + 0x104a0]
mov eax, edx
add eax, 0x4e
mov ebx, ecx
adc ebx, 0
mov ebp, 0xffffff27
add ebp, 0x82
xor edi, edi
cmp ebp, edx
sbb edi, ecx
mov dword [esi + 0x104a0], eax
mov dword [esi + 0x104a4], ebx
mov ecx, 0xfffffff8
jl 0x436445
mov ecx, eax
mov dword [esi + 0x10106], ecx
push dword [esi + 0x10230]
push 1
push 0x56
push dword [esp + 0xc]
call fcn.008091c4
add esp, 0x10
mov byte [esi + 0x1009a], 0
sub esp, 0xc
push dword [esi + 0x10230]
call fcn.008089ac
add esp, 0x10
mov dword [esi + 0x10230], 0
mov dword [esi + 0x104a4], 0
mov dword [esi + 0x104a0], 0
cmp byte [esi + 0x10398], 0
je 0x4365c4
lea eax, [esi + 0x10398]
lea ecx, [esi + 0x10294]
lea edx, [esi + 0x10234]
sub esp, 8
lea esi, [esp + 0x60]
push edx
push ecx
push eax
push str._s___s_s_
push 0x104
push esi
call fcn.00809fc0
add esp, 0x20
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x44
mov dword [esp + 0x40], 1
mov word [esp + 0x44], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call sub.KERNEL32.DLL_CreateProcessA
add esp, 8
sub esp, 0xc
push dword [esp + 0x10]
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
sub esp, 0xc
push dword [esp + 0x14]
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
add esp, 0x15c
pop esi
pop edi
pop ebx
pop ebp
ret