Function at 0x446820
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.0040bf40
call fcn.0040da40
push eax
test eax, eax
jne 0x446ac5
mov dword [0x4f7030], 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]
mov eax, ebp
mov edx, 0
call fcn.00446af0
mov ecx, dword [ebp - 4]
shl ecx, 1
mov eax, dword [0x4f7020]
mov edx, dword [eax]
lea eax, [ebp - 0x220]
call fcn.004023b0
mov dword [ebp - 0x224], 0
call sub.kernel32.dll_GetCommandLineW
mov dword [ebp - 0x224], eax
call fcn.00402d90
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x228]
call fcn.004092d0
mov ecx, dword [ebp - 0xc]
shl ecx, 1
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x228]
call fcn.004023b0
mov dword [ebp - 0x10], 1
jmp 0x446aa2
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x44691a
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
cmp word [eax + edx*2 - 2], 0x20
jbe 0x4468fc
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x446aae
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x44699f
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
cmp ax, 1
jb 0x446997
sub ax, 0x20
jbe 0x44695e
sub ax, 2
je 0x44696a
jmp 0x446997
cmp byte [ebp - 0x18], 0
je 0x4469a7
add dword [ebp - 4], 1
jmp 0x44699b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x446991
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
add eax, 1
cmp word [edx + eax*2 - 2], 0x22
je 0x446991
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x44699b
add dword [ebp - 0x10], 1
jmp 0x44699b
add dword [ebp - 4], 1
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x44693c
cmp dword [0x4f7030], 0
jle 0x446a9b
mov ecx, dword [ebp - 4]
mov edx, dword [0x4f7030]
mov eax, ebp
call fcn.00446af0
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
jmp 0x446a8f
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
cmp ax, 1
jb 0x446a63
sub ax, 0x20
jbe 0x446a02
sub ax, 2
je 0x446a36
jmp 0x446a63
cmp byte [ebp - 0x18], 0
je 0x446a9b
mov eax, dword [0x4f7020]
mov edx, dword [0x4f7030]
mov ecx, dword [eax + edx*4]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
mov word [ecx + ebx*2 - 2], ax
add dword [ebp - 0x14], 1
jmp 0x446a8b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x446a5d
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
add eax, 1
cmp word [edx + eax*2 - 2], 0x22
je 0x446a5d
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x446a8b
add dword [ebp - 0x10], 1
jmp 0x446a8b
mov edx, dword [0x4f7020]
mov eax, dword [0x4f7030]
mov ebx, dword [edx + eax*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
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x4469dc
add dword [0x4f7030], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x446900
sub dword [0x4f7030], 1
cmp word [0x4f4020], 0xfde9
jne 0x446ac5
call fcn.00446700
call fcn.0040c1c0
lea eax, [ebp - 0x228]
call fcn.00408de0
pop eax
test eax, eax
je 0x446adf
call fcn.0040c2f0
pop ebx
leave
ret