Function at 0x140063c90
Capabilities:
Read .ini file

Disassembly:
push rbx
push rdi
push r12
push r13
sub rsp, 0x48
mov r13, rdx
lea r8, [rsp + 0x20]
mov rdi, rcx
xorps xmm0, xmm0
mov ebx, 0x100
lea rcx, [rsp + 0x20]
xor r12d, r12d
mov edx, ebx
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
call fcn.140036e80
mov rcx, qword [rsp + 0x20]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov ecx, eax
cmp eax, 0xfe
jb 0x140063d10
lea eax, [rbx + rbx]
mov edx, eax
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.140036e80
mov rcx, qword [rsp + 0x20]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov ecx, eax
lea eax, [rbx - 2]
cmp ecx, eax
jae 0x140063ce1
mov qword [rsp + 0x70], rbp
lea edx, [rcx + 1]
mov qword [rsp + 0x78], rsi
lea r8, [rsp + 0x20]
mov qword [rsp + 0x88], r14
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], r15
call fcn.140036e80
mov rdi, qword [rsp + 0x20]
cmp word [rdi], r12w
je 0x140063f33
call fcn.1400045e0
test rax, rax
je 0x140063f93
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x80], rbx
test rdi, 0xffffffffffff0000
jne 0x140063e81
xor edx, edx
movzx r14d, di
lea rcx, [0x1416b2080]
call fcn.140071a50
mov rsi, rax
mov ebp, 1
test rax, rax
je 0x140063eb5
mov r15d, r14d
shr r15, 4
xor r9d, r9d
lea r8, [r15 + 1]
mov rcx, rsi
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x140063dce
mov r8d, r14d
mov rdx, rax
mov rcx, rsi
call fcn.1400041a0
test rax, rax
jne 0x140063deb
mov edx, ebp
lea rcx, [0x1416b2080]
call fcn.140071a50
inc ebp
mov rsi, rax
test rax, rax
jne 0x140063da2
jmp 0x140063eb5
test rsi, rsi
je 0x140063eb5
mov r8d, 6
lea rdx, [r15 + 1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140063eb5
mov r8d, r14d
mov rdx, rax
mov rcx, rsi
call fcn.1400041a0
mov r14, rax
test rax, rax
je 0x140063eb5
movzx esi, word [rax]
mov edx, 1
mov ecx, dword [rbx - 0xc]
movzx eax, si
sub edx, dword [rbx - 8]
sub ecx, esi
or edx, ecx
jge 0x140063e5c
mov edx, esi
lea rcx, [rsp + 0x80]
call fcn.140004670
movzx eax, word [r14]
mov rbx, qword [rsp + 0x80]
movzx r9d, ax
lea r8, [r14 + 2]
mov edx, esi
mov rcx, rbx
call fcn.1400042a0
cmp esi, dword [rbx - 0xc]
jg 0x140063fa4
mov dword [rbx - 0x10], esi
mov word [rbx + rsi*2], r12w
jmp 0x140063eb5
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], r12w
jne 0x140063e90
mov r8d, eax
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.140004720
mov rbx, qword [rsp + 0x80]
mov rsi, qword [r13 + 8]
cmp qword [r13 + 0x10], rsi
je 0x140063ed6
lea rcx, [rbx - 0x18]
call fcn.140014ee0
add rax, 0x18
mov qword [rsi], rax
add qword [r13 + 8], 8
jmp 0x140063ee9
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, r13
call fcn.140062d50
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140063f05
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rdi + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x140063f10
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], r12w
jne 0x140063d48
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x140063f6f
mov rdx, qword [rsp + 0x30]
mov rax, rdi
sub rdx, rdi
sar rdx, 1
add rdx, rdx
cmp rdx, 0x1000
jb 0x140063f67
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140063f9e
mov rcx, rdi
call fcn.14001dee0
mov r15, qword [rsp + 0x40]
mov al, 1
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
add rsp, 0x48
pop r13
pop r12
pop rdi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002ad0
int3
call fcn.1401f802c
int3
mov ecx, 0x80070057
call fcn.140002ad0
int3