Function at 0x10005ac0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10005add
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0xc]
add eax, 0xffffff9b
cmp eax, 0xa
ja case.0x10005aec.106
jmp dword [eax*4 + 0x10005d0c]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
push eax
lea edx, [ecx + edi + 0x20]
mov ecx, dword [edi + 8]
push edx
lea eax, [edi + 0x20]
push ecx
call fcn.10004a60
add esp, 0xc
mov esi, eax
jmp 0x10005cb7
mov edx, dword [edi + 8]
lea eax, [edi + 0x18]
push edx
call fcn.10004b00
add esp, 4
mov esi, eax
jmp 0x10005cb7
mov eax, dword [edi + 8]
push 0x864
push 0
push eax
mov ebx, 0x10013de0
call fcn.10004720
add esp, 0xc
mov esi, eax
jmp 0x10005cb7
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10005b99
mov esi, dword [edi + 8]
push 0x1c
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10005b92
mov ecx, dword [0x1001461c]
mov dword [eax], ecx
mov edx, dword [0x10014620]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0x10], 4
mov dword [eax + 0xc], 0x1f5
mov dword [eax + 0x18], 0xd
mov esi, eax
jmp 0x10005cb7
mov edx, dword [edi + 8]
lea eax, [eax + edi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
push edx
call fcn.10004c30
add esp, 8
mov esi, eax
jmp 0x10005cb7
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x10]
push ecx
mov ecx, dword [edi + 0x18]
sub eax, 4
lea edx, [edi + 0x1c]
call fcn.10005550
add esp, 4
mov esi, eax
jmp 0x10005cb7
mov edx, dword [edi + 8]
lea esi, [edi + 0x18]
push edx
call fcn.100054b0
add esp, 4
mov esi, eax
jmp 0x10005cb7
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
lea eax, [edi + 0x1c]
push eax
mov eax, dword [edi + 8]
sub ecx, 4
push ecx
push edx
push eax
call fcn.10005380
add esp, 0x10
mov esi, eax
jmp 0x10005cb7
mov ecx, dword [edi + 8]
push ecx
call fcn.10005760
add esp, 4
mov esi, eax
jmp 0x10005cb7
lea edx, [ebp - 4]
push edx
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov eax, dword [ebp - 4]
dec eax
je 0x10005c96
sub eax, 3
je 0x10005c83
mov esi, dword [edi + 8]
push 0x1c
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10005caa
mov ecx, dword [0x1001461c]
mov dword [eax], ecx
mov edx, dword [0x10014620]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0x10], 4
mov dword [eax + 0xc], 0x1f5
mov dword [eax + 0x18], 0x57
jmp 0x10005caa
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [edi + 8]
push eax
push ecx
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [ebx + 0xc]
jmp 0x10005ca2
mov eax, dword [edi + 8]
mov edx, dword [ebx]
push 0
push 0
push eax
xor ecx, ecx
call fcn.10004ed0
add esp, 0xc
mov esi, eax
test ebx, ebx
je 0x10005cb7
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
jne 0x10005d03
mov edi, dword [edi + 8]
push 0x1c
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10005d05
mov ecx, dword [0x1001461c]
mov dword [eax], ecx
mov edx, dword [0x10014620]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0x10], 4
mov dword [eax + 0xc], 0x1f5
mov dword [eax + 0x18], 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret