Function at 0x100183c8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10018528
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10018520
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul ecx, dword [ecx], 0xffff
cmp dword [eax], ecx
jge 0x10018469
mov dword [ebp - 0x10], 1
jmp 0x1001846d
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jne 0x10018480
mov dword [ebp - 0x14], 1
jmp 0x10018484
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x100184b6
mov dword [ebp - 0x1c], 1
jmp 0x100184ba
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 5
je 0x100184c9
mov dword [ebp - 0x20], 1
jmp 0x100184cd
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx]
cmp eax, 0xfff7
jb 0x100184f3
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x100184f3
mov dword [ebp - 0xc], 1
jmp 0x100184f7
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jge 0x10018512
mov dword [ebp - 0x24], 1
jmp 0x10018516
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x10018526
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x10018568
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.1000e837
add esp, 0x1c
mov esp, ebp
pop ebp
ret