Function at 0x14009fd20
Capabilities:
Get common file path
Resume thread

Disassembly:
push rbx
mov eax, 0x2040
call fcn.140282780
sub rsp, rax
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
cmp qword [rcx + 0x178], 0
mov rbx, rcx
jne 0x14009f31d
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0xfc
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x14009f512
mov rcx, qword [rcx + 0x390]
test rcx, rcx
jne 0x14009f348
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x101
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x14009f512
lea rdx, [rbx + 0x1b0]
add rcx, 0x1c8
xor r8d, r8d
call qword [sym.imp.DSOUND.dll_DirectSoundCaptureCreate]
test eax, eax
jns 0x14009f385
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x105
lea rcx, str._VCpl__RETURN_FALSE_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
xor eax, eax
jmp 0x14009f512
mov eax, dword [rbx + 0x35c]
mov qword [rsp + 0x2058], rbp
mov ebp, 1
mov qword [rsp + 0x2060], rsi
mov qword [rsp + 0x2038], rdi
lea rdi, [rbx + 0x1c8]
shl eax, 2
mov qword [rsp + 0x2030], r14
xor esi, esi
mov dword [rbx + 0x360], eax
lea r14, [rbx + 0x2c8]
mov dword [rbx + 0x358], 0x20001
mov dword [rbx + 0x364], 0x100004
nop dword [rax]
mov r8d, dword [rbx + 0x360]
xor edx, edx
shl r8d, 3
inc esi
shr r8d, 4
xor r9d, r9d
imul r8d, esi
dec r8d
mov dword [rdi], r8d
movzx ecx, word [rbx + 0x364]
mov eax, dword [rbx + 0x360]
shl eax, 3
shr eax, 4
div ecx
xor ecx, ecx
sub r8d, edx
xor edx, edx
mov dword [rdi], r8d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14], rax
lea r14, [r14 + 8]
mov qword [rdi + 8], rax
lea rdi, [rdi + 0x10]
cmp esi, 0x10
jl 0x14009f3e0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rdx, [rsp + 0x20]
mov dword [rbx + 0x2b8], 0xffffffff
mov ecx, 0x1000
mov qword [rbx + 0x348], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r14, qword [rsp + 0x2030]
mov rdi, qword [rsp + 0x2038]
mov rsi, qword [rsp + 0x2060]
test eax, eax
jne 0x14009f4a5
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x124
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x14009f50a
dec eax
cmp word [rsp + rax*2 + 0x20], 0x5c
je 0x14009f4c5
lea r8, [0x140329108]
mov edx, 0x1000
lea rcx, [rsp + 0x20]
call fcn.14028b93c
lea r8, str.MicCal.wav
mov edx, 0x1000
lea rcx, [rsp + 0x20]
call fcn.14028b93c
lea rcx, [rbx + 0x378]
mov rdx, 0xffffffffffffffff
lea r8, [rsp + 0x20]
nop
inc rdx
cmp word [r8 + rdx*2], 0
jne 0x14009f4f0
mov r8d, edx
lea rdx, [rsp + 0x20]
call fcn.140010390
mov eax, ebp
mov rbp, qword [rsp + 0x2058]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.140281bf0
add rsp, 0x2040
pop rbx
ret
push rdi
sub rsp, 0xa0
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp qword [rcx + 0x1b0], 0
mov rdi, rcx
jne 0x14009f577
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x14d
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x14009f91e
xor eax, eax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x98], rsi
call fcn.14009f940
mov ecx, 0xc8
call fcn.1400f48fc
xor esi, esi
mov qword [rsp + 0x40], rax
mov rbx, rax
test rax, rax
je 0x14009f5d9
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0xc0], rsi
mov dword [rax + 0x38], esi
mov dword [rax + 0xa4], esi
jmp 0x14009f5dc
mov rbx, rsi
mov qword [rdi + 0x350], rbx
test rbx, rbx
jne 0x14009f607
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x157
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x14009f90e
mov rcx, qword [rdi + 0x378]
xor edx, edx
mov qword [rsp + 0xc0], rbp
mov r8d, 0x11002
mov qword [rsp + 0x90], r14
lea rbp, [rdi + 0x358]
mov qword [rbx + 0xa0], 2
call qword [sym.imp.WINMM.dll_mmioOpenW]
mov qword [rbx + 8], rax
test rax, rax
je 0x14009f8dc
lea rdx, [rbx + 0x24]
mov dword [rsp + 0x40], 0xffffffff
mov r8d, 0x20
mov dword [rbx + 0x2c], 0x45564157
mov rcx, rax
mov dword [rbx + 0x28], esi
call qword [sym.imp.WINMM.dll_mmioCreateChunk]
test eax, eax
jne 0x14009f8d0
mov dword [rbx + 0x10], 0x20746d66
cmp word [rbp], 1
jne 0x14009f68d
mov eax, 0x10
jmp 0x14009f694
movzx eax, word [rbp + 0x10]
add eax, 0x12
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
xor r8d, r8d
mov dword [rbx + 0x14], eax
call qword [sym.imp.WINMM.dll_mmioCreateChunk]
test eax, eax
jne 0x14009f8d0
cmp word [rbp], 1
mov rdx, rbp
mov rcx, qword [rbx + 8]
jne 0x14009f6cd
lea r8d, [rax + 0x10]
call qword [sym.imp.WINMM.dll_mmioWrite]
cmp eax, 0x10
jmp 0x14009f6e9
movzx r8d, word [rbp + 0x10]
add r8d, 0x12
call qword [sym.imp.WINMM.dll_mmioWrite]
mov ecx, eax
movzx eax, word [rbp + 0x10]
add rax, 0x12
cmp rcx, rax
jne 0x14009f8d0
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
xor r8d, r8d
call qword [sym.imp.WINMM.dll_mmioAscend]
test eax, eax
jne 0x14009f8d0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x70], 0x74636166
call qword [sym.imp.WINMM.dll_mmioCreateChunk]
test eax, eax
jne 0x14009f8d0
mov rcx, qword [rbx + 8]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WINMM.dll_mmioWrite]
cmp eax, 4
jne 0x14009f8d0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x70]
xor r8d, r8d
call qword [sym.imp.WINMM.dll_mmioAscend]
test eax, eax
jne 0x14009f8d0
mov rcx, rbx
call fcn.1400f2ca0
test eax, eax
js 0x14009f8e1
mov eax, dword [rdi + 0x360]
lea r8, [rdi + 0x1b8]
mov rcx, qword [rdi + 0x1b0]
lea rdx, [rsp + 0x48]
shl eax, 3
xor r9d, r9d
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], 0x28
mov qword [rsp + 0x58], rbp
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jns 0x14009f7b5
mov edx, 0x161
jmp 0x14009f8e6
lea rbx, [rdi + 0x2c8]
mov ebp, 0x11
mov rcx, qword [rbx]
test rcx, rcx
je 0x14009f7cf
call qword [sym.imp.KERNEL32.dll_ResetEvent]
add rbx, 8
sub rbp, 1
jne 0x14009f7c1
mov rcx, qword [rdi + 0x1b8]
lea r8, [rdi + 0x1c0]
lea rdx, [0x140329300]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x14009f801
mov edx, 0x16c
jmp 0x14009f8e6
mov rcx, qword [rdi + 0x1c0]
lea r8, [rdi + 0x1c8]
mov edx, 0x10
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jns 0x14009f828
mov edx, 0x170
jmp 0x14009f8e6
mov qword [rsp + 0x28], rsi
lea rcx, [0x14009fab0]
xor r9d, r9d
mov dword [rsp + 0x20], 4
xor r8d, r8d
mov rdx, rdi
call fcn.14010a808
mov rbp, rax
test rax, rax
jne 0x14009f86f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x174
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14009f8fc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x58]
lea r9, [rdi + 0x370]
mov dword [rsp + 0x30], 2
mov rcx, rax
mov dword [rsp + 0x28], esi
mov r8, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rdi + 0x1b8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x14009f8c9
mov edx, 0x17f
jmp 0x14009f8e6
mov eax, 1
jmp 0x14009f8fe
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.WINMM.dll_mmioClose]
mov eax, 0x80004005
mov edx, 0x15a
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
lea rcx, str._VCpl__RETURN_FALSE_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
xor eax, eax
mov rbp, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140281bf0
add rsp, 0xa0
pop rdi
ret
push rbx
sub rsp, 0x40
add edx, 0xdefdfdf0
mov rbx, rcx
cmp edx, 0x14
ja case.0x14009fd49.553779730
lea rcx, [0x140000000]
mov edx, dword [rcx + rdx*4 + 0x9ff70]
add rdx, rcx
jmp rdx
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x14009fd6a
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rbx + 0xa8]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov r8d, dword [rbx + 0xc0]
xor r9d, r9d
mov rcx, qword [rbx - 0xa8]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [rbx + 0xc0]
xor r9d, r9d
mov rcx, qword [rbx - 0xa8]
mov edx, 0x3ea
lea r8d, [rax + rax*4]
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x14009fdc2
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rbx - 0xa8]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [rbx - 0xa8]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_KillTimer]
mov eax, 1
add rsp, 0x40
pop rbx
ret
add rbx, 0xffffffffffffff18
mov qword [rsp + 0x50], rdi
cmp qword [rbx + 0x178], 0
jne 0x14009fe24
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x134
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14009fed8
lea rdx, [0x140328530]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009fe32
mov r8d, eax
lea rcx, [rbx + 0x180]
call fcn.140010390
mov rcx, qword [rbx + 0x390]
test rcx, rcx
jne 0x14009fe71
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x13a
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14009fed8
mov rax, qword [rcx]
lea rdx, [rbx + 0x180]
call qword [rax + 0x78]
test eax, eax
jne 0x14009fe9c
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimicwizard.cpp
mov edx, 0x13e
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14009fed8
movups xmm0, xmmword [str._alsC]
mov rcx, qword [rbx + 0x180]
lea rax, [rbx + 0x35c]
xor r9d, r9d
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x1b]
call fcn.14005c200
test eax, eax
jne 0x14009fee2
mov dword [rbx + 0x35c], 0x3e80
mov rcx, rbx
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
jmp 0x14009f2d0
lea rcx, [rbx - 0xe8]
call fcn.14009f940
mov eax, 1
add rsp, 0x40
pop rbx
ret
lea rcx, [rbx - 0xe8]
add rsp, 0x40
pop rbx
jmp 0x14009f530
xor r9d, r9d
lea r8, str.MicCalExecuted
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.140102880
test eax, eax
jne 0x14009ff5b
lea r9d, [rax + 1]
lea r8, str.MicCalExecuted
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.140102e14
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret