Function at 0x140002830
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140033080]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r12, rcx
lea rdx, [rbp - 0x10]
xor esi, esi
mov rcx, r8
mov dword [rbp - 0x10], esi
mov r13d, r9d
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14d, esi
mov r15, rax
cmp dword [rbp - 0x10], esi
jle 0x140002b27
mov rdx, qword [r15]
mov rcx, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp + 8], rsi
movups xmmword [rbp - 8], xmm0
mov r8, rcx
mov qword [rbp + 0x10], rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400028a0
lea rcx, [rbp - 8]
call fcn.140002700
mov rbx, qword [rbp + 0x10]
lea r9, [rbp - 8]
mov r11, qword [rbp - 8]
cmp rbx, 7
mov rdi, qword [rbp + 8]
cmova r9, r11
cmp rdi, 5
jb 0x140002adb
lea rdx, str._log
mov ecx, 5
mov rax, rdx
sub r9, rdx
mov r10d, esi
nop dword [rax + rax]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14000290d
add rax, 2
sub rcx, 1
jne 0x1400028f0
mov r8, 0xffffffffffffffff
jmp 0x14000291e
mov r10d, 1
mov r8, 0xffffffffffffffff
cmovb r10d, r8d
test r10d, r10d
jne 0x140002adb
cmp rbx, 7
mov byte [0x1400359e8], 1
lea r10, [rbp - 8]
cmova r10, r11
cmp rdi, 1
jb 0x1400029d4
lea rsi, [r10 + rdi*2]
mov rax, r10
nop dword [rax + rax]
mov rcx, rsi
mov edx, 0
sub rcx, rax
sar rcx, 1
je 0x14000297c
cmp word [rax], 0x3d
je 0x140002979
cmp rcx, 1
je 0x14000297c
add rax, 2
dec rcx
cmp word [rax], 0x3d
jne 0x140002966
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400029cb
lea rcx, [0x14002d4fc]
mov r9, rax
mov rdx, rcx
sub r9, rcx
mov r8d, 1
nop word [rax + rax]
movzx ecx, word [rdx + r9]
cmp cx, word [rdx]
jne 0x1400029c5
add rdx, 2
sub r8, 1
jne 0x1400029a0
sub rax, r10
mov r8, 0xffffffffffffffff
sar rax, 1
xor esi, esi
jmp 0x1400029d7
add rax, 2
jmp 0x140002950
mov r8, 0xffffffffffffffff
xor esi, esi
mov rax, r8
lea rcx, [rax + 1]
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
cmp rdi, rcx
jb 0x140002ea0
sub rdi, rcx
lea rax, [rbp - 8]
cmp rdi, 0xffffffffffffffff
cmovb r8, rdi
cmp rbx, 7
cmova rax, r11
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x18]
call fcn.140002700
cmp qword [rbp + 0x30], 7
lea rdx, [rbp + 0x18]
lea rcx, [0x140035be8]
cmova rdx, qword [rbp + 0x18]
call fcn.140004de0
test rax, rax
mov rax, qword [0x140035be0]
movsxd rcx, dword [rax + 4]
mov eax, 4
je 0x140002a66
lea rdx, [0x140035be0]
cmp qword [rcx + rdx + 0x48], 0
cmovne eax, esi
mov dword [rcx + rdx + 0x10], eax
test dword [rcx + rdx + 0x14], eax
jne 0x140002e13
jmp 0x140002a8e
lea rbx, [0x140035be0]
cmp qword [rcx + rbx + 0x48], 0
cmovne eax, esi
or eax, dword [rcx + rbx + 0x10]
and eax, 0x15
or eax, 2
mov dword [rcx + rbx + 0x10], eax
and eax, dword [rcx + rbx + 0x14]
jne 0x140002e4e
call fcn.140005170
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x140002ad3
mov rcx, qword [rbp + 0x18]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ace
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e48
call fcn.1400074b4
mov r11, qword [rbp - 8]
mov rbx, qword [rbp + 0x10]
cmp rbx, 7
jbe 0x140002b16
lea rdx, [rbx*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140002b0e
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e0d
mov rcx, r11
call fcn.1400074b4
inc r14d
add r15, 8
cmp r14d, dword [rbp - 0x10]
jl 0x140002881
mov r9d, 0x64
lea r8, [0x140035ad0]
mov edx, 0x67
mov rcx, r12
call qword [sym.imp.USER32.dll_LoadStringW]
lea rbx, [0x1400359f0]
mov r9d, 0x64
mov r8, rbx
mov edx, 0x6d
mov rcx, r12
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [0x140002eb0]
mov dword [rsp + 0x70], 0x50
mov edx, 0x6b
mov qword [rsp + 0x78], rax
mov rcx, r12
mov dword [rsp + 0x74], 3
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], r12
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x14002d7f0]
mov edx, 0x6c
mov rcx, qword [rbp - 0x78]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x50], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jne 0x140002de4
mov rcx, qword [0x140035b98]
mov edx, 2
mov qword [0x1400359e0], r12
call qword [sym.imp.USER32.dll_MonitorFromWindow]
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x18], 0x28
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rbp + 0x28]
lea r8, [0x140035ad0]
sub eax, dword [rbp + 0x20]
mov r9d, 0xcf0000
sub eax, 0x14
mov qword [rsp + 0x58], rsi
cdq
mov qword [rsp + 0x50], r12
sub eax, edx
mov qword [rsp + 0x48], rsi
sar eax, 1
mov ecx, eax
mov qword [rsp + 0x40], rsi
mov eax, dword [rbp + 0x24]
sub eax, dword [rbp + 0x1c]
sub eax, 0x78
mov dword [rsp + 0x38], 0x14
cdq
mov dword [rsp + 0x30], 0x73
sub eax, edx
mov dword [rsp + 0x28], ecx
sar eax, 1
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140035b98], rax
test rax, rax
je 0x140002de4
xor r8d, r8d
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rax, qword [0x1400359e0]
lea rdx, str.msctls_progress32
mov qword [rsp + 0x58], rsi
mov r9d, 0x50000008
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov rax, qword [0x140035b98]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x14
mov dword [rsp + 0x30], 0x73
mov dword [rsp + 0x28], 0xa
mov dword [rsp + 0x20], 0xa
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x40a
mov rcx, rax
mov qword [0x140035ab8], rax
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140035b98]
mov edx, r13d
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140035b98]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea r8, [0x140003280]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [0x140035ac8]
xor r9d, r9d
mov rcx, qword [0x140035b98]
mov r8d, 0x64
mov qword [0x140035ac0], rax
call qword [sym.imp.USER32.dll_SetTimer]
mov edx, 0x6d
mov rcx, r12
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r9d, r9d
lea rcx, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140002ddf
nop dword [rax]
mov rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x40]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140002dc9
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140002da0
mov eax, dword [rbp - 0x30]
jmp 0x140002de6
xor eax, eax
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140007210
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000ed2c
int3
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140001360
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0x70]
call fcn.140002500
lea rdx, [0x1400316a8]
lea rcx, [rsp + 0x70]
call fcn.140009130
int3
call fcn.14000ed2c
int3
test al, 4
je 0x140002e5b
lea rbx, str.ios_base::badbit_set
jmp 0x140002e6f
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140001360
mov r8, rax
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.140002500
lea rdx, [0x1400316a8]
lea rcx, [rsp + 0x70]
call fcn.140009130
int3
call fcn.140005150
int3