Function at 0x1005db25
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a1466
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
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.1006f068
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.10026b5d
xor esi, esi
lea edi, [esp + 0x70]
lea eax, [esp + 0x58]
mov dword [esp + 0x88], esi
call fcn.10060030
mov byte [esp + 0x88], 1
cmp dword [esp + 0x5c], esi
jle 0x1005dbd5
mov edi, dword [esp + 0x58]
mov byte [esp + 0x17], 0
test esi, esi
js 0x1005dfc2
cmp esi, dword [esp + 0x5c]
jge 0x1005dfc2
lea eax, [esp + 0x17]
push eax
push edi
mov eax, ebx
call fcn.10066497
inc esi
add edi, 4
cmp esi, dword [esp + 0x5c]
jl 0x1005dbac
push 0x1000c744
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f], 0
call fcn.1005f361
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, ebx
mov byte [esp + 0x90], 2
call fcn.10066497
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
push 0x100036c4
lea eax, [esp + 0x20]
push eax
call fcn.1005f361
lea eax, [esp + 0x1c]
push eax
mov esi, ebx
call fcn.10062538
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
xor esi, esi
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], esi
jle 0x1005de30
mov ecx, dword [ebp + 0xc]
lea esi, [esp + 0x44]
call fcn.1002eba7
mov byte [esp + 0x88], 3
mov eax, dword [eax + 4]
sub eax, 0x10
call fcn.10084ad6
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10084b37
push 0x10003774
lea eax, [esp + 0x1c]
push eax
call fcn.1005f623
test eax, eax
jne 0x1005dcd4
push 0x100036c4
lea eax, [esp + 0x28]
push eax
call fcn.1005f361
lea edi, [esp + 0x18]
mov byte [esp + 0x88], 6
call fcn.1005f4dc
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [esp + 0x18]
push eax
mov esi, ebx
call fcn.10062538
cmp eax, 0xffffffff
je 0x1005dfc7
cmp eax, dword [esp + 0x28]
je 0x1005dfc7
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1b], 1
call fcn.10062538
mov esi, eax
cmp esi, 0xffffffff
je 0x1005dd2e
mov eax, dword [ebx]
lea eax, [eax + esi*4]
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084b37
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, esi
call fcn.1006ac11
mov ebx, edi
mov esi, dword [ebp + 0x14]
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
call fcn.100266fe
test al, al
je 0x1005de07
push 0x10012c88
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x20]
call fcn.1005fd4e
push 0x10012c28
lea ecx, [esp + 0x38]
push ecx
mov edi, eax
mov byte [esp + 0x90], 9
call fcn.1005fcf3
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.10084b37
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10084b37
push 0x10012c1c
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x20]
call fcn.1005fd4e
push 0x10012cd0
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
mov byte [esp + 0x90], 0xb
call fcn.1005fcf3
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.10084b37
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x20]
jl 0x1005dc53
xor esi, esi
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
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 0x1005dea8
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x44]
mov ecx, edi
call fcn.1002eba7
lea ebx, [eax + 4]
lea esi, [esp + 0x4c]
mov byte [esp + 0x88], 0xf
call fcn.100600d0
mov byte [esp + 0x88], 0xe
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10084b37
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 8]
jl 0x1005de64
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x6c]
call fcn.10027577
test al, al
jne 0x1005df80
push 0x10012d30
lea eax, [esp + 0x40]
push eax
lea edi, [esp + 0x24]
call fcn.1005fd4e
mov esi, 0x10012d24
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0x90], 0x10
call fcn.1005fcf3
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.10084b37
mov byte [esp + 0x88], 0xe
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10084b37
push 0x10012d9c
lea eax, [esp + 0x40]
push eax
lea edi, [esp + 0x24]
call fcn.1005fd4e
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0x90], 0x12
call fcn.1005fcf3
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.10084b37
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp + 8]
mov byte [eax], 1
lea esi, [esp + 0x4c]
call fcn.10072bbb
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
lea esi, [esp + 0x58]
call fcn.10072bbb
lea ecx, [esp + 0x64]
call fcn.10026eb8
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.10083247
test eax, eax
jne 0x1005dd2e
push 0x10012c1c
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x20]
call fcn.1005fd4e
push 0x10012b78
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
mov byte [esp + 0x90], 7
call fcn.1005fcf3
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.10084b37
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10084b37
jmp 0x1005dd31