Function at 0x10065b1e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10065daa
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10065bde
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10065b8c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xffffffea
je 0x10065bd9
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10065bc0
push 0x2433
push 1
push 0x50ae
push 1
push 0x4eea
push 0x2c1d
call fcn.1005c6e2
add esp, 0x18
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x10065bd7
push 1
push 1
call fcn.1005ca66
pop ecx
pop ecx
jmp 0x10065b81
jmp 0x10065da8
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0x42a8
mov dword [ebp - 0x5c], 0x1000d808
cmp dword [ebp - 0x1c], 0x437a
jle 0x10065ca1
and dword [ebp - 0x10], 0
jmp 0x10065c0c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5b6c
jge 0x10065ca1
and dword [ebp - 8], 0
jmp 0x10065c26
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1efd
jge 0x10065c9c
and dword [ebp - 0xc], 0
jmp 0x10065c3c
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x4d02
jge 0x10065c9a
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xa8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.100252df
jmp 0x10065c35
jmp 0x10065c1f
jmp 0x10065c05
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x1c], 0x4108
jge 0x10065cb9
push dword [ebp - 0x5c]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
push 0
mov ecx, dword [ebp - 0x30]
call fcn.10025597
cmp dword [eax], 0
jne 0x10065d84
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x10065d45
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
push 0
mov ecx, dword [ebp - 0x30]
call fcn.10025597
cmp dword [eax], 0
jne 0x10065d2a
mov dword [ebp - 0x18], 1
jmp 0x10065d2e
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x10065d45
mov dword [ebp - 0x28], 1
jmp 0x10065d49
and dword [ebp - 0x28], 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.10025597
cmp dword [eax], 6
je 0x10065d61
mov dword [ebp - 0x38], 1
jmp 0x10065d65
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x38]
jle 0x10065d76
mov dword [ebp - 0x24], 1
jmp 0x10065d7a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
jne 0x10065d95
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x10065d95
mov dword [ebp - 0x3c], 1
jmp 0x10065d99
and dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.10025597
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x10065dc7
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
push 0xcd5
push 0x6e03
push 1
call fcn.10054f5c
add esp, 0x10
mov esp, ebp
pop ebp
ret