Function at 0x1005cae6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e12d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov esi, ebx
mov byte [eax], 0
call fcn.10065217
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.100270b4
xor esi, esi
lea edi, [esp + 0x70]
lea eax, [esp + 0x58]
mov dword [esp + 0x88], esi
call fcn.1005eede
mov byte [esp + 0x88], 1
cmp dword [esp + 0x5c], esi
jle 0x1005cb96
mov edi, dword [esp + 0x58]
mov byte [esp + 0x17], 0
test esi, esi
js 0x1005cf83
cmp esi, dword [esp + 0x5c]
jge 0x1005cf83
lea eax, [esp + 0x17]
push eax
push edi
mov eax, ebx
call fcn.100651c2
inc esi
add edi, 4
cmp esi, dword [esp + 0x5c]
jl 0x1005cb6d
push 0x1000c7fc
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f], 0
call fcn.1005e2c8
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, ebx
mov byte [esp + 0x90], 2
call fcn.100651c2
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
push 0x100036c8
lea eax, [esp + 0x20]
push eax
call fcn.1005e2c8
lea eax, [esp + 0x1c]
push eax
mov esi, ebx
call fcn.1006525c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
xor esi, esi
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], esi
jle 0x1005cdf1
mov ecx, dword [ebp + 0xc]
lea esi, [esp + 0x44]
call fcn.1002ea4e
mov byte [esp + 0x88], 3
mov eax, dword [eax + 4]
sub eax, 0x10
call fcn.10082a9f
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10082afb
push 0x10003778
lea eax, [esp + 0x1c]
push eax
call fcn.1005e562
test eax, eax
jne 0x1005cc95
push 0x100036c8
lea eax, [esp + 0x28]
push eax
call fcn.1005e2c8
lea edi, [esp + 0x18]
mov byte [esp + 0x88], 6
call fcn.1005e434
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [esp + 0x18]
push eax
mov esi, ebx
call fcn.1006525c
cmp eax, 0xffffffff
je 0x1005cf88
cmp eax, dword [esp + 0x28]
je 0x1005cf88
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1b], 1
call fcn.1006525c
mov esi, eax
cmp esi, 0xffffffff
je 0x1005ccef
mov eax, dword [ebx]
lea eax, [eax + esi*4]
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082afb
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, esi
call fcn.100696ec
mov ebx, edi
mov esi, dword [ebp + 0x14]
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
call fcn.10026c64
test al, al
je 0x1005cdc8
push 0x10012fc8
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x20]
call fcn.1005ec33
push 0x10012f68
lea ecx, [esp + 0x38]
push ecx
mov edi, eax
mov byte [esp + 0x90], 9
call fcn.1005ebdd
mov byte [esp + 0x88], 0xa
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push 0
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10082afb
push 0x10012f5c
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x20]
call fcn.1005ec33
push 0x10013010
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
mov byte [esp + 0x90], 0xb
call fcn.1005ebdd
mov byte [esp + 0x88], 0xc
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push 7
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x20]
jl 0x1005cc14
xor esi, esi
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov edi, dword [ebp + 0x10]
mov byte [esp + 0x88], 0xe
mov dword [esp + 0x18], esi
cmp dword [edi + 8], esi
jle 0x1005ce69
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x44]
mov ecx, edi
call fcn.1002ea4e
lea ebx, [eax + 4]
lea esi, [esp + 0x4c]
mov byte [esp + 0x88], 0xf
call fcn.1005ef43
mov byte [esp + 0x88], 0xe
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10082afb
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 8]
jl 0x1005ce25
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x6c]
call fcn.10027a7e
test al, al
jne 0x1005cf41
push 0x10013070
lea eax, [esp + 0x40]
push eax
lea edi, [esp + 0x24]
call fcn.1005ec33
mov esi, 0x10013064
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0x90], 0x10
call fcn.1005ebdd
mov ebx, dword [ebp + 0x14]
mov byte [esp + 0x88], 0x11
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
push 0
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x88], 0xe
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10082afb
push 0x100130dc
lea eax, [esp + 0x40]
push eax
lea edi, [esp + 0x24]
call fcn.1005ec33
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0x90], 0x12
call fcn.1005ebdd
mov byte [esp + 0x88], 0x13
push dword [eax]
mov edx, dword [ebx]
push 7
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp + 8]
mov byte [eax], 1
lea esi, [esp + 0x4c]
call fcn.1006dcf6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
lea esi, [esp + 0x58]
call fcn.1006dcf6
lea ecx, [esp + 0x64]
call fcn.1002740a
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.1008132d
test eax, eax
jne 0x1005ccef
push 0x10012f5c
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x20]
call fcn.1005ec33
push 0x10012eb8
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
mov byte [esp + 0x90], 7
call fcn.1005ebdd
mov esi, dword [ebp + 0x14]
mov byte [esp + 0x88], 8
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push 4
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10082afb
jmp 0x1005ccf2