Function at 0x14009d540
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rdi, rcx
mov dword [rcx + 0xf0], 1
xor ebp, ebp
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x74], ebp
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x84], ebp
mov dword [rsp + 0x88], 8
lea r8, [r11 - 0x248]
mov edx, dword [rcx + 0x104]
call fcn.14009c9f0
lea rdx, [rsp + 0xd0]
lea rcx, [rdi + 0x150]
call fcn.1400dc8dc
cmp dword [rdi + 0x114], ebp
je 0x14009d698
mov eax, dword [rdi + 0x104]
test eax, eax
je 0x14009d607
cmp eax, 7
je 0x14009d607
cmp eax, 5
jne 0x14009d698
test eax, eax
jne 0x14009d653
mov rax, qword [rdi + 0xe8]
add rax, 0x27770
je 0x14009d6ed
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xd0]
lea r8, [0x14012c778]
lea rdx, str.InternalSpeakerJack
lea rcx, str.MainDialog
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x14009d6ed
mov rax, qword [rdi + 0xe8]
add rax, 0x27770
je 0x14009d6ed
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xd0]
lea r8, [0x14012c778]
lea rdx, str.InternalMicJack
lea rcx, str.MainDialog
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x14009d6ed
movsxd rdx, dword [rdi + 0x10c]
imul rdx, rdx, 0x208
lea rax, [0x1401c3fc0]
add rdx, rax
mov rax, qword [rdi + 0xe8]
add rax, 0x27770
je 0x14009d6ed
test rdx, rdx
je 0x14009d6ed
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xd0]
lea r8, [0x14012c778]
lea rcx, str.MainDialog
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xb0]
mov rax, qword [str.___t_n]
mov qword [rcx], rax
movzx eax, word [0x14013c898]
mov word [rcx + 8], ax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call fcn.1400fa5e0
test rax, rax
je 0x14009d88e
mov rcx, rax
call fcn.1400fa6e0
test eax, eax
je 0x14009d74b
cmp eax, 1
jne 0x14009d74b
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rbx, rbp
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009d88e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + rbx*4 + 0x60], eax
add rbx, 1
cmp rbx, 0xa
jl 0x14009d750
mov eax, dword [rsp + 0x68]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0x80]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x6c]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0x84]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x78]
cmp eax, 0xffffffff
cmove eax, ebp
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x7c]
cmp eax, 0xffffffff
cmove eax, ebp
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009d88e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x88], eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009d88e
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009d88e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x90], eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009d88e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x94], eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009d88e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x98], eax
mov rax, qword [rdi + 0xe8]
mov rcx, qword [rax + 0x19488]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], 0xa
mov dword [rsp + 0x64], 0xa
mov dword [rsp + 0x8c], ebp
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x150]
call fcn.140021450
lea rax, [rdi + 0x330]
lea rdx, [rdi + 0x37c]
lea r10, [rdi + 0x378]
lea r9, [rdi + 0x364]
lea r8, [rdi + 0x360]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
lea rdx, [rdi + 0xf8]
lea rcx, [rdi + 0x150]
call fcn.1400227c0
xor esi, esi
mov r15d, esi
mov r14d, 1
lea r13, [rdi + 0x128]
lea rbp, [rdi + 0x618]
nop
lea eax, [r14 - 1]
cmp eax, dword [rdi + 0x124]
jae 0x14009de51
mov rax, qword [rdi + 0xe8]
mov ecx, dword [rax + 0x204]
cmp ecx, 8
jae 0x14009d987
cmp dword [r13], 3
jne 0x14009d987
mov eax, r14d
imul rax, rax, 0x268
lea rbx, [rax + rdi + 0x150]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140021450
xor edx, edx
mov rcx, rbx
call fcn.1400dc9c4
jmp 0x14009de7a
cmp ecx, 6
jae 0x14009d9c1
cmp dword [r13], 2
jne 0x14009d9c1
mov eax, r14d
imul rax, rax, 0x268
lea rbx, [rax + rdi + 0x150]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140021450
xor edx, edx
mov rcx, rbx
call fcn.1400dc9c4
jmp 0x14009de7a
cmp ecx, 4
jae 0x14009d9fb
cmp dword [r13], 1
jne 0x14009d9fb
mov eax, r14d
imul rax, rax, 0x268
lea rbx, [rax + rdi + 0x150]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140021450
xor edx, edx
mov rcx, rbx
call fcn.1400dc9c4
jmp 0x14009de7a
mov eax, dword [rdi + 0x104]
cmp eax, 7
je 0x14009da10
cmp eax, 6
je 0x14009da10
cmp eax, 5
jne 0x14009da4d
cmp dword [rdi + 0x114], 0
je 0x14009da4d
cmp dword [r13], eax
je 0x14009da4d
mov eax, r14d
imul rax, rax, 0x268
lea rbx, [rax + rdi + 0x150]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140021450
xor edx, edx
mov rcx, rbx
call fcn.1400dc9c4
jmp 0x14009de7a
lea r8, [rsp + 0xd0]
mov edx, dword [r13]
mov rcx, rdi
call fcn.14009c9f0
mov r11d, r14d
imul r11, r11, 0x268
lea r12, [r11 + rdi + 0x150]
lea rdx, [rsp + 0xd0]
mov rcx, r12
call fcn.1400dc8dc
mov r11, qword [rdi + 0xe8]
add r11, 0x27770
je 0x14009dac3
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xd0]
lea r8, [0x14012c778]
lea rdx, str.JackFunction
lea rcx, str.JackRelocation
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xc0]
mov rax, qword [str.___t_n]
mov qword [rcx], rax
movzx eax, word [0x14013c898]
mov word [rcx + 8], ax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xd0]
call fcn.1400fa5e0
test rax, rax
je 0x14009dc75
mov rcx, rax
call fcn.1400fa6e0
test eax, eax
jne 0x14009db16
mov qword [rsp + 0x58], rsi
jmp 0x14009db2d
cmp eax, 1
jne 0x14009db2d
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x58], rax
mov rbx, rsi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009dc75
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + rbx*4 + 0x60], eax
add rbx, 1
cmp rbx, 0xa
jl 0x14009db30
mov eax, dword [rsp + 0x68]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0x80]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x6c]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0x84]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x78]
cmp eax, 0xffffffff
cmove eax, esi
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x7c]
cmp eax, 0xffffffff
cmove eax, esi
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009dc75
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x88], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009dc75
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x8c], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009dc75
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x90], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009dc75
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x94], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009dc75
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x98], eax
mov rax, qword [rdi + 0xe8]
mov rcx, qword [rax + 0x19488]
mov qword [rsp + 0x50], rcx
mov eax, dword [rsp + 0x6c]
add eax, 5
imul eax, r15d
add dword [rsp + 0x64], eax
add r15d, 1
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140021450
mov rbx, qword [rdi + 0xe8]
test byte [rbp - 8], 8
jne 0x14009dd5f
lea rcx, [rbp - 0x1b0]
call fcn.1400cfe64
lea rcx, [rbx + 0x27434]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdx, rax
lea rcx, [rbp - 0x1b0]
call fcn.1400cfde4
call fcn.1400cc6e8
mov rcx, rax
xor esi, esi
mov eax, esi
test rcx, rcx
setne al
test eax, eax
je 0x14009de94
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rbp - 0x260]
call fcn.1400d7278
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rbp - 0x260]
call fcn.1400211e0
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14009dd61
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.DSOUND.dll_DirectSoundCaptureEnumerateW]
jmp 0x14009dd61
xor esi, esi
lea rax, [r12 + 0x1e0]
lea rcx, [r12 + 0x22c]
lea rdx, [r12 + 0x228]
lea r9, [r12 + 0x214]
lea r8, [r12 + 0x210]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0xf8]
mov rcx, r12
call fcn.1400227c0
cmp dword [rdi + 0xf4], 0
je 0x14009ddfa
mov eax, dword [rdi + 0x14c]
cmp dword [r13], eax
jne 0x14009dddd
mov dword [rbp], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x220]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x14009de42
mov dword [rbp], esi
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x220]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x14009de42
mov eax, dword [rdi + 0x108]
cmp dword [r13], eax
jne 0x14009de27
mov dword [rbp], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x220]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x14009de42
mov dword [rbp], esi
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x220]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov edx, 5
mov rcx, r12
call fcn.1400dc9c4
jmp 0x14009de7a
mov eax, r14d
imul rax, rax, 0x268
lea rbx, [rax + rdi + 0x150]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140021450
xor edx, edx
mov rcx, rbx
call fcn.1400dc9c4
add r14d, 1
add r13, 4
add rbp, 0x268
cmp r14d, 7
jae 0x14009de9f
jmp 0x14009d930
mov ecx, 0x80004005
call fcn.1400025a0
int3
mov rdx, qword [rdi + 0xe8]
add rdx, 0x297f0
lea rcx, [rdi + 0x1228]
call fcn.1400dc8dc
mov rdx, qword [rdi + 0xe8]
add rdx, 0x299f8
lea rcx, [rdi + 0x12d0]
call fcn.1400dc8dc
mov eax, 1
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret