Function at 0x140033060
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14013f130]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 8], rsi
lea rax, vtable.kas::MagnifierLib.0
mov qword [rcx], rax
mov byte [rcx + 0x10], sil
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x60], rsi
mov qword [rcx + 0x68], rsi
mov qword [rcx + 0x70], rsi
mov dword [rcx + 0x78], 0x780
mov qword [rcx + 0x7c], 0x438
mov qword [rcx + 0x88], rsi
mov qword [rcx + 0x90], rsi
mov qword [rcx + 0x98], rsi
mov qword [rcx + 0xa0], rsi
mov qword [rcx + 0xa8], rsi
mov qword [rcx + 0xb0], rsi
mov qword [rcx + 0xb8], rsi
mov qword [rcx + 0xc0], rsi
mov qword [rcx + 0xc8], rsi
mov qword [rcx + 0xd0], rsi
mov qword [rcx + 0xd8], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call fcn.1400b93c0
mov edx, 0x104
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1400331b7
movdqa xmm0, xmmword [0x14010a4d0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000e470
nop
lea r8d, [rsi + 0x12]
lea rdx, str._Magnification.dll
lea rcx, [rsp + 0x38]
call fcn.1400172e0
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140045e50
nop
lea rcx, [rsp + 0x38]
call fcn.140006e90
mov rax, qword [rdi + 8]
test rax, rax
jne 0x14003320a
movdqa xmm0, xmmword [0x14010a4d0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
lea rdx, str.Magnification.dll
lea rcx, [rsp + 0x38]
call fcn.14000e470
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140045e50
nop
lea rcx, [rsp + 0x38]
call fcn.140006e90
mov rax, qword [rdi + 8]
test rax, rax
je 0x140034220
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.MagInitialize
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140033242
mov rax, rsi
jmp 0x140033259
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x98], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
lea r13, [0x1400fdef8]
lea r12, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
cmp qword [rdi + 0x98], 0
jne 0x1400333e5
call fcn.140084bd0
cmp eax, 1
jl 0x1400333e5
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagInitialize
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
mov r14d, 5
lea rdx, [rsp + 0x38]
lea ecx, [r14 - 4]
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, send
lea rdx, str.MagUninitialize
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x14003341d
mov rax, rsi
jmp 0x140033434
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa0], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xa0], 0
jne 0x1400335ab
call fcn.140084bd0
cmp eax, 1
jl 0x1400335ab
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
or r14d, 8
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagUninitialize
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
or r14d, 0x20
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.MagSetWindowSource
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400335e3
mov rax, rsi
jmp 0x1400335fa
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa8], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xa8], 0
jne 0x140033772
call fcn.140084bd0
cmp eax, 1
jl 0x140033772
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
or r14d, 0x40
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagSetWindowSource
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
bts r14d, 8
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.MagGetWindowSource
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400337aa
mov rax, rsi
jmp 0x1400337c1
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb0], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xb0], 0
jne 0x14003393a
call fcn.140084bd0
cmp eax, 1
jl 0x14003393a
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
bts r14d, 9
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagGetWindowSource
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
bts r14d, 0xb
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.MagSetWindowTransform
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140033972
mov rax, rsi
jmp 0x140033989
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb8], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xb8], 0
jne 0x140033b02
call fcn.140084bd0
cmp eax, 1
jl 0x140033b02
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
bts r14d, 0xc
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagSetWindowTransform
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
bts r14d, 0xe
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.MagGetWindowTransform
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140033b3a
mov rax, rsi
jmp 0x140033b51
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc0], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xc0], 0
jne 0x140033cca
call fcn.140084bd0
cmp eax, 1
jl 0x140033cca
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
bts r14d, 0xf
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagGetWindowTransform
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
bts r14d, 0x11
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, socket
lea rdx, str.MagSetWindowFilterList
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140033d02
mov rax, rsi
jmp 0x140033d19
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc8], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xc8], 0
jne 0x140033e92
call fcn.140084bd0
cmp eax, 1
jl 0x140033e92
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
bts r14d, 0x12
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagSetWindowFilterList
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
bts r14d, 0x14
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, socket
lea rdx, str.MagGetWindowFilterList
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140033eca
mov rax, rsi
jmp 0x140033ee1
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xd0], rax
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xd0], 0
jne 0x14003405a
call fcn.140084bd0
cmp eax, 1
jl 0x14003405a
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
bts r14d, 0x15
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagGetWindowFilterList
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
bts r14d, 0x17
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
movdqa xmm0, xmmword [0x14010a4e0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, 0x1a
lea rdx, str.MagSetImageScalingCallback
lea rcx, [rsp + 0x38]
call fcn.140007260
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400340a7
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rdi + 0xd8], rsi
lea rcx, [rsp + 0x38]
call fcn.140007080
cmp qword [rdi + 0xd8], 0
jne 0x140034220
call fcn.140084bd0
cmp eax, 1
jl 0x140034220
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.1400b93c0
mov qword [rsp + 0x60], r13
bts r14d, 0x18
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400075d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], r8d
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140009f10
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._screen_
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierLib__GetProcAddress_failed_on
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagSetImageScalingCallback
call fcn.14000ae60
mov rcx, rax
lea rdx, str.__err
call fcn.14000ae60
mov rcx, rax
mov edx, ebx
call fcn.14000e310
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140009e60
nop
lea rdx, [rsp + 0x38]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x38]
call fcn.140007080
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140008ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x5c], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140097eb0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14009ab00
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret