Function at 0x140038490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x710]
sub rsp, 0x810
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x700], rax
mov rdi, rdx
mov rbx, rcx
movabs rax, 0xa00090020
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x28], rax
mov r8d, 0x7ce
call fcn.14029ff20
xor esi, esi
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, rdi
lea rcx, [rsp + 0x30]
lea r8d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1402a7564
test rax, rax
je 0x140038a38
nop
lea rdi, [rax + 2]
mov rcx, rdi
lea rdx, [0x140349438]
call fcn.1402a70ac
test eax, eax
jne 0x140038543
mov dword [rbx + 0x44], 1
jmp 0x140038a1e
lea rdx, [0x140349644]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x140038562
mov dword [rbx + 0x48], 1
jmp 0x140038a1e
lea rdx, [0x140349440]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x140038581
mov dword [rbx + 4], 1
jmp 0x140038a1e
lea rdx, str.DSS0
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400385a0
mov dword [rbx + 0xc], 1
jmp 0x140038a1e
lea rdx, [0x140349458]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400385bf
mov dword [rbx + 8], 1
jmp 0x140038a1e
lea rdx, str.DAE0
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400385de
mov dword [rbx + 0x10], 1
jmp 0x140038a1e
lea rdx, str.MAXX30
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400385fd
mov dword [rbx + 0x4c], 1
jmp 0x140038a1e
lea rdx, str.BEATSON
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x140038619
or dword [rbx + 0x50], 1
jmp 0x140038a1e
lea rdx, str.BEATSOFF
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x140038635
or dword [rbx + 0x50], 2
jmp 0x140038a1e
lea rdx, str.BEATSTOGGLE
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x140038651
or dword [rbx + 0x50], 4
jmp 0x140038a1e
lea rdx, [0x1403494c0]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x140038671
mov qword [rbx + 0x28], 2
jmp 0x140038a09
lea rdx, [0x1403459b0]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
je 0x1400389f4
lea rdx, str.RestoreDeviceType
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
je 0x1400389f4
lea rdx, [0x140349500]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400386c5
mov dword [rbx + 0x28], 2
mov dword [rbx + 0x2c], 0xa
jmp 0x140038a10
lea rdx, [0x140349510]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400386e4
mov dword [rbx + 0x2c], VariantTimeToDosDateTime
jmp 0x140038a02
lea rdx, str.iPhoneMic
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x14003870a
mov dword [rbx + 0x28], 0xa
mov dword [rbx + 0x2c], 0xa
jmp 0x140038a09
lea rdx, [0x140349538]
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x14003872a
mov qword [rbx + 0x28], 0xa
jmp 0x140038a09
lea rdx, str.RETASK
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
je 0x140038945
lea rdx, str.RETASK_S
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
je 0x140038945
lea rdx, str.RETASKPOPUP
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400387aa
lea r8, [rsp + 0x20]
mov dword [rbx + 0x58], 1
lea rdx, [rsp + 0x28]
mov dword [rbx + 0x5c], 1
xor ecx, ecx
mov dword [rbx + 0x6c], 1
call fcn.1402a7564
test rax, rax
je 0x140038a1e
mov rcx, rax
call fcn.1402a6cc4
mov dword [rbx + 0x70], eax
jmp 0x140038a1e
lea rdx, str.ASUS_DEPOP
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400387f5
lea r8, [rsp + 0x20]
mov dword [rbx + 0x5c], 1
lea rdx, [rsp + 0x28]
xor ecx, ecx
call fcn.1402a7564
test rax, rax
je 0x140038a1e
mov rcx, rax
call fcn.1402a6cc4
neg eax
sbb ecx, ecx
add ecx, 2
mov dword [rbx + 0x78], ecx
jmp 0x140038a1e
lea rdx, str.ACTION
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x14003888f
lea r8, [rsp + 0x20]
mov dword [rbx + 0x5c], 1
lea rdx, [rsp + 0x28]
xor ecx, ecx
call fcn.1402a7564
test rax, rax
je 0x140038a1e
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x10]
call fcn.1402a75c8
lea r8, [rsp + 0x20]
mov dword [rbx + 0x7c], eax
lea rdx, [rsp + 0x28]
xor ecx, ecx
call fcn.1402a7564
test rax, rax
je 0x140038862
mov rcx, rax
call fcn.1402a6cc4
mov dword [rbx + 0x80], eax
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [rsp + 0x28]
call fcn.1402a7564
test rax, rax
je 0x140038a1e
mov rcx, rax
call fcn.1402a6cc4
mov dword [rbx + 0x84], eax
jmp 0x140038a1e
lea rdx, str.DAEMON_MODE
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400388ae
or dword [rbx + 0x88], 1
jmp 0x140038a1e
lea rdx, str.LAUNCH_BY_STARTMENU
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400388cd
or dword [rbx + 0x88], 2
jmp 0x140038a1e
lea rdx, str.DEBUG_FILE
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x1400388ec
or dword [rbx + 0x88], 0x20
jmp 0x140038a1e
lea rdx, str.DEBUG_MSG
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x14003890b
or dword [rbx + 0x88], 0x40
jmp 0x140038a1e
lea rdx, str.WOV_TRAIN_UI
mov rcx, rdi
call fcn.1402a70ac
test eax, eax
jne 0x140038a1e
or dword [rbx + 0x88], 0x80
mov dword [rbx + 0x8c], 0x11
mov dword [rbx + 0x90], 0x12b
jmp 0x140038a1e
lea rdx, str.RETASK
mov rcx, rdi
call fcn.1402a70ac
mov ecx, esi
mov dword [rbx + 0x5c], 1
test eax, eax
mov dword [rbx + 0x30], 1
lea r8, [rsp + 0x20]
sete cl
lea rdx, [rsp + 0x28]
mov dword [rbx + 0x58], ecx
xor ecx, ecx
call fcn.1402a7564
test rax, rax
je 0x140038a1e
mov rcx, rax
call fcn.1402a6cc4
lea r8, [rsp + 0x20]
mov dword [rbx + 0x34], eax
lea rdx, [rsp + 0x28]
xor ecx, ecx
call fcn.1402a7564
mov rdi, rax
test rax, rax
je 0x140038a1e
lea rdx, str.HEADSET
mov rcx, rax
call fcn.1402a70ac
test eax, eax
jne 0x1400389c6
mov dword [rbx + 0x40], 1
jmp 0x140038a1e
mov rcx, rdi
call fcn.1402a6cc4
lea r8, [rsp + 0x20]
mov dword [rbx + 0x38], eax
lea rdx, [rsp + 0x28]
xor ecx, ecx
call fcn.1402a7564
test rax, rax
je 0x140038a1e
mov rcx, rax
call fcn.1402a6cc4
mov dword [rbx + 0x3c], eax
jmp 0x140038a1e
mov dword [rbx + 0x68], 1
mov dword [rbx + 0x2c], 0xa
mov dword [rbx + 0x28], 2
mov dword [rbx + 0x58], 1
mov dword [rbx + 0x24], 1
mov dword [rbx + 0x5c], 1
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [rsp + 0x28]
call fcn.1402a7564
test rax, rax
jne 0x140038520
mov eax, dword [rbx + 0x88]
test al, 0x20
je 0x140038a4e
mov dword [reloc.DSOUND.dll_DirectSoundCreate], 1
jmp 0x140038a58
test al, 0x40
je 0x140038a6f
mov dword [reloc.DSOUND.dll_DirectSoundCreate], esi
lea rcx, [0x1403ff588]
mov dword [0x1403ff554], 1
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.14029d880
mov rbx, qword [rsp + 0x840]
add rsp, 0x810
pop rdi
pop rsi
pop rbp
ret