Function at 0x425fc0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4404a5
mov eax, dword fs:[0]
push eax
sub esp, 0xe54
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x840]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
call fcn.0040f6c0
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0040f6c0
lea eax, [ebp - 0xe44]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x840]
call fcn.00427180
cmp dword [edi + 0x14], 0xf
jbe 0x426037
mov edi, dword [edi]
push edi
call fcn.00426d00
mov ecx, dword [ebp - 0x844]
mov edi, eax
lea eax, [ebp - 0x948]
mov dword [ebp - 0xe60], ecx
mov ecx, dword [ebp - 0x848]
add esp, 4
mov dword [ebp - 0xe54], eax
lea eax, [ebp - 0xc46]
mov dword [ebp - 0xe5c], eax
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xe50], ecx
mov ecx, edi
push eax
mov dword [ebp - 0xe58], 0x3e8
mov dword [ebp - 0xe4c], 0
call fcn.00426fb0
mov esi, eax
test esi, esi
je 0x4260b4
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xe50], str.PROJECT_VOICeVIO_SFE
push eax
mov ecx, edi
call fcn.00426fb0
mov esi, eax
push esi
push str.init__d_n
call fcn.00426bd0
add esp, 8
test esi, esi
jne 0x426403
lea eax, [ebp - 0xe44]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, eax
lea eax, [ebp - 0xe44]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
xor ecx, ecx
test esi, esi
setne cl
push ecx
push 0x444058
call fcn.00426bd0
push 0x7d0
lea eax, [ebp - 0x7e0]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x14
lea eax, [ebp - 0x7e0]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x7e0]
push eax
push 0x444100
call fcn.0041cda0
add esp, 8
lea eax, [ebp - 0xa47]
mov ecx, edi
push eax
call fcn.00426fc0
mov esi, eax
lea eax, [ebp - 0xa47]
push eax
lea eax, [ebp - 0xe44]
push eax
push str._s__s__n
call fcn.00426bd0
push esi
push str.loadvoice__d_n
call fcn.00426bd0
add esp, 0x14
lea eax, [ebp - 0xb47]
mov ecx, edi
push eax
call fcn.00427000
mov esi, eax
lea eax, [ebp - 0xb47]
push esi
push eax
push str.loadvoice__s__d_n
call fcn.00426bd0
add esp, 0xc
test esi, esi
jne 0x426476
lea eax, [ebp - 0xe48]
mov dword [ebp - 0xe48], esi
push eax
push esi
mov ecx, edi
call fcn.00426fa0
mov esi, eax
cmp esi, 0xffffffec
jne 0x4264e9
push dword [ebp - 0xe48]
push str.param__size__d_n
call fcn.00426bd0
mov eax, dword [ebp - 0xe48]
add esp, 8
cmp eax, 0x1f4
jne 0x426341
push eax
call fcn.0042c464
mov ecx, dword [ebp - 0xe48]
add esp, 4
mov esi, eax
lea eax, [ebp - 0xe48]
push eax
mov dword [esi], ecx
mov ecx, edi
push esi
call fcn.00426fa0
mov ebx, eax
push ebx
push str.GetParam
push str._s__d_n
call fcn.00426bd0
add esp, 0xc
test ebx, ebx
jne 0x42655c
movss xmm0, dword [ebp + 0x14]
push 0x44403c
mov dword [esi + 0x24], 0x11
mov dword [esi + 4], 0x425ed0
mov dword [esi + 8], 0x4269a0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], 0x158880
movss dword [esi + 0x18], xmm0
call fcn.00426bd0
movss xmm0, dword [ebp + 0x14]
add esp, 4
movss dword [esi + 0x188], xmm0
mov ecx, edi
movss xmm0, dword [ebp + 0x18]
movss dword [esi + 0x18c], xmm0
push esi
call fcn.00426fd0
mov ebx, eax
push ebx
push str.3__d_n
call fcn.00426bd0
add esp, 8
test ebx, ebx
jne 0x4265d8
push 0x444050
call fcn.00426bd0
push esi
call fcn.0042c46d
add esp, 8
push str.setparam_all_ok
push str._s___n
call fcn.00426bd0
mov ecx, dword [ebp - 0x814]
add esp, 8
cmp ecx, 0xf
jbe 0x4262e9
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4262df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426654
push ecx
push edx
call fcn.0042c456
add esp, 8
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
cmp ecx, 0xf
jbe 0x4263e5
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4263db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426654
jmp 0x4263db
cmp eax, 0x1a0
jne 0x42629d
push eax
call fcn.0042c464
mov ecx, dword [ebp - 0xe48]
add esp, 4
mov esi, eax
lea eax, [ebp - 0xe48]
push eax
mov dword [esi], ecx
mov ecx, edi
push esi
call fcn.00426fa0
mov ebx, eax
test ebx, ebx
jne 0x426659
push dword [esi + 0x12c]
push str.numSpeakers__d_n
call fcn.00426bd0
movss xmm0, dword [ebp + 0x14]
add esp, 8
mov ecx, edi
mov dword [esi + 4], 0x425ed0
mov dword [esi + 8], 0x4269a0
mov dword [esi + 0xc], ebx
push esi
mov dword [esi + 0x14], 0x158880
movss dword [esi + 0x18], xmm0
call fcn.00426fd0
mov ebx, eax
push ebx
push str.SetParam_ok__d_n
call fcn.00426bd0
add esp, 8
push esi
call fcn.0042c46d
add esp, 4
test ebx, ebx
jne 0x4266d5
jmp 0x42629d
push ecx
push edx
call fcn.0042c456
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c2fe
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x426410
push 1
mov ecx, edi
call fcn.00425b10
push str.API_initialization_failed_with_code
lea ecx, [ebp - 0x810]
call fcn.0040f770
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 2
push esi
push eax
call fcn.00426aa0
add esp, 8
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 3
call fcn.00425af0
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 2
call fcn.004028a0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.00425a30
push 0x44ad54
lea eax, [ebp - 0x7ec]
push eax
call sub.msvcrt.dll__CxxThrowException
test edi, edi
je 0x426483
push 1
mov ecx, edi
call fcn.00425b10
push str.API_Load_Voice_failed__Could_not_load_voice_data__with_code
lea ecx, [ebp - 0x810]
call fcn.0040f770
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 4
push esi
push eax
call fcn.00426aa0
add esp, 8
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 5
call fcn.00425af0
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 4
call fcn.004028a0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.00425a30
push 0x44ad54
lea eax, [ebp - 0x7ec]
push eax
call sub.msvcrt.dll__CxxThrowException
test edi, edi
je 0x4264f6
push 1
mov ecx, edi
call fcn.00425b10
push str.API_Get_Param_failed__Could_not_acquire_the_size__with_code
lea ecx, [ebp - 0x810]
call fcn.0040f770
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 6
push esi
push eax
call fcn.00426aa0
add esp, 8
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 7
call fcn.00425af0
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 6
call fcn.004028a0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.00425a30
push 0x44ad54
lea eax, [ebp - 0x7ec]
push eax
call sub.msvcrt.dll__CxxThrowException
push esi
call fcn.0042c46d
add esp, 4
test edi, edi
je 0x426572
push 1
mov ecx, edi
call fcn.00425b10
push str.API_Get_Param_failed_with_code
lea ecx, [ebp - 0x810]
call fcn.0040f770
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 8
push ebx
push eax
call fcn.00426aa0
add esp, 8
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 9
call fcn.00425af0
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 8
call fcn.004028a0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.00425a30
push 0x44ad54
lea eax, [ebp - 0x7ec]
push eax
call sub.msvcrt.dll__CxxThrowException
push esi
call fcn.0042c46d
add esp, 4
test edi, edi
je 0x4265ee
push 1
mov ecx, edi
call fcn.00425b10
push str.API_Set_Param_failed_with_code
lea ecx, [ebp - 0x810]
call fcn.0040f770
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 0xa
push ebx
push eax
call fcn.00426aa0
add esp, 8
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 0xb
call fcn.00425af0
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 0xa
call fcn.004028a0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.00425a30
push 0x44ad54
lea eax, [ebp - 0x7ec]
push eax
call sub.msvcrt.dll__CxxThrowException
call fcn.0042d630
push esi
call fcn.0042c46d
add esp, 4
test edi, edi
je 0x42666f
push 1
mov ecx, edi
call fcn.00425b10
push str.API_Get_Param_failed_with_code
lea ecx, [ebp - 0x810]
call fcn.0040f770
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 0xc
push ebx
push eax
call fcn.00426aa0
add esp, 8
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 0xd
call fcn.00425af0
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 0xc
call fcn.004028a0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.00425a30
push 0x44ad54
lea eax, [ebp - 0x7ec]
push eax
call sub.msvcrt.dll__CxxThrowException
test edi, edi
je 0x4266e2
push 1
mov ecx, edi
call fcn.00425b10
push str.API_Set_Param_failed_with_code
lea ecx, [ebp - 0x810]
call fcn.0040f770
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 0xe
push ebx
push eax
call fcn.00426aa0
add esp, 8
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 0xf
call fcn.00425af0
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 0xe
call fcn.004028a0
lea ecx, [ebp - 0x810]
call fcn.00426a90
push eax
push 0x4418d4
call fcn.00426bd0
add esp, 8
lea eax, [ebp - 0x810]
lea ecx, [ebp - 0x7ec]
push eax
call fcn.00425a30
push 0x44ad54
lea eax, [ebp - 0x7ec]
push eax
call sub.msvcrt.dll__CxxThrowException
int3