Function at 0x14004f820
Capabilities:
Read .ini file

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x180
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, 0xffffffffffffffff
mov r12, rdx
mov rax, rbp
mov r13, rcx
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x14004f850
test rax, rax
je 0x14004faf4
mov qword [rsp + 0x1b0], rbx
mov rax, rbp
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x168], r14
xor r14b, r14b
mov qword [rsp + 0x160], r15
xor edi, edi
mov r15b, 0x41
mov byte [rsp + 0x30], r15b
inc rax
cmp byte [rcx + rax + 8], dil
jne 0x14004f892
mov qword [rsp + 0x178], rsi
test eax, eax
jle 0x14004f96c
lea r14, [rcx + 8]
movzx ecx, byte [r14]
mov rax, rbp
mov byte [rsp + 0x31], cl
nop dword [rax + rax]
inc rax
cmp byte [r13 + rax + 8], 0
jne 0x14004f8c0
dec eax
cmp edi, eax
jg 0x14004f94b
mov byte [rsp + 0x34], cl
lea rsi, [r13 + 0x110]
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x40]
lea r8, [0x14019945a]
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x34]
mov byte [rsp + 0x35], 0
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x40]
mov rax, rbp
inc rax
cmp byte [rcx + rax], 0
jne 0x14004f914
test eax, eax
je 0x14004f94b
lea rax, [rsp + 0x40]
mov r8, r12
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004f943
inc rax
test ecx, ecx
jne 0x14004f930
test edx, edx
je 0x14004f9d1
inc edi
mov rax, rbp
inc r14
inc rax
cmp byte [r13 + rax + 8], 0
jne 0x14004f953
cmp edi, eax
jl 0x14004f8b0
movzx r14d, byte [rsp + 0x31]
lea rsi, [0x14018ad7f]
movsx edi, r15b
mov ecx, edi
call fcn.14013166c
mov edx, eax
lea rcx, [r13 + 8]
call fcn.140120fe0
test rax, rax
jne 0x14004f9a1
mov edx, edi
lea rcx, [0x14019d6f0]
call fcn.140120fe0
test rax, rax
je 0x14004fa05
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004f9c3
inc rax
test ecx, ecx
jne 0x14004f9b0
test edx, edx
jg 0x14004fa05
inc r15b
mov byte [rsp + 0x30], r15b
jmp 0x14004f973
movsxd rdx, edi
test edi, edi
jle 0x14004f9f3
nop dword [rax + rax]
movzx eax, byte [rdx + r13 + 7]
mov byte [r13 + rdx + 8], al
dec rdx
test rdx, rdx
jg 0x14004f9e0
movzx r14d, byte [rsp + 0x31]
mov r9, rsi
mov byte [r13 + 8], r14b
jmp 0x14004fab4
lea rax, [rsp + 0x30]
sub rsi, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rsi]
sub edx, ecx
jne 0x14004fa22
inc rax
test ecx, ecx
jne 0x14004fa10
test edx, edx
jle 0x14004fa42
movzx r15d, r14b
mov rax, rbp
nop dword [rax]
cmp byte [r13 + rax + 9], 0
lea rax, [rax + 1]
jne 0x14004fa30
mov byte [rax + r13 + 7], 0
lea r9, [r13 + 0x110]
mov byte [rsp + 0x38], r15b
mov r8, r12
mov byte [rsp + 0x39], 0
lea rdx, [rsp + 0x38]
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
nop dword [rax + rax]
inc rbp
cmp byte [r13 + rbp + 8], 0
jne 0x14004fa70
add ebp, 1
movsxd rcx, ebp
js 0x14004faa1
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r13 + 7]
mov byte [r13 + rcx + 8], al
sub rcx, 1
jns 0x14004fa90
mov byte [r13 + 0x108], 0
lea r9, [r13 + 0x110]
mov byte [r13 + 8], r15b
lea r8, [r13 + 8]
lea rdx, str.index
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rsi, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x170]
mov r14, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x1b0]
mov r15, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14011c340
add rsp, 0x180
pop r13
pop r12
pop rbp
ret