Function at 0x100659d3
Capabilities:
Accept command line arguments

Disassembly:
push 0x6c
mov eax, 0x100afbf0
call fcn.100a4ea8
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x14]
mov ecx, ebx
mov byte [eax], 0
call fcn.1006aa69
mov edi, dword [ebp + 8]
mov edi, dword [edi + 8]
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x78]
call fcn.1002e64e
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x60]
call fcn.1006e68a
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5c], esi
jle 0x10065a43
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.1006ad19
push eax
mov ecx, ebx
call fcn.1006b85c
inc esi
cmp esi, dword [ebp - 0x5c]
jl 0x10065a28
push 0x1000fdac
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], 0
call fcn.1006f372
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1006b85c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
push 0x100070f4
lea ecx, [ebp - 0x14]
call fcn.1006f372
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1006b826
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x28], eax
call fcn.1008e3f5
xor eax, eax
mov dword [ebp - 0x20], eax
test edi, edi
jle 0x10065cac
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10036717
mov byte [ebp - 4], 3
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.1008e35d
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
push 0x100071a4
lea ecx, [ebp - 0x14]
call fcn.1006f0b1
test eax, eax
jne 0x10065b17
push 0x100070f4
lea ecx, [ebp - 0x24]
call fcn.1006f372
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.1006f1e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1006b826
cmp eax, 0xffffffff
je 0x10065b61
cmp eax, dword [ebp - 0x28]
je 0x10065b61
lea eax, [ebp - 0x14]
mov byte [ebp - 0xd], 1
push eax
mov ecx, ebx
call fcn.1006b826
mov edi, eax
cmp edi, 0xffffffff
je 0x10065bc0
mov ecx, dword [ebx]
mov ecx, dword [ecx + edi*4]
sub ecx, 0x10
call fcn.1008e3f5
lea eax, [ebp - 0xd]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.10071a31
jmp 0x10065bc0
test eax, eax
jne 0x10065bc3
lea eax, [ebp - 0x14]
mov edx, 0x10016b34
push eax
lea ecx, [ebp - 0x30]
call fcn.1006e932
push 0x10016a90
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.1006e98e
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 8
push dword [eax]
mov ecx, dword [ecx]
push 4
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x100cf608]
mov ecx, dword [ebp + 0x10]
call edi
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov edi, dword [ebp - 0x18]
push 0
push esi
lea ecx, [ebp - 0x74]
call fcn.1002e1ff
test al, al
je 0x10065c91
lea eax, [ebp - 0x14]
mov edx, 0x10016ba0
push eax
lea ecx, [ebp - 0x38]
call fcn.1006e932
push 0x10016b40
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.1006e98e
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0xa
push dword [eax]
mov ecx, dword [ecx]
push 0
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x100cf608]
mov ecx, dword [ebp + 0x10]
call edi
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
lea eax, [ebp - 0x14]
mov edx, 0x10016b34
push eax
lea ecx, [ebp - 0x40]
call fcn.1006e932
push 0x10016be8
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3c]
call fcn.1006e98e
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0xc
push dword [eax]
mov ecx, dword [ecx]
push 7
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x100cf608]
mov ecx, dword [ebp + 0x10]
call edi
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov byte [eax], 1
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.1008e3f5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, edi
jl 0x10065aa9
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x18]
call fcn.1008df96
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp + 0xc]
mov esi, eax
mov byte [ebp - 4], 0xe
cmp dword [edi + 8], esi
jle 0x10065d04
push esi
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.10036717
add eax, 4
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x54]
call fcn.1006e4ef
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
inc esi
cmp esi, dword [edi + 8]
jl 0x10065cd3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x78]
call fcn.1002f065
test al, al
jne 0x10065dcc
lea eax, [ebp - 0x18]
mov edx, 0x10016c48
push eax
lea ecx, [ebp - 0x3c]
call fcn.1006e932
mov edi, 0x10016c3c
mov byte [ebp - 4], 0x10
push edi
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.1006e98e
mov ebx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x11
push dword [eax]
mov ecx, dword [ebx]
push 0
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x100cf608]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
lea eax, [ebp - 0x18]
mov edx, 0x10016cb4
push eax
lea ecx, [ebp - 0x3c]
call fcn.1006e932
push edi
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
call fcn.1006e98e
mov byte [ebp - 4], 0x13
mov edx, dword [ebx]
push dword [eax]
push 7
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x100cf608]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov eax, dword [ebp - 0x1c]
mov byte [eax], 1
lea ecx, [ebp - 0x54]
call fcn.100793b6
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
lea ecx, [ebp - 0x60]
call fcn.100793b6
lea ecx, [ebp - 0x78]
call fcn.1002e9d0
mov eax, dword [ebp - 0x1c]
call fcn.100a4e71
ret 0x10