Function at 0x100526b8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1005284e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10052745
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10052723
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10052740
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.10025597
mov dword [eax], 0x383cc47d
jmp 0x10052718
jmp 0x10052849
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x20], 0x5dad
mov dword [ebp - 0x2c], 0x1000b83c
cmp dword [ebp - 0x20], 0x60ea
jle 0x10052827
and dword [ebp - 0x18], 0
jmp 0x10052785
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x32f6
jge 0x10052827
and dword [ebp - 0x10], 0
jmp 0x1005279f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x504c
jge 0x10052822
and dword [ebp - 0x1c], 0
jmp 0x100527b5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x510c
jge 0x1005281d
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0x84]
push dword [ebp - 0x88]
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 0x100527ae
jmp 0x10052798
jmp 0x1005277e
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
cmp dword [ebp - 0x20], 0x5d28
jge 0x10052849
push dword [ebp - 0x2c]
call fcn.1008287d
pop ecx
jmp 0x10052952
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0x6b36
mov dword [ebp - 0x38], 0x1000b860
cmp dword [ebp - 0x24], 0x6d80
jle 0x1005290a
and dword [ebp - 0x14], 0
jmp 0x1005287c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6999
jge 0x1005290a
and dword [ebp - 8], 0
jmp 0x10052896
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2c75
jge 0x10052905
and dword [ebp - 0xc], 0
jmp 0x100528ac
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xee7
jge 0x10052903
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x90], eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0xc0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.100252df
jmp 0x100528a5
jmp 0x1005288f
jmp 0x10052875
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x24], 0x6809
jge 0x10052922
push dword [ebp - 0x38]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push 0x2e27
call fcn.10065af5
add esp, 0x1c
mov esp, ebp
pop ebp
ret