Function at 0x140017fc0
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbp
push rsi
lea rbp, [r11 - 0x218]
sub rsp, 0x308
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov qword [r11 + 0x10], rbx
lea rax, [0x14002a670]
mov qword [r11 + 0x20], r14
xor r14d, r14d
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r14
mov qword [r11 - 0x18], r15
lea edx, [r14 + 0x65]
mov r15, rcx
mov rcx, qword [rcx + 0x720]
mov rax, qword [rcx + 0xb98]
mov qword [rbp - 0x78], rax
mov rcx, qword [rcx + 0xb98]
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x70], rax
mov rax, qword [r15 + 0xd748]
mov ecx, dword [rax + 0x358]
test ecx, ecx
je 0x140018057
cmp ecx, 2
je 0x14001804e
lea edx, [r14 + 0x69]
jmp 0x14001805c
mov edx, 0x7f00
xor ecx, ecx
jmp 0x14001806a
mov edx, 0x8e
mov rcx, qword [r15 + 0x720]
mov rcx, qword [rcx + 0xb98]
call qword [sym.imp.USER32.dll_LoadCursorA]
movdqa xmm0, xmmword [reloc.WS2_32.dll_recv]
lea rbx, str.VNCviewer
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x330], rdi
mov qword [rbp - 0x50], rbx
call qword [sym.imp.USER32.dll_RegisterClassA]
mov rcx, qword [r15 + 0xd760]
lea rdx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rax, qword [r15 + 0x720]
lea r8, str.VNC_ToolBar
mov ecx, dword [rbp - 0x30]
mov r9d, 0x40000000
sub ecx, dword [rbp - 0x38]
mov rdx, rbx
mov qword [rsp + 0x58], r14
mov rax, qword [rax + 0xb98]
mov qword [rsp + 0x50], rax
mov rax, qword [r15 + 0xd760]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x1c
mov dword [rsp + 0x30], ecx
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r8, r15
mov edx, 0xffffffeb
mov rcx, rax
mov qword [r15 + 0x12d0], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [r15 + 0x12d0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [rbp - 0x30]
mov edx, r14d
sub eax, dword [rbp - 0x38]
mov rcx, r15
mov r8d, dword [r15 + 0x55e4]
cmp eax, 0x231
setle dl
call fcn.1400174c0
mov rcx, qword [r15 + 0x12d0]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [r15 + 0x720]
mov r9d, reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x28], 0x8000
xor r8d, r8d
mov edx, 0xa1
mov dword [rsp + 0x20], shutdown
mov rcx, qword [rcx + 0xb98]
call qword [sym.imp.USER32.dll_LoadImageA]
mov rcx, qword [r15 + 0x720]
mov r9d, reloc.WS2_32.dll_shutdown
mov qword [r15 + 0x5298], rax
xor r8d, r8d
mov dword [rsp + 0x28], 0x8000
mov edx, 0xae
mov dword [rsp + 0x20], shutdown
mov rcx, qword [rcx + 0xb98]
call qword [sym.imp.USER32.dll_LoadImageA]
mov rcx, qword [r15 + 0x720]
mov r9d, reloc.WS2_32.dll_shutdown
mov qword [r15 + 0x5288], rax
xor r8d, r8d
mov dword [rsp + 0x28], 0x8000
mov edx, 0xa2
mov dword [rsp + 0x20], shutdown
mov rcx, qword [rcx + 0xb98]
call qword [sym.imp.USER32.dll_LoadImageA]
mov rcx, qword [r15 + 0x12e0]
mov qword [r15 + 0x5290], rax
test rcx, rcx
je 0x1400182a0
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [r15 + 0x5298]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x38], r14d
xor r8d, r8d
mov dword [rsp + 0x30], r14d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov rcx, rsi
mov dword [rsp + 0x20], reloc.WS2_32.dll_shutdown
mov rbx, rax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [r15 + 0x12e0]
mov rdx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rax, qword [r15 + 0x720]
lea r8, [0x14019581a]
mov ecx, dword [rbp - 0x30]
lea rdx, str.combobox
sub ecx, dword [rbp - 0x38]
mov r9d, 0x50210041
mov qword [rsp + 0x58], r14
sub ecx, 0x73
mov rax, qword [rax + 0xb98]
mov qword [rsp + 0x50], rax
mov rax, qword [r15 + 0x12d0]
mov qword [rsp + 0x48], 0x270f
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x1c
mov dword [rsp + 0x30], 0x46
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [rbp - 0x30]
lea r8, [0x14019581a]
sub ecx, dword [rbp - 0x38]
lea rdx, str.button
mov qword [rsp + 0x58], r14
sub ecx, 0x13b
mov qword [r15 + 0x12e8], rax
mov r9d, 0x50010000
mov rax, qword [r15 + 0x720]
mov rax, qword [rax + 0xb98]
mov qword [rsp + 0x50], rax
mov rax, qword [r15 + 0x12d0]
mov qword [rsp + 0x48], 0x270e
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], shutdown
mov dword [rsp + 0x30], shutdown
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, 0x218
mov qword [r15 + 0x12f0], rax
call fcn.14011b0e4
mov rcx, rax
mov qword [rbp - 0x40], rax
call fcn.140050070
mov rsi, rax
cmp byte [r15 + 0x29d], r14b
je 0x14001841e
lea rdx, [r15 + 0x1a3]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], r14b
jne 0x1400183c0
test rcx, rcx
je 0x14001841e
mov eax, dword [r15 + 0xa4]
lea r9, [r15 + 0xa9]
mov dword [rsp + 0x30], eax
lea r8, str._s:_li___s:_li_
mov eax, dword [r15 + 0xa0]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rdx
mov edx, 0xf9
mov dword [rsp + 0x20], eax
call fcn.14002d7c0
mov rcx, qword [r15 + 0x12e8]
lea r9, [rbp - 0x10]
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax + 8], r14b
jne 0x140018425
test eax, eax
jle 0x1400184e3
lea rdi, [rsi + 8]
nop dword [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rsi + rax + 8], 0
jne 0x140018450
dec eax
cmp r14d, eax
jg 0x1400184a1
movzx eax, byte [rdi]
lea r9, [rbp + 0xf0]
mov byte [rsp + 0x60], al
lea r8, [0x14019581a]
lea rax, [rsi + 0x110]
mov byte [rsp + 0x61], 0
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x60]
lea rcx, str.connection
mov dword [rsp + 0x20], 0xff
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rcx, qword [r15 + 0x12e8]
lea r9, [rbp + 0xf0]
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
inc r14d
mov rax, 0xffffffffffffffff
inc rdi
nop word [rax + rax]
inc rax
cmp byte [rsi + rax + 8], 0
jne 0x1400184d0
cmp r14d, eax
jl 0x140018440
mov rcx, qword [r15 + 0x12e8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageA]
mov r15, qword [rsp + 0x300]
mov r14, qword [rsp + 0x338]
mov rdi, qword [rsp + 0x330]
mov rbx, qword [rsp + 0x328]
test rsi, rsi
je 0x14001852d
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x308
pop rsi
pop rbp
ret