Function at 0x64dc10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
call fcn.00406d68
xor eax, eax
push ebp
push 0x64dfcc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00406dd4
mov eax, dword [ebp - 8]
mov edx, 0x64dfe0
mov cl, 0x20
call fcn.00403f40
je 0x64dca1
cmp dword [ebp - 0x24], 0
je 0x64dca1
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x100
jae 0x64dca1
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
mov edx, dword [ebp - 8]
and eax, 0xff
bt dword [edx], eax
jae 0x64dca1
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x7fffffff
mov edx, 2
mov eax, dword [ebp - 0x24]
call fcn.0040753c
cmp dword [ebp + 0xc], 0
jne 0x64dcb6
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp + 0xc]
call fcn.00406f3c
mov eax, dword [ebp + 0xc]
call fcn.0064db4c
test eax, eax
jl 0x64df88
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
call fcn.0064dbcc
mov eax, dword [ebp - 8]
mov edx, 0x64dfe0
mov cl, 0x20
call fcn.00403f40
jne 0x64dcf6
mov byte [ebp - 0x2a], 1
jmp 0x64dd2d
cmp dword [ebp - 0x1c], 0
je 0x64dd23
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x100
jae 0x64dd18
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov edx, dword [ebp - 8]
and eax, 0xff
bt dword [edx], eax
jb 0x64dd1c
xor eax, eax
jmp 0x64dd1e
mov al, 1
mov byte [ebp - 0x29], al
jmp 0x64dd27
mov byte [ebp - 0x29], 0
mov al, byte [ebp - 0x29]
mov byte [ebp - 0x2a], al
cmp byte [ebp - 0x2a], 0
je 0x64df7c
mov eax, dword [ebp - 8]
mov edx, 0x64dfe0
mov cl, 0x20
call fcn.00403f40
je 0x64dd76
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x100
jae 0x64dd76
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov edx, dword [ebp - 8]
and eax, 0xff
bt dword [edx], eax
jae 0x64dd76
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.0040760c
cmp byte [ebp + 8], 0
je 0x64ddc1
mov edx, dword [ebp - 0x1c]
mov eax, 0x64e00c
call fcn.004078ac
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x64dda9
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040753c
jmp 0x64ddd7
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x7fffffff
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040753c
jmp 0x64ddd7
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x7fffffff
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040753c
cmp byte [ebp - 9], 0
je 0x64deb2
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
call fcn.00406dd4
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
call fcn.00406dd4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x64de1d
mov eax, dword [ebp - 0x3c]
sub eax, 0xa
cmp word [eax], 2
je 0x64de1d
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
call fcn.00405d84
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x64de34
mov eax, dword [ebp - 0x40]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x64de5a
mov eax, dword [ebp - 0x44]
sub eax, 0xa
cmp word [eax], 2
je 0x64de5a
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x34]
call fcn.00405d84
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x64de71
mov eax, dword [ebp - 0x48]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00406e0c
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW_1
sub eax, 2
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x64df7c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x64df8f
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
call fcn.00406dd4
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x24]
call fcn.00406dd4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x64deee
mov eax, dword [ebp - 0x58]
sub eax, 0xa
cmp word [eax], 2
je 0x64deee
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
call fcn.00405d84
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x64df05
mov eax, dword [ebp - 0x5c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x64df2b
mov eax, dword [ebp - 0x60]
sub eax, 0xa
cmp word [eax], 2
je 0x64df2b
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x50]
call fcn.00405d84
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x64df42
mov eax, dword [ebp - 0x64]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x50]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x4c]
call fcn.00406e0c
push eax
push 0
push 0x400
call sub.kernel32.dll_CompareStringW_1
sub eax, 2
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x64df7c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x64df8f
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x64dcd1
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64dfd3
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00406d78
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00406d78
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00406d78
lea eax, [ebp + 0xc]
call fcn.00406d70
ret