Function at 0x42a360
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.0042a350
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x5f2c20], 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.0042a630
mov ecx, dword [ebp - 4]
shl ecx, 1
mov eax, dword [0x5f2c10]
mov edx, dword [eax]
lea eax, [ebp - 0x220]
call fcn.004037d0
mov dword [ebp - 0x224], 0
call sub.kernel32.dll_GetCommandLineW
mov dword [ebp - 0x224], eax
call fcn.00404960
mov dword [ebp - 0xc], eax
mov edx, eax
lea eax, [ebp - 0x228]
call fcn.0040aa10
mov ecx, dword [ebp - 0xc]
shl ecx, 1
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x228]
call fcn.004037d0
mov dword [ebp - 0x10], 1
jmp 0x42a5ef
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x42a44e
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
cmp word [eax + edx*2 - 2], 0x20
jbe 0x42a430
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x42a5fb
mov esi, esi
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x42a4e0
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
cmp ax, 1
jb 0x42a4d8
sub ax, 0x20
jbe 0x42a49c
sub ax, 2
je 0x42a4a8
jmp 0x42a4d8
cmp byte [ebp - 0x18], 0
je 0x42a4e8
add dword [ebp - 4], 1
jmp 0x42a4dc
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x42a4cf
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
add eax, 1
cmp word [edx + eax*2 - 2], 0x22
je 0x42a4cf
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x42a4dc
add dword [ebp - 0x10], 1
jmp 0x42a4dc
add dword [ebp - 4], 1
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x42a478
cmp dword [0x5f2c20], 0
jle 0x42a5e8
mov ecx, dword [ebp - 4]
mov edx, dword [0x5f2c20]
mov eax, ebp
call fcn.0042a630
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
jmp 0x42a5dc
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
mov ax, word [edx + eax*2 - 2]
cmp ax, 1
jb 0x42a5b0
sub ax, 0x20
jbe 0x42a54c
sub ax, 2
je 0x42a580
jmp 0x42a5b0
cmp byte [ebp - 0x18], 0
je 0x42a5e8
mov eax, dword [0x5f2c10]
mov edx, dword [0x5f2c20]
mov ebx, dword [eax + edx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
mov word [ebx + ecx*2 - 2], ax
add dword [ebp - 0x14], 1
jmp 0x42a5d8
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x42a5a7
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x10]
add eax, 1
cmp word [edx + eax*2 - 2], 0x22
je 0x42a5a7
cmp byte [ebp - 0x18], 0
sete byte [ebp - 0x18]
jmp 0x42a5d8
add dword [ebp - 0x10], 1
jmp 0x42a5d8
mov edx, dword [0x5f2c10]
mov eax, dword [0x5f2c20]
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 0x42a520
add dword [0x5f2c20], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x42a434
sub dword [0x5f2c20], 1
cmp word [0x5ee030], 0xfde9
jne 0x42a614
call fcn.0042a240
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042a350
pop ebx
mov esp, ebp
pop ebp
ret