Function at 0x45c797
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x45c7e6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
push 0x7e70
push dword [ebp - 0x74]
push dword [ebp - 0x4c]
push dword [ebp - 0xbc]
push dword [ebp - 0x54]
push 1
call fcn.0045cb05
add esp, 0x18
jmp 0x45cb01
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x45cace
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x45c8bd
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x45c8b8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x45cacc
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x45c93e
mov dword [ebp - 0x24], 1
jmp 0x45c942
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
neg eax
je 0x45ca74
mov eax, dword [ebp - 4]
cmp dword [eax], 0x5dc1b6ea
jg 0x45c961
mov dword [ebp - 0x3c], 1
jmp 0x45c965
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x3c]
test eax, eax
je 0x45c998
mov eax, 0xfffa
test eax, eax
je 0x45c998
mov dword [ebp - 0x14], 1
jmp 0x45c99c
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jne 0x45c9af
mov dword [ebp - 0xc], 1
jmp 0x45c9b3
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jl 0x45c9dc
mov dword [ebp - 0x90], 1
jmp 0x45c9e3
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x45ca15
mov dword [ebp - 0x2c], 1
jmp 0x45ca19
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xdc50
je 0x45ca33
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x45ca33
mov dword [ebp - 0x18], 1
jmp 0x45ca37
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jl 0x45ca4a
mov dword [ebp - 0x20], 1
jmp 0x45ca4e
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x45ca61
mov dword [ebp - 0x28], 1
jmp 0x45ca65
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
je 0x45ca74
mov dword [ebp - 0x30], 1
jmp 0x45ca78
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xffffffff
jg 0x45ca91
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x45ca91
mov dword [ebp - 0x98], 1
jmp 0x45ca98
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, 0x887c5c6
test eax, eax
jne 0x45caba
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x45caba
and dword [ebp - 0x40], 0
jmp 0x45cac1
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x45cb01
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
push 0
push 0x54f8
push dword [ebp - 0xb8]
push dword [ebp - 0xc0]
call fcn.0044fc8f
add esp, 0x10
mov esp, ebp
pop ebp
ret