Function at 0x646460
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
sub rsp, 0x138
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xd8], rbp
mov qword [rbp + 0x150], rcx
mov qword [rbp + 0x158], rdx
mov qword [rbp + 0x160], r8
mov qword [rbp + 0x168], r9
mov rcx, qword [rbp + 0x158]
call fcn.0040e210
mov rcx, qword [rbp + 0x160]
call fcn.0040e210
mov rcx, qword [rbp + 0x168]
call fcn.0040e210
nop
mov ecx, 0x29
mov rdx, qword [0x00643f88]
call fcn.004117c0
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x118]
mov edx, 0x29
xor r8, r8
call fcn.00408d50
mov rax, qword [rbp + 0x118]
mov rcx, qword [rbp + 0x150]
mov qword [rax], rcx
mov rax, qword [rbp + 0x118]
mov byte [rax + 8], 1
call fcn.00433700
mov rax, qword [rbp + 0x118]
movsd qword [rax + 9], xmm0
mov rcx, qword [rbp + 0x118]
add rcx, 0x11
mov rdx, qword [rbp + 0x158]
call fcn.0040e6f0
mov rcx, qword [rbp + 0x118]
add rcx, 0x19
mov rdx, qword [rbp + 0x160]
call fcn.0040e6f0
mov rcx, qword [rbp + 0x118]
add rcx, 0x21
mov rdx, qword [rbp + 0x168]
call fcn.0040e6f0
mov rcx, qword [0x00797ce0]
mov rdx, qword [rbp + 0x118]
call fcn.00468210
lea rcx, [rbp + 0xf8]
lea rdx, [0x00646eec]
call fcn.0040e770
mov rax, qword [rbp + 0x118]
cmp qword [rax + 0x11], 0
je 0x6466cf
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646f20]
mov rax, qword [rbp + 0x118]
mov rax, qword [rax + 0x11]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
mov rax, qword [rbp + 0x118]
cmp qword [rax + 0x19], 0
je 0x646719
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646f58]
mov rax, qword [rbp + 0x118]
mov rax, qword [rax + 0x19]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
mov rax, qword [rbp + 0x118]
cmp qword [rax + 0x21], 0
je 0x646763
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646f7c]
mov rax, qword [rbp + 0x118]
mov rax, qword [rax + 0x21]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
mov rax, qword [rbp + 0x118]
mov rcx, qword [rax]
call fcn.00644f50
mov dword [rbp + 0x120], eax
cmp dword [rbp + 0x120], 0xffffffff
jle 0x6469bc
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
lea rcx, [rbp + 0x100]
mov rdx, qword [rax + 0x30]
call fcn.0040e770
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
lea rcx, [rbp + 0x108]
mov rdx, qword [rax + 0x38]
call fcn.0040e770
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
lea rcx, [rbp + 0x110]
mov rdx, qword [rax + 0x40]
call fcn.0040e770
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
cmp qword [rax + 0x10], 0
je 0x64684b
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646fa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
cmp qword [rax + 0x18], 0
je 0x6468ab
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646fc8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
cmp qword [rax + 0x28], 0
je 0x64690b
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646fe8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
cmp qword [rax + 0x20], 0
je 0x646cf5
cmp word [0x00a9981c], 0xc8e9
jne 0x646970
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00647004]
lea rax, [0x00647024]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
jmp 0x646cf5
mov rcx, qword [0x00797cd8]
mov edx, dword [rbp + 0x120]
call fcn.004684d0
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00647004]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
jmp 0x646cf5
cmp qword [rbp + 0x158], 0
je 0x646cf5
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0x158]
call fcn.00414550
lea rcx, [rbp + 0xd0]
mov rdx, qword [rbp + 0xc8]
call fcn.00644090
mov rcx, qword [rbp + 0xd0]
call fcn.0040f7f0
mov rbx, rax
lea rcx, [rbp + 0xc0]
call fcn.00644160
mov rcx, qword [rbp + 0xc0]
call fcn.0040feb0
mov rcx, rbx
lea rdx, [0x0064708e]
xor r8, r8
mov r9, rax
call sub.kernel32.dll_GetPrivateProfileIntW
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
je 0x646cf5
mov rcx, qword [0x0045caf0]
mov dl, 1
call fcn.0046e750
mov qword [rbp + 0x128], rax
nop
lea rcx, [0x006470b8]
mov rdx, qword [rbp + 0x128]
call fcn.00644b80
cmp al, 1
jne 0x646ce8
lea rcx, [rbp + 0xa8]
mov edx, dword [rbp + 0x124]
call fcn.0042bdc0
lea rcx, [rbp + 0xb0]
lea rdx, [0x006470fc]
mov r8, qword [rbp + 0xa8]
call fcn.004102f0
mov rcx, qword [rbp + 0x128]
lea rdx, [rbp + 0xb8]
mov r8, qword [rbp + 0xb0]
call fcn.0046c3d0
cmp qword [rbp + 0xb8], 0
je 0x646b3f
lea rcx, [rbp + 0x90]
mov edx, dword [rbp + 0x124]
call fcn.0042bdc0
lea rcx, [rbp + 0x98]
lea rdx, [0x006470fc]
mov r8, qword [rbp + 0x90]
call fcn.004102f0
mov rcx, qword [rbp + 0x128]
lea rdx, [rbp + 0xa0]
mov r8, qword [rbp + 0x98]
call fcn.0046c3d0
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646fc8]
mov rax, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
lea rcx, [rbp + 0x78]
mov edx, dword [rbp + 0x124]
call fcn.0042bdc0
lea rcx, [rbp + 0x80]
lea rdx, [0x00647114]
mov r8, qword [rbp + 0x78]
call fcn.004102f0
mov rcx, qword [rbp + 0x128]
lea rdx, [rbp + 0x88]
mov r8, qword [rbp + 0x80]
call fcn.0046c3d0
cmp qword [rbp + 0x88], 0
je 0x646bf5
lea rcx, [rbp + 0x60]
mov edx, dword [rbp + 0x124]
call fcn.0042bdc0
lea rcx, [rbp + 0x68]
lea rdx, [0x00647114]
mov r8, qword [rbp + 0x60]
call fcn.004102f0
mov rcx, qword [rbp + 0x128]
lea rdx, [rbp + 0x70]
mov r8, qword [rbp + 0x68]
call fcn.0046c3d0
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00646fe8]
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
lea rcx, [rbp + 0x48]
mov edx, dword [rbp + 0x124]
call fcn.0042bdc0
lea rcx, [rbp + 0x50]
lea rdx, [0x00647130]
mov r8, qword [rbp + 0x48]
call fcn.004102f0
mov rcx, qword [rbp + 0x128]
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x50]
call fcn.0046c3d0
cmp qword [rbp + 0x58], 0
je 0x646ce8
cmp word [0x00a9981e], 0xa21e
jne 0x646c7c
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00647004]
lea rax, [0x00647024]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
jmp 0x646ce8
lea rcx, [rbp + 0x30]
mov edx, dword [rbp + 0x124]
call fcn.0042bdc0
lea rcx, [rbp + 0x38]
lea rdx, [0x00647130]
mov r8, qword [rbp + 0x30]
call fcn.004102f0
mov rcx, qword [rbp + 0x128]
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x38]
call fcn.0046c3d0
lea rcx, [rbp + 0xf8]
mov edx, 4
mov r8, qword [rbp + 0xf8]
lea r9, [0x00647004]
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rax, [0x00646f44]
mov qword [rsp + 0x28], rax
call fcn.00410420
nop
mov rcx, qword [rbp + 0x128]
call fcn.0040ae10
lea rcx, [rbp + 0xe8]
mov rdx, qword [rbp + 0xf8]
call fcn.00414550
cmp qword [rbp + 0xe8], 0
je 0x646da9
mov rcx, qword [rbp + 0x110]
mov rax, qword [0x00a8dd08]
mov rdx, qword [rax]
call fcn.0042af30
test eax, eax
je 0x646d3a
cmp qword [rbp + 0x110], 0
jne 0x646d4f
lea rcx, [rbp + 0xf0]
mov rdx, qword [rbp + 0x108]
call fcn.0040e770
jmp 0x646d7b
lea rcx, [rbp + 0xf0]
mov edx, 3
mov r8, qword [rbp + 0x110]
lea r9, [0x00647150]
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x20], rax
call fcn.00410420
call fcn.00433700
mov dl, 0x5b
mov r8, qword [rbp + 0xf0]
xor r9, r9
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x28], rax
call fcn.005ef370
nop
lea rcx, [rbp + 0x30]
mov edx, 0x13
call fcn.0040e160
lea rcx, [rbp + 0xc8]
call fcn.0040e0d0
lea rcx, [rbp + 0xd0]
call fcn.0040e120
lea rcx, [rbp + 0xe8]
call fcn.0040e0d0
lea rcx, [rbp + 0xf0]
mov edx, 5
call fcn.0040e160
lea rcx, [rbp + 0x158]
mov edx, 3
call fcn.0040e160
lea rsp, [rbp + 0x138]
pop rbx
pop rbp
ret