Function at 0x4160e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x228]
push ebx
mov dword [ebp - 0x228], 0
xor eax, eax
push fcn.004160d0
push ebp
push 0x415760
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x5c6d40], 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 eax, ebp
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.00416410
mov eax, dword [0x5c6d30]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
lea ecx, [eax + eax]
lea eax, [ebp - 0x220]
call fcn.00403960
mov dword [ebp - 0x224], 0
call sub.kernel32.dll_GetCommandLineW
mov dword [ebp - 0x224], eax
call fcn.00405120
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x228]
mov edx, dword [ebp - 0xc]
call fcn.0040b570
mov eax, dword [ebp - 0xc]
lea ecx, [eax + eax]
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
call fcn.00403960
mov dword [ebp - 0x10], 1
jmp 0x4163d7
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x4161c6
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
cmp word [edx + eax*2 - 2], 0x20
jbe 0x4161a8
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x4163e3
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x416294
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
cmp ax, 1
jb 0x416280
sub ax, 0x20
jbe 0x416220
sub ax, 2
je 0x416240
jmp 0x416280
cmp byte [ebp - 0x18], 0
je 0x4162a0
add dword [ebp - 4], 1
jmp 0x416290
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x416270
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
add edx, 1
cmp word [eax + edx*2 - 2], 0x22
je 0x416270
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x416290
add dword [ebp - 0x10], 1
jmp 0x416290
add dword [ebp - 4], 1
nop word [eax + eax]
nop
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x4161f0
cmp dword [0x5c6d40], 0
jle 0x4163d0
mov edx, dword [0x5c6d40]
mov eax, ebp
mov ecx, dword [ebp - 4]
call fcn.00416410
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
jmp 0x4163c4
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
cmp ax, 1
jb 0x416390
sub ax, 0x20
jbe 0x416310
sub ax, 2
je 0x416350
jmp 0x416390
cmp byte [ebp - 0x18], 0
je 0x4163d0
mov edx, dword [0x5c6d30]
mov eax, dword [0x5c6d40]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
mov cx, word [ebx + ecx*2 - 2]
mov word [eax + edx*2 - 2], cx
add dword [ebp - 0x14], 1
jmp 0x4163c0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x416380
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
add edx, 1
cmp word [eax + edx*2 - 2], 0x22
je 0x416380
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x4163c0
add dword [ebp - 0x10], 1
jmp 0x4163c0
mov eax, dword [0x5c6d30]
mov edx, dword [0x5c6d40]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x228]
mov ebx, dword [ebp - 0x10]
mov cx, word [ecx + ebx*2 - 2]
mov word [eax + edx*2 - 2], cx
add dword [ebp - 0x14], 1
nop dword [eax + eax]
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x4162d8
add dword [0x5c6d40], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x4161ac
sub dword [0x5c6d40], 1
cmp word [0x5c5030], 0xfde9
jne 0x4163fa
call fcn.00415fc0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004160d0
pop ebx
mov esp, ebp
pop ebp
ret