Function at 0x458ea0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x250]
push ebx
mov dword [ebp - 0x228], 0
mov eax, 1
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x234]
call fcn.0040e9e0
call fcn.00404380
push eax
test eax, eax
jne 0x459164
mov dword [0x6c3c50], 0
push 0x208
lea eax, [ebp - 0x220]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov dword [ebp - 4], eax
mov word [ebp + eax*2 - 0x220], 0
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, ebp
call fcn.00459190
mov ecx, dword [ebp - 4]
shl ecx, 1
mov eax, dword [0x6c3c40]
mov edx, dword [eax]
lea eax, [ebp - 0x220]
call fcn.00403a00
mov dword [ebp - 0x224], 0
call sub.kernel32.dll_GetCommandLineW
mov dword [ebp - 0x224], eax
call fcn.00404b00
mov dword [ebp - 0xc], eax
mov edx, eax
lea eax, [ebp - 0x228]
call fcn.0040b050
mov ecx, dword [ebp - 0xc]
shl ecx, 1
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x228]
call fcn.00403a00
mov dword [ebp - 0x10], 1
jmp 0x45913f
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x458f9e
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
cmp word [eax + edx*2 - 2], 0x20
jbe 0x458f80
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x45914b
mov esi, esi
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x459030
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
cmp ax, 1
jb 0x459028
sub ax, 0x20
jbe 0x458fec
sub ax, 2
je 0x458ff8
jmp 0x459028
cmp byte [ebp - 0x18], 0
je 0x459038
add dword [ebp - 4], 1
jmp 0x45902c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x45901f
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
add eax, 1
cmp word [edx + eax*2 - 2], 0x22
je 0x45901f
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x45902c
add dword [ebp - 0x10], 1
jmp 0x45902c
add dword [ebp - 4], 1
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x458fc8
cmp dword [0x6c3c50], 0
jle 0x459138
mov ecx, dword [ebp - 4]
mov edx, dword [0x6c3c50]
mov eax, ebp
call fcn.00459190
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
jmp 0x45912c
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
cmp ax, 1
jb 0x459100
sub ax, 0x20
jbe 0x45909c
sub ax, 2
je 0x4590d0
jmp 0x459100
cmp byte [ebp - 0x18], 0
je 0x459138
mov eax, dword [0x6c3c40]
mov edx, dword [0x6c3c50]
mov ebx, dword [eax + edx*4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
mov word [ebx + ecx*2 - 2], ax
add dword [ebp - 0x14], 1
jmp 0x459128
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4590f7
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
add eax, 1
cmp word [edx + eax*2 - 2], 0x22
je 0x4590f7
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x459128
add dword [ebp - 0x10], 1
jmp 0x459128
mov edx, dword [0x6c3c40]
mov eax, dword [0x6c3c50]
mov ecx, dword [edx + eax*4]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
mov word [ecx + ebx*2 - 2], ax
add dword [ebp - 0x14], 1
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x459070
add dword [0x6c3c50], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x458f84
sub dword [0x6c3c50], 1
cmp word [0x6c1030], 0xfde9
jne 0x459164
call fcn.00458d80
mov esi, esi
call fcn.0040ec50
lea eax, [ebp - 0x228]
call fcn.0040a950
pop eax
test eax, eax
je 0x45917e
call fcn.0040ed80
pop ebx
mov esp, ebp
pop ebp
ret