Function at 0x140155880
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x9b0], rax
mov ebx, r9d
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x40], rdx
xor r15d, r15d
lea rdx, str.CBaseMsgMgr::GetDebugMsg
lea rcx, [rsp + 0x50]
call fcn.14001abe0
nop
lea rax, [0x1402a8360]
lea r14, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rax
je 0x14015591a
test byte [rcx + 0x1c], 1
je 0x14015591a
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [r15 + 0x10]
lea r8, [0x1402646b0]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1b0]
call fcn.1401e7e40
mov r8d, 0x104
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r13, [0x140251dfc]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x140155afc
lea edx, [rdi + 0x5d]
lea rcx, [rbp - 0x60]
call fcn.1401e768c
lea rdx, [0x14025421c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140251df8]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.DebugSettings.ini
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140155cee
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r8d, ebx
lea rdx, str.INPUT__d
lea rcx, [rsp + 0x30]
call fcn.140018e20
mov rbx, qword [rsp + 0x30]
mov rcx, qword [0x1402a8360]
lea r15, [0x1402a8360]
cmp rcx, r15
je 0x140155aaf
test byte [rcx + 0x1c], 4
je 0x140155a38
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rdi + 0x12]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r8, [0x1402646b0]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140155aaf
test byte [rcx + 0x1c], 4
je 0x140155a77
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, send
mov qword [rsp + 0x20], r12
lea r8, [0x1402646b0]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140155aaf
test byte [rcx + 0x1c], 4
je 0x140155aaf
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_send
mov qword [rsp + 0x20], rbx
lea r8, [0x1402646b0]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rbp + 0x1b0]
mov r8, r13
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r15d, eax
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140155afc
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov byte [rsp + 0x58], 1
mov rcx, qword [0x1402a8360]
lea rbx, [0x1402a8360]
cmp rcx, rbx
je 0x140155b42
test byte [rcx + 0x1c], 1
je 0x140155b42
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, socket
lea r8, [0x1402646b0]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
call fcn.1401bb0c4
mov rcx, rax
test r15d, r15d
je 0x140155bfc
test rax, rax
je 0x140155cee
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsi], rax
lea rax, [rbp + 0x1b0]
cmp rax, 0x10000
lea rax, [rbp + 0x1b0]
jae 0x140155b93
movzx edx, ax
mov rcx, rsi
call fcn.1400041d0
jmp 0x140155bb0
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140155b93
mov r8d, edi
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call fcn.140004e60
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x50], rax
cmp byte [rsp + 0x58], 0
jne 0x140155cae
mov rcx, qword [0x1402a8360]
cmp rcx, rbx
je 0x140155cae
test byte [rcx + 0x1c], 1
je 0x140155cae
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
jmp 0x140155c86
test rax, rax
je 0x140155cee
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsi], rax
cmp r13, 0x10000
jae 0x140155c30
movzx edx, r13w
mov rcx, rsi
call fcn.1400041d0
jmp 0x140155c4b
inc rdi
cmp word [r13 + rdi*2], 0
jne 0x140155c30
mov r8d, edi
mov rdx, r13
mov rcx, rsi
call fcn.140004e60
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x50], rax
cmp byte [rsp + 0x58], 0
jne 0x140155cae
mov rcx, qword [0x1402a8360]
cmp rcx, rbx
je 0x140155cae
test byte [rcx + 0x1c], 1
je 0x140155cae
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
mov qword [rsp + 0x20], r8
cmp qword [0x1402bbdc8], 8
cmovae r14, qword [0x1402bbdb0]
mov r9, r14
lea r8, [0x140252818]
mov edx, 0xa
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x80]
call fcn.1400048a0
lea rcx, [rsp + 0x60]
call fcn.1400048a0
mov rax, rsi
mov rcx, qword [rbp + 0x9b0]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0xb00]
add rsp, 0xac0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
int3