Function at 0x14002a9a0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
lea rbp, [rsp + 0x40]
mov rax, qword [0x14035dc30]
xor rax, rbp
mov qword [rbp + 0x90], rax
mov r15, r9
mov qword [rbp + 8], r8
mov rbx, rcx
mov qword [rbp + 0x18], rcx
mov r13, rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x30], r9
mov rsi, qword [rbp + 0x110]
mov qword [rbp + 0x38], rsi
mov dword [rbp + 0x50], 0x4752434d
mov r14d, 1
mov qword [rbp + 0x54], r14
xor r12d, r12d
mov dword [rbp + 0x5c], r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x70], eax
test rsi, rsi
jne 0x14002aa23
mov eax, r14d
jmp 0x14002ad74
mov eax, dword [rcx]
test eax, eax
jne 0x14002ad74
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdx + rax*2], r12w
jne 0x14002aa34
lea rcx, [rax*4 + 3]
mov qword [rbp], rcx
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x14002aa5e
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140269fb0
sub rsp, rax
lea rdi, [rsp + 0x40]
mov qword [rbp + 0x10], rdi
jmp 0x14002aaad
test rdi, rdi
je 0x14002ad6f
mov byte [rdi], 0x5f
mov dword [rbp + 0x48], r12d
lea r8, [rdi + 1]
mov qword [rbp], r8
lea eax, [rcx - 1]
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 0xffffffff
mov r8, rdx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x14002ad00
cmp dword [rbp + 0x48], 0
je 0x14002ab0a
mov eax, 0x574
jmp 0x14002ad74
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0x50]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
jne 0x14002ab4e
mov eax, r12d
mov dword [rbp + 0x60], eax
mov dword [rbp + 0x5c], r14d
test r15, r15
jne 0x14002ab47
mov edi, 0x1400
mov dword [rbp + 0x58], edi
jmp 0x14002ab58
mov edi, dword [rsi]
mov dword [rbp + 0x58], edi
jmp 0x14002ab58
mov eax, dword [rbp + 0x60]
mov r14d, dword [rbp + 0x5c]
mov edi, dword [rbp + 0x58]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14002ab64
mov dword [rcx], r14d
test r15, r15
jne 0x14002ab84
cmp r14d, 1
jne 0x14002ab7b
lea eax, [rdi + rdi]
mov dword [rsi], eax
xor eax, eax
jmp 0x14002ad74
mov dword [rsi], edi
xor eax, eax
jmp 0x14002ad74
movsxd rcx, dword [rsi]
cmp ecx, edi
jb 0x14002abbf
test eax, eax
je 0x14002accd
cmp r14d, 1
jne 0x14002ac86
cmp edi, dword [rbx + 0x20]
jbe 0x14002abd0
mov rcx, qword [rbx + 0x18]
call fcn.1402767a0
mov ecx, edi
call fcn.14027bb00
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14002abc9
mov dword [r13 + 0x20], r12d
mov eax, 8
jmp 0x14002ad74
mov dword [r13 + 0x20], edi
mov edi, dword [rbp + 0x58]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, qword [rbx + 0x18]
mov rdx, qword [rbp]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
je 0x14002ad00
mov rdx, qword [rbx + 0x18]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8d, dword [rbp + 0x58]
call fcn.14002b230
test eax, eax
jne 0x14002ad74
movsxd rax, dword [rsi]
shr rax, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9d, 0xffffffff
mov r8, qword [rbx + 0x18]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x14002ac7b
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0xffffffff
mov r8, qword [rbx + 0x18]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, eax
mov dword [rsi], eax
mov eax, 0xea
jmp 0x14002ad74
add eax, eax
mov dword [rsi], eax
xor eax, eax
jmp 0x14002ad74
mov dword [rsi], edi
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r15
mov rdx, qword [rbp]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
je 0x14002ad00
mov qword [rsp + 0x30], rsi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r8d, dword [rbp + 0x58]
mov rdx, r15
call fcn.14002b230
jmp 0x14002ad74
sub r14d, 1
je 0x14002ad3a
mov dword [rsi], edi
mov rdx, qword [rbp]
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
cmp r14d, 3
je 0x14002ad08
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
jne 0x14002ab74
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002ad74
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, [rbp + 0x78]
lea r8, [0x1402f7cc0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14002ad00
lea rcx, [rbp + 0x78]
call fcn.140277ba0
mov dword [r15], eax
xor eax, eax
jmp 0x14002ad74
mov rdi, rcx
cmp rcx, 2
jb 0x14002abbf
shr rdi, 1
mov dword [rbp + 0x58], edi
cmp edi, dword [rbx + 0x20]
jbe 0x14002ad9e
mov rcx, qword [rbx + 0x18]
call fcn.1402767a0
mov ecx, edi
call fcn.14027bb00
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14002ad97
mov dword [r13 + 0x20], r12d
mov eax, 0x3e9
mov rcx, qword [rbp + 0x90]
xor rcx, rbp
call fcn.140269300
lea rsp, [rbp + 0xa8]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [r13 + 0x20], edi
mov edi, dword [rbp + 0x58]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, qword [rbx + 0x18]
lea r8, [0x1402f7cc0]
mov rdx, qword [rbp]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14002ad00
movsxd rax, dword [rsi]
shr rax, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9d, 0xffffffff
mov r8, qword [rbx + 0x18]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x14002ab74
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002ad74