Function at 0x140045b60
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x998]
sub rsp, 0xa70
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1402cf868]
xor rax, rsp
mov qword [rbp + 0x950], rax
xor r15d, r15d
mov r14d, 4
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, dword [r14 + rdi]
cmp dword [0x1402d6744], eax
jle 0x140045c01
lea rcx, [0x1402d6744]
call fcn.1401c9670
cmp dword [0x1402d6744], 0xffffffff
jne 0x140045c01
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.RegCreateKeyExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e7338], rax
lea rcx, [0x1402d6744]
call fcn.1401c9610
mov eax, dword [r14 + rdi]
cmp dword [0x1402d6a5c], eax
jle 0x140045c52
lea rcx, [0x1402d6a5c]
call fcn.1401c9670
cmp dword [0x1402d6a5c], 0xffffffff
jne 0x140045c52
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.RegOpenKeyExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e3010], rax
lea rcx, [0x1402d6a5c]
call fcn.1401c9610
mov eax, dword [r14 + rdi]
cmp dword [0x1402d67b4], eax
jle 0x140045ca3
lea rcx, [0x1402d67b4]
call fcn.1401c9670
cmp dword [0x1402d67b4], 0xffffffff
jne 0x140045ca3
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.RegQueryValueExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e74f0], rax
lea rcx, [0x1402d67b4]
call fcn.1401c9610
mov eax, dword [r14 + rdi]
cmp dword [0x1402d66c4], eax
jle 0x140045cf4
lea rcx, [0x1402d66c4]
call fcn.1401c9670
cmp dword [0x1402d66c4], 0xffffffff
jne 0x140045cf4
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.RegSetValueExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402d64f8], rax
lea rcx, [0x1402d66c4]
call fcn.1401c9610
mov eax, dword [r14 + rdi]
cmp dword [0x1402e747c], eax
jle 0x140045d45
lea rcx, [0x1402e747c]
call fcn.1401c9670
cmp dword [0x1402e747c], 0xffffffff
jne 0x140045d45
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.RegDeleteValueA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402d65b0], rax
lea rcx, [0x1402e747c]
call fcn.1401c9610
mov eax, dword [r14 + rdi]
cmp dword [0x1402d6568], eax
jle 0x140045d96
lea rcx, [0x1402d6568]
call fcn.1401c9670
cmp dword [0x1402d6568], 0xffffffff
jne 0x140045d96
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.RegCloseKey
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e7568], rax
lea rcx, [0x1402d6568]
call fcn.1401c9610
mov rbx, qword [0x1402d5b40]
mov rax, qword [rbx + 0x11e0]
cmp byte [rax + 0xbb], r15b
jne 0x140046d39
mov rbx, qword [rbx + 0x1eb0]
test rbx, rbx
je 0x140046d39
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Settings
mov rcx, rbx
call fcn.140097aa0
test al, al
je 0x140046d39
movsx rax, word [rbx + 0x70]
imul rcx, rax, 0x2c
add rcx, qword [rbx + 8]
mov ecx, dword [rcx]
call fcn.14006de30
lea rsi, [0x1402d5bd8]
cmp byte [reloc.WS2_32.dll_accept], r15b
je 0x140045fdc
mov byte [reloc.WS2_32.dll_accept], r15b
mov rax, qword [0x1402e3010]
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_OptionsLeagueClientUx.exe
mov rcx, 0xffffffff80000002
call rax
test eax, eax
jne 0x140045f80
mov dword [rbp - 0x80], 0x104
mov rax, qword [0x1402e74f0]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.debugger
mov rcx, qword [rbp - 0x78]
call rax
test eax, eax
jne 0x140045ec0
mov r8d, dword [rbp - 0x80]
mov qword [rbp - 0x20], r15
movdqa xmm0, xmmword [0x1402a1fd0]
movdqu xmmword [rbp - 0x10], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140004630
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140008340
lea rcx, [rbp - 0x20]
call fcn.140008940
mov rcx, qword [rbp - 0x78]
call qword [0x1402e7568]
jmp 0x140045fdc
cmp eax, 2
jne 0x140045f4f
mov rax, qword [0x1402d5bf0]
cmp rax, 7
jb 0x140045f1f
mov rbx, rsi
cmp rax, 0x10
cmovae rbx, qword [0x1402d5bd8]
mov qword [0x1402d5be8], 7
mov r8d, 7
lea rdx, str.Nothing
mov rcx, rbx
call fcn.1401cbbb0
mov byte [rbx + 7], r15b
mov byte [0x1402d5c3d], r15b
mov rcx, qword [rbp - 0x78]
call qword [0x1402e7568]
jmp 0x140045fdc
lea r9, str.Nothing
movzx r8d, byte [rsp + 0x50]
mov edx, 7
mov rcx, rsi
call fcn.1400046a0
mov byte [0x1402d5c3d], r15b
mov rcx, qword [rbp - 0x78]
call qword [0x1402e7568]
jmp 0x140045fdc
movsxd rdx, eax
lea rax, str.Failed__error_code
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r15b
jne 0x140045f63
mov rcx, rsi
call fcn.140004630
mov rcx, qword [rbp - 0x78]
call qword [0x1402e7568]
jmp 0x140045fdc
mov rax, qword [0x1402d5bf0]
cmp rax, 5
jb 0x140045fc2
mov rbx, rsi
cmp rax, 0x10
cmovae rbx, qword [0x1402d5bd8]
mov qword [0x1402d5be8], 5
mov r8d, 5
lea rdx, str.Error
mov rcx, rbx
call fcn.1401cbbb0
mov byte [rbx + 5], r15b
jmp 0x140045fdc
lea r9, str.Error
movzx r8d, byte [rsp + 0x50]
mov edx, 5
mov rcx, rsi
call fcn.1400046a0
mov eax, dword [r14 + rdi]
cmp dword [0x1402d6b60], eax
jle 0x14004602e
lea rcx, [0x1402d6b60]
call fcn.1401c9670
cmp dword [0x1402d6b60], 0xffffffff
jne 0x14004602e
mov qword [0x1402daba0], r15
mov qword [0x1402dabb0], r15
mov qword [0x1402dabb8], 0xf
lea rcx, [0x1402138b0]
call fcn.1401c9f0c
lea rcx, [0x1402d6b60]
call fcn.1401c9610
lea rdx, [0x1402d5c10]
lea rcx, str.Auto_rename
call fcn.14008a860
movss xmm7, dword [0x1402a1f48]
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1400700e0
lea rcx, str.Automatically_renames_the_program_on_launch
call fcn.1400243c0
lea rdx, [0x1402d5c3c]
lea rcx, str.Stream_proof
call fcn.14008a860
test al, al
je 0x140046096
mov rcx, qword [0x1402d5b90]
cmp byte [0x1402d5c3c], 0
je 0x14004608e
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x140046090
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1400700e0
lea rcx, str.Hides_the_program_in_recordings_and_screenshots
call fcn.1400243c0
lea rdx, [0x1402d5c3f]
lea rcx, str.Notify_about_prereleases
call fcn.14008a860
lea rdx, [0x1402d5c3e]
lea rcx, str.Launch_client_without_admin
call fcn.14008a860
lea rdx, [0x1402d5c3d]
lea rcx, str.Register_debugger_IFEO
call fcn.14008a860
test al, al
je 0x14004636c
mov r9d, 1
lea r8, str.Debugger_IFEO
lea rdx, str.Are_you_sure_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x14004636c
mov rax, qword [0x1402e7338]
mov qword [rsp + 0x40], r15
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_OptionsLeagueClientUx.exe
mov rcx, 0xffffffff80000002
call rax
test eax, eax
jne 0x14004636c
mov dword [rbp - 0x80], 0x820
mov eax, dword [r14 + rdi]
cmp dword [0x1402d65b8], eax
jle 0x1400461a0
lea rcx, [0x1402d65b8]
call fcn.1401c9670
cmp dword [0x1402d65b8], 0xffffffff
jne 0x1400461a0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1402d6a48], rax
lea rcx, [0x1402d65b8]
call fcn.1401c9610
mov eax, dword [r14 + rdi]
cmp dword [0x1402d6540], eax
jle 0x1400461e8
lea rcx, [0x1402d6540]
call fcn.1401c9670
cmp dword [0x1402d6540], 0xffffffff
jne 0x1400461e8
lea rdx, str.GetModuleFileNameA
mov rcx, qword [0x1402d6a48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f7a28], rax
lea rcx, [0x1402d6540]
call fcn.1401c9610
mov r8d, 0x104
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [0x1402f7a28]
lea rax, [rbp + 0x20]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140046205
inc ebx
mov rax, qword [0x1402e74f0]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x130]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.debugger
mov rcx, qword [rbp - 0x78]
call rax
test eax, 0xfffffffd
jne 0x140046362
cmp byte [0x1402d5c3d], 0
je 0x1400462f1
cmp byte [0x1402d5c10], 0
jne 0x140046269
cmp byte [0x1402d5c3e], 0
je 0x14004628a
mov r9d, 0x10004
lea r8, str.Warning
lea rdx, str.Having__Auto_rename__or__Launch_client_without_admin__enabled_with__debugger_IFEO__will_prevent_League_client_from_starting_n_nDo_you_wish_to_continue_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x1400462e8
mov rax, qword [0x1402d64f8]
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.debugger
mov rcx, qword [rbp - 0x78]
call rax
test eax, eax
jne 0x140046362
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400462d0
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.140004630
jmp 0x140046362
mov byte [0x1402d5c3d], 0
jmp 0x140046362
test eax, eax
jne 0x140046362
lea rdx, str.debugger
mov rcx, qword [rbp - 0x78]
call qword [0x1402d65b0]
mov rax, qword [0x1402d5bf0]
cmp rax, 7
jb 0x140046348
mov rbx, rsi
cmp rax, 0x10
cmovae rbx, qword [0x1402d5bd8]
mov qword [0x1402d5be8], 7
mov r8d, 7
lea rdx, str.Nothing
mov rcx, rbx
call fcn.1401cbbb0
mov byte [rbx + 7], 0
jmp 0x140046362
lea r9, str.Nothing
movzx r8d, byte [rsp + 0x50]
mov edx, 7
mov rcx, rsi
call fcn.1400046a0
mov rcx, qword [rbp - 0x78]
call qword [0x1402e7568]
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1400700e0
lea rcx, str.Allows_for_client_traffic_analysis_via_a_web_debugging_proxy_such_as_Fiddler.Disable_before_deleting_the_program._Doesnt_work_when__Auto_rename__or__Launch_client_without_admin__are_enabled.
call fcn.1400243c0
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1400700e0
cmp qword [0x1402d5bf0], 0x10
cmovae rsi, qword [0x1402d5bd8]
mov rdx, rsi
lea rcx, str._Hooked_to:__s
call fcn.140088ac0
mov qword [rbp - 0x78], 0
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, str.Clean_logs
call fcn.140089430
lea r13, [0x1402daba0]
test al, al
je 0x140046413
mov r9d, 1
lea r8, str.Cleaning_logs
lea rdx, str.Are_you_sure_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x140046413
lea rcx, [rsp + 0x58]
call fcn.140022c80
mov rdx, rax
mov rcx, r13
call fcn.140008340
lea rcx, [rsp + 0x58]
call fcn.140008940
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1400700e0
mov qword [rbp - 0x78], 0
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, str.Force_close_client
call fcn.140089430
test al, al
je 0x140046442
call fcn.140022930
lea rsi, [0x1402d5c18]
cmp qword [0x1402d5c30], 0x10
jb 0x14004645f
mov rdx, qword [0x1402d5c18]
mov rcx, rdx
jmp 0x140046465
mov rcx, rsi
mov rdx, rsi
mov r8, qword [0x1402d5c28]
add r8, rcx
sub r8, rdx
lea r14, [0x1402d6820]
mov rcx, r14
call fcn.1401cbbb0
lea rcx, str.League_path:
call fcn.140088ac0
mov qword [rbp - 0x78], 0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
mov r8, r14
xor edx, edx
lea rcx, str.leaguePath
call fcn.140090d20
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x1400464d0
mov rdx, r14
mov rcx, rsi
call fcn.140004630
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1400700e0
mov qword [rbp - 0x78], 0
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, str.Try_to_auto_detect_path
call fcn.140089430
mov r12d, 2
test al, al
je 0x140046a7b
lea rcx, [0x14029c678]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.SHGetFolderPathW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x130]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x21]
xor ecx, ecx
call rax
test eax, eax
js 0x140046a7b
lea rdx, [rbp + 0x130]
lea rax, [rbp + 0x130]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140046570
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
lea rcx, [rbp]
call fcn.140008810
nop
lea rax, str.Riot_GamesMetadataleague_of_legends.liveleague_of_legends.live.product_settings.yaml
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0x57
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.140056ce0
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.14001de50
nop
lea rcx, [rsp + 0x58]
call fcn.140008780
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.14001eb30
movsd xmm0, qword [rax]
movsd qword [rbp - 0x78], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x30], ecx
lea rax, str.hl__
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140046d2c
cmp eax, 1
je 0x140046a68
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x20]
call fcn.1401cc260
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.140050c20
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
cmp qword [rbp + 0xb0], 0
je 0x1400469fb
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
movzx ebx, byte [rsp + 0x50]
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x60]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x28], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x30]
call fcn.140008c40
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx edi, al
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400466ee
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400466ee
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx r8d, dil
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x20]
call fcn.140051550
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1400469b5
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
setae r14b
mov rsi, qword [rbp - 0x78]
cmovae rcx, rsi
mov qword [rsp + 0x20], 0x1b
lea r9, str.product_install_full_path:
xor r8d, r8d
mov rdi, qword [rbp - 0x68]
mov rdx, rdi
call fcn.140050320
cmp rax, 0xffffffffffffffff
je 0x140046692
lea rcx, [rbp - 0x78]
test r14b, r14b
cmovne rcx, rsi
mov qword [rsp + 0x20], 1
lea r9, [0x140296dfc]
xor r8d, r8d
mov rdx, rdi
call fcn.140050320
cmp rax, 0xffffffffffffffff
je 0x140046692
lea rcx, [rax + 2]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
cmp rdi, rcx
jb 0x140046ddd
sub rdi, rcx
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x78]
test r14b, r14b
cmovne rdx, rsi
add rdx, rcx
lea rcx, [rbp - 0x50]
call fcn.140004630
nop
lea rax, [rbp - 0x50]
mov r15, qword [rbp - 0x50]
mov r12, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
cmp r12, 0x10
jb 0x1400467ec
mov rcx, r15
lea rsi, [rdi + r15]
lea r14, [r15 + rdi]
jmp 0x1400467fb
lea r14, [rdi + rax]
lea rsi, [rbp - 0x50]
add rsi, rdi
lea rcx, [rbp - 0x50]
mov r8, rsi
sub r8, rcx
mov edx, 0x22
call fcn.1401cba30
mov rcx, rsi
test rax, rax
cmovne rcx, rax
mov rdx, rcx
cmp rcx, rsi
je 0x140046845
inc rcx
cmp rcx, rsi
je 0x140046845
movzx eax, byte [rcx]
cmp al, 0x22
je 0x140046831
mov byte [rdx], al
inc rdx
inc rcx
cmp rcx, rsi
jne 0x140046825
mov r12, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
mov r15, qword [rbp - 0x50]
lea rax, [rbp - 0x50]
sub r14, rdx
cmp r12, 0x10
jb 0x140046857
sub rdx, r15
jmp 0x14004685e
sub rdx, rax
lea r15, [rbp - 0x50]
mov rax, rdi
sub rax, rdx
cmp rax, r14
cmovb r14, rax
lea rcx, [r15 + rdx]
sub rdi, r14
mov qword [rbp - 0x40], rdi
sub rdi, rdx
lea r8, [rdi + 1]
lea rdx, [rcx + r14]
call fcn.1401cbbb0
mov r12d, 2
nop dword [rax]
lea rcx, [rbp - 0x50]
mov rsi, qword [rbp - 0x38]
cmp rsi, 0x10
setae r15b
mov r14, qword [rbp - 0x50]
cmovae rcx, r14
mov qword [rsp + 0x20], r12
lea r9, [0x14029c704]
xor r8d, r8d
mov rdi, qword [rbp - 0x40]
mov rdx, rdi
call fcn.140050320
cmp rax, 0xffffffffffffffff
je 0x1400468ea
mov qword [rsp + 0x20], 1
lea r9, [0x1402972d4]
mov r8, r12
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14004c370
jmp 0x140046890
lea rax, [rbp - 0x50]
test r15b, r15b
cmovne rax, r14
cmp byte [rdi + rax - 1], 0x2f
je 0x14004693d
cmp rdi, rsi
jae 0x14004691c
lea rax, [rdi + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
test r15b, r15b
cmovne rax, r14
mov word [rax + rdi], 0x2f
jmp 0x140046931
mov r9b, 0x2f
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.14000ac90
mov r14, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
lea rdx, [rbp - 0x50]
cmp rsi, 0x10
cmovae rdx, r14
mov r8, rdi
lea rsi, [0x1402d5c18]
mov rcx, rsi
call fcn.140004630
xor edx, edx
mov r8d, 0x104
lea r14, [0x1402d6820]
mov rcx, r14
call fcn.1401cc260
cmp qword [0x1402d5c30], 0x10
jb 0x140046988
mov rdx, qword [0x1402d5c18]
mov rcx, rdx
jmp 0x14004698e
mov rcx, rsi
mov rdx, rsi
mov r8, qword [0x1402d5c28]
add r8, rcx
sub r8, rdx
mov rcx, r14
call fcn.1401cbbb0
nop
lea rcx, [rbp - 0x50]
call fcn.140008940
xor r15d, r15d
jmp 0x140046692
lea rcx, [rbp + 0x30]
call fcn.14004bdf0
test rax, rax
jne 0x1400469f1
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0x68], 0
cmovne eax, r12d
or eax, dword [rbp + rcx + 0x30]
and eax, 0x17
mov dword [rbp + rcx + 0x30], eax
mov edx, dword [rbp + rcx + 0x34]
and edx, eax
jne 0x140046d75
lea rcx, [rbp - 0x78]
call fcn.140008940
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.140049a50
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x1c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0xd0]
call fcn.1401a7334
nop
lea rcx, [rbp - 0x20]
call fcn.140008780
nop
lea rcx, [rbp]
call fcn.140008780
mov rax, qword [0x1402d5b40]
mov rcx, qword [rax + 0x11e0]
cmp byte [rcx + 0xbb], 0
jne 0x140046aac
mov eax, dword [rcx + 0x1b4]
neg eax
sbb ecx, ecx
add ecx, 6
movss xmm1, dword [0x1402a1e10]
call fcn.14008b680
lea rcx, str.Font_Scale:
call fcn.140088ac0
movss xmm0, dword [0x1402a1e6c]
movss dword [rbp - 0x80], xmm0
movss xmm1, dword [0x1402a1dd0]
movss dword [rbp - 0x78], xmm1
lea rax, str._0.1f
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [0x1402d5c38]
mov edx, 8
lea rcx, str.fontScaleSlider
call fcn.14008d870
test al, al
je 0x140046b1b
mov rax, qword [0x1402d5b40]
movss xmm0, dword [0x1402d5c38]
movss dword [rax + 0x40], xmm0
mov qword [rbp - 0x78], 0
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, str.Reset_window_size
call fcn.140089430
test al, al
je 0x140046b98
mov dword [0x1402d5c40], 0x2da
mov dword [0x1402d5c44], 0x212
mov dword [rsp + 0x30], 0x206
mov dword [rsp + 0x28], 0x212
mov dword [rsp + 0x20], 0x2da
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1402d5b90]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [0x1402d5c38], 0x3f800000
mov rax, qword [0x1402d5b40]
mov dword [rax + 0x40], 0x3f800000
call fcn.14001f740
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1400700e0
mov edx, dword [0x1402d5c40]
mov dword [rbp - 0x68], edx
movabs rax, 0x1000000000000000
mov qword [rbp - 0x78], rax
mov eax, dword [0x1402d5c44]
mov dword [rbp - 0x64], eax
movabs rax, 0x1000000000000004
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x30], r12
lea rax, [rbp - 0x78]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm0
lea rax, str.0x1
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 7
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14000c920
nop
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
call fcn.140088ac0
nop
lea rcx, [rbp - 0x20]
call fcn.140008940
mov rax, qword [0x1402d5b40]
mov rcx, qword [rax + 0x11e0]
cmp byte [rcx + 0xbb], 0
jne 0x140046c59
mov eax, dword [rcx + 0x1b4]
neg eax
sbb ecx, ecx
add ecx, 6
movss xmm1, dword [0x1402a1e10]
call fcn.14008b680
lea r8, [0x1402d15b8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r8, qword [0x1402d15b8]
lea rdx, [0x1402d14e0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1402d14e0]
lea rcx, str.Programs_version:__s__Latest_version:__s
call fcn.140088ac0
cmp qword [0x1402dabb0], 0
je 0x140046cce
mov rax, qword [0x1402d5b40]
mov rcx, qword [rax + 0x11e0]
cmp byte [rcx + 0xbb], 0
jne 0x140046cce
mov eax, dword [rcx + 0x1b4]
neg eax
sbb ecx, ecx
add ecx, 6
movss xmm1, dword [0x1402a1e10]
call fcn.14008b680
cmp qword [0x1402dabb8], 0x10
cmovae r13, qword [0x1402daba0]
mov rcx, r13
call fcn.140088cb0
mov r8, qword [0x1402d5b40]
mov rax, qword [r8 + 0x11e0]
cmp byte [rax + 0xbb], 0
jne 0x140046d40
mov rdx, qword [r8 + 0x1eb0]
test rdx, rdx
je 0x140046d40
movsx rax, word [rdx + 0x70]
imul rcx, rax, 0x2c
mov rax, qword [rdx + 8]
test byte [rcx + rax + 4], 8
jne 0x140046d40
mov rax, qword [r8 + 0x11e0]
dec dword [rax + 0xf0]
jmp 0x140046d40
test ecx, ecx
jne 0x140046dc8
jmp 0x140046a68
mov byte [reloc.WS2_32.dll_accept], 1
mov rcx, qword [rbp + 0x950]
xor rcx, rsp
call fcn.1401c94c0
lea r11, [rsp + 0xa70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm7, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test dl, 4
je 0x140046d83
lea rbx, str.ios_base::badbit_set
jmp 0x140046d98
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x30]
call fcn.14001d080
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14001d690
lea rdx, [0x1402ccbd0]
lea rcx, [rsp + 0x58]
call fcn.1401cb97c
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, str.exists
call fcn.14001e470
nop
call fcn.140008c20
int3