Function at 0x10041e4c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10041e97
lea eax, [ebp + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10041e8c
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x10041e8a
push 0x999
call dword [sym.imp.USER32.dll_ShowCaret]
jmp 0x10041e92
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x100420b8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10041ef4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10041eef
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100420b8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, 0x7d7c118
test eax, eax
je 0x1004204e
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1000f966
and dword [eax], 0
xor eax, eax
jne 0x10042034
mov eax, dword [ebp - 4]
cmp dword [eax], 0xbca7
jne 0x10041f72
mov dword [ebp - 0x2c], 1
jmp 0x10041f76
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 1
jb 0x10041f85
mov dword [ebp - 0x14], 1
jmp 0x10041f89
and dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1000f966
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jl 0x10041fab
mov dword [ebp - 0x18], 1
jmp 0x10041faf
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jge 0x10041fc2
mov dword [ebp - 0x24], 1
jmp 0x10041fc6
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jge 0x10041fe8
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1000f966
cmp dword [eax], 0
je 0x10041fe8
mov dword [ebp - 0x74], 1
jmp 0x10041fec
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1000f966
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1000f966
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov eax, 0x25bb0866
test eax, eax
je 0x1004202e
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1000f966
cmp dword [eax], 0
jne 0x10042034
and dword [ebp - 0x34], 0
jmp 0x1004203b
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jle 0x1004204e
mov dword [ebp - 0x28], 1
jmp 0x10042052
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
jne 0x10042076
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
mov eax, 0x9e6a4137
test eax, eax
je 0x10042090
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10042090
mov dword [ebp - 0x30], 1
jmp 0x10042094
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x100420ac
mov dword [ebp - 0x38], 1
jmp 0x100420b0
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret