Function at 0x42f580
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x30], r8
mov word [rbp + 0x3e], r9w
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
nop
mov rax, qword [rbp + 0x30]
mov dword [rax], 0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x98], rax
jmp 0x42f622
mov rax, qword [0x0044e2a8]
cmp byte [rax], 0
je 0x42f609
mov rax, qword [rbp + 0x98]
movzx rcx, word [rbp + 0x3e]
cmp word [rax], cx
je 0x42f62f
mov rax, qword [rbp + 0x98]
cmp word [rax], 0x3a
jne 0x42f61a
mov rax, qword [rbp + 0x98]
movzx rcx, word [rbp + 0x3e]
cmp word [rax + 2], cx
jne 0x42f62f
jmp 0x42f61a
mov rax, qword [rbp + 0x98]
movzx rcx, word [rbp + 0x3e]
cmp word [rax], cx
je 0x42f62f
add qword [rbp + 0x98], 2
mov rax, qword [rbp + 0x98]
cmp word [rax], 0
jne 0x42f5cb
nop
mov rax, qword [rbp + 0x98]
cmp word [rax], 0
je 0x42f65f
mov rax, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x50]
neg rcx
lea rax, [rax + rcx]
mov ecx, 2
cqo
idiv rcx
test rax, rax
jne 0x42f66b
xor rax, rax
mov qword [rbp + 0x60], rax
jmp 0x42fb06
mov rax, qword [rbp + 0x98]
movzx rbx, word [rax]
mov rax, qword [rbp + 0x98]
mov word [rax], 0
mov rcx, qword [rbp + 0x50]
call fcn.00427780
mov rcx, qword [rbp + 0x30]
mov dword [rcx], eax
movzx rax, word [rbp + 0x3e]
cmp bx, ax
jne 0x42f6a2
mov rax, qword [rbp + 0x30]
add dword [rax], 1
mov rcx, qword [rbp + 0x50]
call fcn.00429c50
mov qword [rbp + 0x40], rax
mov rax, qword [0x0044e2a8]
cmp byte [rax], 0
je 0x42f73a
mov rax, qword [rbp + 0x40]
test rax, rax
jne 0x42f73a
mov rcx, qword [rbp + 0x50]
lea rdx, [0x0042fb58]
call fcn.0041d8c0
test eax, eax
jne 0x42f71d
lea rax, [0x0046ab14]
mov qword [rbp + 0x40], rax
mov rax, qword [0x0044e5a8]
mov eax, dword [rax]
mov dword [rbp + 0x80], eax
mov byte [rbp + 0x88], 0
mov rcx, qword [rbp + 0x40]
xor rdx, rdx
lea r8, [0x0042fb6e]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00427840
jmp 0x42f73a
mov rcx, qword [rbp + 0x50]
lea rdx, [0x0042fb74]
call fcn.0041d8c0
test eax, eax
jne 0x42f73a
call sub.kernel32.dll_GetCommandLineW_1
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x98]
mov word [rax], bx
movzx rax, word [rbp + 0x3e]
cmp bx, ax
je 0x42f754
cmp bx, 0x3a
jne 0x42f75c
add qword [rbp + 0x98], 2
mov rax, qword [0x0044e2a8]
cmp byte [rax], 0
je 0x42fafd
cmp bx, 0x3a
jne 0x42fafd
mov rax, qword [rbp + 0x40]
test rax, rax
je 0x42fafd
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x98]
cmp word [rax], 0x7e
jne 0x42f8af
add qword [rbp + 0x98], 2
mov rcx, qword [rbp + 0x98]
lea rdx, [rbp + 0x98]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov ebx, eax
test ebx, ebx
jge 0x42f7ce
mov rcx, qword [rbp + 0x40]
call fcn.00427780
add ebx, eax
test ebx, ebx
jge 0x42f7d5
xor rbx, rbx
mov rax, qword [rbp + 0x98]
cmp word [rax], 0x2c
jne 0x42f842
add qword [rbp + 0x98], 2
mov rcx, qword [rbp + 0x98]
lea rdx, [rbp + 0x98]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov esi, eax
test esi, esi
jge 0x42f815
mov rcx, qword [rbp + 0x40]
call fcn.00427780
add eax, esi
sub eax, ebx
mov esi, eax
test esi, esi
jge 0x42f81c
xor rsi, rsi
mov rcx, qword [rbp + 0x40]
movsxd rbx, ebx
mov rax, qword [rbp + 0x40]
lea rdx, [rax + rbx*2]
mov r8d, esi
call fcn.00427670
movsxd rsi, esi
mov rax, qword [rbp + 0x40]
mov word [rax + rsi*2], 0
jmp 0x42f856
mov rcx, qword [rbp + 0x40]
movsxd rbx, ebx
mov rax, qword [rbp + 0x40]
lea rdx, [rax + rbx*2]
call fcn.004277a0
mov rax, qword [rbp + 0x98]
movzx rcx, word [rbp + 0x3e]
cmp word [rax], cx
jne 0x42facc
add qword [rbp + 0x98], 2
jmp 0x42facc
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x98]
call fcn.0040b3e0
lea rcx, [rbp + 0x70]
movzx rdx, word [rbp + 0x3e]
call fcn.0040b390
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
call fcn.0040b8b0
test eax, eax
je 0x42f8c9
add qword [rbp + 0x98], 2
mov rax, qword [rbp + 0x98]
cmp word [rax], 0
je 0x42f8c9
mov rax, qword [rbp + 0x98]
cmp word [rax], 0x3d
jne 0x42f878
nop
mov rax, qword [rbp + 0x98]
cmp word [rax], 0x3d
jne 0x42fa71
mov rax, qword [rbp + 0x98]
mov word [rax], 0
add qword [rbp + 0x98], 2
mov rcx, qword [rbp + 0x58]
call fcn.00427780
mov esi, eax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x68], rax
jmp 0x42f90f
add qword [rbp + 0x98], 2
mov rax, qword [rbp + 0x98]
cmp word [rax], 0
je 0x42f92d
mov rax, qword [rbp + 0x98]
movzx rcx, word [rbp + 0x3e]
cmp word [rax], cx
jne 0x42f907
mov rax, qword [rbp + 0x98]
cmp word [rax], 0
je 0x42fa62
mov rax, qword [rbp + 0x98]
mov word [rax], 0
mov rcx, qword [rbp + 0x68]
call fcn.00427780
mov edi, eax
mov rbx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x58]
cmp word [rax], 0x2a
jne 0x42f97e
mov r14d, 1
mov rax, qword [rbp + 0x58]
add rax, 2
mov qword [rbp + 0x58], rax
sub esi, 1
jmp 0x42fa40
xor r14, r14
jmp 0x42fa40
mov rcx, rbx
mov rdx, qword [rbp + 0x58]
mov r8d, esi
call fcn.0041d9b0
test eax, eax
jne 0x42fa3c
test r14d, r14d
je 0x42f9be
mov rax, qword [rbp + 0x40]
neg rax
lea rax, [rbx + rax]
mov ecx, 2
cqo
idiv rcx
add esi, eax
mov rbx, qword [rbp + 0x40]
mov r13d, esi
sub r13d, edi
test r13d, r13d
jge 0x42f9f5
mov rcx, rbx
call fcn.00427780
mov rcx, rbx
movsxd r13, r13d
add r13, r13
neg r13
lea rdx, [rbx + r13]
mov r8d, eax
add r8d, 1
add r8d, r8d
movsxd r8, r8d
call fcn.00405590
jmp 0x42fa09
test r13d, r13d
jle 0x42fa09
mov rcx, rbx
movsxd r13, r13d
lea rdx, [rbx + r13*2]
call fcn.004277a0
mov rcx, qword [rbp + 0x68]
mov rdx, rbx
mov r8d, edi
add r8d, r8d
movsxd r8, r8d
call fcn.00405590
test r14d, r14d
je 0x42fa31
mov rax, qword [rbp + 0x58]
sub rax, 2
mov qword [rbp + 0x58], rax
jmp 0x42fa4a
movsxd rax, edi
add rax, rax
add rbx, rax
jmp 0x42fa40
add rbx, 2
cmp word [rbx], 0
jne 0x42f986
nop
mov rax, qword [rbp + 0x98]
movzx rcx, word [rbp + 0x3e]
mov word [rax], cx
add qword [rbp + 0x98], 2
mov rax, qword [rbp + 0x68]
sub rax, 2
mov word [rax], 0x3d
jmp 0x42facc
mov rax, qword [rbp + 0x98]
cmp word [rax], 0
je 0x42facc
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x42fac3
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x0042fb98]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00440b70
mov rcx, qword [rbp + 0x48]
or edx, 0xffffffff
call fcn.00427230
jmp 0x42facc
xor rax, rax
mov qword [rbp + 0x60], rax
jmp 0x42fb06
mov rax, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x30]
movsxd rcx, dword [rcx]
lea rax, [rax + rcx*2]
mov rcx, qword [rbp + 0x58]
neg rcx
lea rax, [rax + rcx]
mov ecx, 2
cqo
idiv rcx
add eax, 1
mov rcx, qword [rbp + 0x30]
mov dword [rcx], eax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x60], rax
nop
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040a780
mov rax, qword [rbp + 0x60]
lea rsp, [rbp + 0xa8]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret