Function at 0x14001b570
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x640
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401f3660]
xor rax, rsp
mov qword [rsp + 0x630], rax
mov r12, rcx
lea r15, str.OfcDDAProtocol::Init
mov qword [rsp + 0x20], r15
lea r9, [0x1401cdac8]
mov r8d, 0x5a
lea rdx, [0x1401cfa78]
lea ecx, [r8 - 0x16]
call fcn.140038200
mov word [rsp + 0x420], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x422]
call fcn.140041940
mov r8d, 0x104
lea rdx, [rsp + 0x420]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r14d, r14d
test eax, eax
je 0x14001b77e
mov dx, 0x5c
lea rcx, [rsp + 0x420]
call fcn.1400480d0
test rax, rax
je 0x14001b77e
mov word [rax], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x420]
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
mov rdx, qword [r12 + 0x210]
cmp rdx, 8
jb 0x14001b667
lea rdi, [r12 + 0x1f8]
mov rax, qword [rdi]
jmp 0x14001b672
lea rdi, [r12 + 0x1f8]
mov rax, rdi
lea rcx, [rsp + 0x420]
cmp rcx, rax
jb 0x14001b6da
cmp rdx, 8
jb 0x14001b68a
mov rcx, qword [rdi]
jmp 0x14001b68d
mov rcx, rdi
mov rax, qword [r12 + 0x208]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x420]
cmp rcx, rax
jbe 0x14001b6da
cmp rdx, 8
jb 0x14001b6af
mov rdi, qword [rdi]
lea r8, [rsp + 0x420]
sub r8, rdi
sar r8, 1
mov r9, rsi
lea rdx, [r12 + 0x1f0]
lea rcx, [r12 + 0x1f0]
call fcn.14000b430
jmp 0x14001b77e
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x14001b6ee
call fcn.14003b3f0
mov rax, qword [r12 + 0x210]
cmp rax, rsi
jae 0x14001b715
mov r8, qword [r12 + 0x208]
mov rdx, rsi
lea rcx, [r12 + 0x1f0]
call fcn.14000ba60
jmp 0x14001b731
test rsi, rsi
jne 0x14001b731
mov qword [r12 + 0x208], r14
cmp rax, 8
jb 0x14001b72b
mov rdi, qword [rdi]
mov word [rdi], r14w
jmp 0x14001b77e
test rsi, rsi
je 0x14001b77e
mov rdx, qword [r12 + 0x210]
cmp rdx, 8
jb 0x14001b749
mov rcx, qword [rdi]
jmp 0x14001b74c
mov rcx, rdi
lea rbp, [rsi + rsi]
add rdx, rdx
mov r9, rbp
lea r8, [rsp + 0x420]
call fcn.140041310
mov qword [r12 + 0x208], rsi
cmp qword [r12 + 0x210], 8
jb 0x14001b779
mov rdi, qword [rdi]
mov word [rdi + rbp], r14w
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r14
mov word [rsp + 0xc8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [r12 + 0x218]
lea rcx, [rsp + 0xc0]
call fcn.14000b430
nop
cmp qword [r12 + 0x230], 0
jne 0x14001b84c
lea rdx, [r12 + 0x1f0]
lea r8, [0x1401cd148]
lea rcx, [rsp + 0x70]
call fcn.14001e0c0
nop
lea r8, [0x1401f30a8]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001e1b0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000b430
nop
cmp qword [rsp + 0x60], 8
jb 0x14001b820
mov rcx, qword [rsp + 0x48]
call fcn.140041700
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], 0
cmp qword [rsp + 0x90], 8
jb 0x14001b868
mov rcx, qword [rsp + 0x78]
call fcn.140041700
jmp 0x14001b868
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [r12 + 0x218]
lea rcx, [rsp + 0xc0]
call fcn.14000b430
mov qword [rsp + 0xb8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xb0], r14
mov byte [rsp + 0xa0], 0
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x98]
call fcn.140037000
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rdx, qword [rsp + 0xa0]
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, str._s___server_ini_path___s___S_
mov r8d, WSACleanup
lea rdx, [0x1401cfa78]
lea ecx, [r8 - 0x2e]
call fcn.140038200
mov byte [rsp + 0x310], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x311]
call fcn.140041940
mov byte [rsp + 0x200], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x201]
call fcn.140041940
mov byte [rsp + 0xf0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0xf1]
call fcn.140041940
lea r9, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae r9, qword [rsp + 0xa0]
lea rdx, [0x14023bba0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14023bba0]
lea r13, [0x1401f3088]
mov rcx, r13
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1401f3088]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne al
mov byte [r12 + 0x168], al
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rax, qword [rsp + 0xa0]
lea rdx, [0x14023bbc8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14023bbc8]
mov rcx, r13
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1401f3088]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x310]
lea r8, [0x1401cd152]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x310]
repne scasb al, byte [rdi]
not rcx
lea rbx, [rcx - 1]
mov rdx, qword [r12 + 0x190]
cmp rdx, 0x10
jb 0x14001ba66
lea rdi, [r12 + 0x178]
mov rax, qword [rdi]
jmp 0x14001ba71
lea rdi, [r12 + 0x178]
mov rax, rdi
lea rcx, [rsp + 0x310]
cmp rcx, rax
jb 0x14001bad2
cmp rdx, 0x10
jb 0x14001ba89
mov rcx, qword [rdi]
jmp 0x14001ba8c
mov rcx, rdi
add rcx, qword [r12 + 0x188]
lea rax, [rsp + 0x310]
cmp rcx, rax
jbe 0x14001bad2
cmp rdx, 0x10
jb 0x14001baaa
mov rdi, qword [rdi]
lea r8, [rsp + 0x310]
sub r8, rdi
mov r9, rbx
lea rdx, [r12 + 0x170]
lea rcx, [r12 + 0x170]
call fcn.1400023d0
jmp 0x14001bb64
cmp rbx, 0xfffffffffffffffe
jbe 0x14001badd
call fcn.14003b3f0
mov rax, qword [r12 + 0x190]
cmp rax, rbx
jae 0x14001bb04
mov r8, qword [r12 + 0x188]
mov rdx, rbx
lea rcx, [r12 + 0x170]
call fcn.1400026b0
jmp 0x14001bb1f
test rbx, rbx
jne 0x14001bb1f
mov qword [r12 + 0x188], r14
cmp rax, 0x10
jb 0x14001bb1a
mov rdi, qword [rdi]
mov byte [rdi], 0
jmp 0x14001bb64
test rbx, rbx
je 0x14001bb64
mov rdx, qword [r12 + 0x190]
cmp rdx, 0x10
jb 0x14001bb37
mov rcx, qword [rdi]
jmp 0x14001bb3a
mov rcx, rdi
mov r9, rbx
lea r8, [rsp + 0x310]
call fcn.140041310
mov qword [r12 + 0x188], rbx
cmp qword [r12 + 0x190], 0x10
jb 0x14001bb60
mov rdi, qword [rdi]
mov byte [rdi + rbx], 0
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rax, qword [rsp + 0xa0]
lea rdx, [0x14023bbf0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14023bbf0]
mov rcx, r13
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1401f3088]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x200]
lea r8, [0x1401cd152]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x200]
repne scasb al, byte [rdi]
not rcx
lea rbp, [rcx - 1]
mov rdx, qword [r12 + 0x1b8]
cmp rdx, 0x10
jb 0x14001bbfc
lea rdi, [r12 + 0x1a0]
mov rax, qword [rdi]
jmp 0x14001bc07
lea rdi, [r12 + 0x1a0]
mov rax, rdi
lea rcx, [rsp + 0x200]
cmp rcx, rax
jb 0x14001bc68
cmp rdx, 0x10
jb 0x14001bc1f
mov rcx, qword [rdi]
jmp 0x14001bc22
mov rcx, rdi
add rcx, qword [r12 + 0x1b0]
lea rax, [rsp + 0x200]
cmp rcx, rax
jbe 0x14001bc68
cmp rdx, 0x10
jb 0x14001bc40
mov rdi, qword [rdi]
lea r8, [rsp + 0x200]
sub r8, rdi
mov r9, rbp
lea rdx, [r12 + 0x198]
lea rcx, [r12 + 0x198]
call fcn.1400023d0
jmp 0x14001bcfa
cmp rbp, 0xfffffffffffffffe
jbe 0x14001bc73
call fcn.14003b3f0
mov rax, qword [r12 + 0x1b8]
cmp rax, rbp
jae 0x14001bc9a
mov r8, qword [r12 + 0x1b0]
mov rdx, rbp
lea rcx, [r12 + 0x198]
call fcn.1400026b0
jmp 0x14001bcb5
test rbp, rbp
jne 0x14001bcb5
mov qword [r12 + 0x1b0], r14
cmp rax, 0x10
jb 0x14001bcb0
mov rdi, qword [rdi]
mov byte [rdi], 0
jmp 0x14001bcfa
test rbp, rbp
je 0x14001bcfa
mov rdx, qword [r12 + 0x1b8]
cmp rdx, 0x10
jb 0x14001bccd
mov rcx, qword [rdi]
jmp 0x14001bcd0
mov rcx, rdi
mov r9, rbp
lea r8, [rsp + 0x200]
call fcn.140041310
mov qword [r12 + 0x1b0], rbp
cmp qword [r12 + 0x1b8], 0x10
jb 0x14001bcf6
mov rdi, qword [rdi]
mov byte [rdi + rbp], 0
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rax, qword [rsp + 0xa0]
lea rdx, [0x14023bc18]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14023bc18]
mov rcx, r13
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1401f3088]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xf0]
lea r8, [0x1401cd152]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, str._CRYPT
lea rcx, [rsp + 0xf0]
call fcn.140041170
test rax, rax
je 0x14001bd86
lea rcx, [rsp + 0xf0]
call fcn.14003b100
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xf0]
repne scasb al, byte [rdi]
not rcx
lea rbp, [rcx - 1]
mov rdx, qword [r12 + 0x1e0]
cmp rdx, 0x10
jb 0x14001bdb8
lea rdi, [r12 + 0x1c8]
mov rax, qword [rdi]
jmp 0x14001bdc3
lea rdi, [r12 + 0x1c8]
mov rax, rdi
lea rcx, [rsp + 0xf0]
cmp rcx, rax
jb 0x14001be24
cmp rdx, 0x10
jb 0x14001bddb
mov rcx, qword [rdi]
jmp 0x14001bdde
mov rcx, rdi
add rcx, qword [r12 + 0x1d8]
lea rax, [rsp + 0xf0]
cmp rcx, rax
jbe 0x14001be24
cmp rdx, 0x10
jb 0x14001bdfc
mov rdi, qword [rdi]
lea r8, [rsp + 0xf0]
sub r8, rdi
mov r9, rbp
lea rdx, [r12 + 0x1c0]
lea rcx, [r12 + 0x1c0]
call fcn.1400023d0
jmp 0x14001beb6
cmp rbp, 0xfffffffffffffffe
jbe 0x14001be2f
call fcn.14003b3f0
mov rax, qword [r12 + 0x1e0]
cmp rax, rbp
jae 0x14001be56
mov r8, qword [r12 + 0x1d8]
mov rdx, rbp
lea rcx, [r12 + 0x1c0]
call fcn.1400026b0
jmp 0x14001be71
test rbp, rbp
jne 0x14001be71
mov qword [r12 + 0x1d8], r14
cmp rax, 0x10
jb 0x14001be6c
mov rdi, qword [rdi]
mov byte [rdi], 0
jmp 0x14001beb6
test rbp, rbp
je 0x14001beb6
mov rdx, qword [r12 + 0x1e0]
cmp rdx, 0x10
jb 0x14001be89
mov rcx, qword [rdi]
jmp 0x14001be8c
mov rcx, rdi
mov r9, rbp
lea r8, [rsp + 0xf0]
call fcn.140041310
mov qword [r12 + 0x1d8], rbp
cmp qword [r12 + 0x1e0], 0x10
jb 0x14001beb2
mov rdi, qword [rdi]
mov byte [rdi + rbp], 0
lea r9, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae r9, qword [rsp + 0xa0]
lea rdx, [0x14023bc40]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14023bc40]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r13, qword [0x1401f3088]
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [r12 + 0x1e8], eax
lea rcx, [r12 + 0x50]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [r12 + 0x170]
call fcn.1400023d0
lea rcx, [r12 + 0x140]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [r12 + 0x1c0]
call fcn.1400023d0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
lea r9, str._s_______err__d_
mov r8d, Ordinal_143
lea rdx, [0x1401cfa78]
lea ecx, [r8 - 0x46]
call fcn.140038200
nop
cmp qword [rsp + 0xb8], 0x10
jb 0x14001bf80
mov rcx, qword [rsp + 0xa0]
call fcn.140041700
mov qword [rsp + 0xb8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xb0], r14
mov byte [rsp + 0xa0], 0
cmp qword [rsp + 0xe0], 8
jb 0x14001bfb8
mov rcx, qword [rsp + 0xc8]
call fcn.140041700
xor eax, eax
jmp 0x14001bfba
xor eax, eax
mov rcx, qword [rsp + 0x630]
xor rcx, rsp
call fcn.140041910
lea r11, [rsp + 0x640]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret