Function at 0x42fa90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x459780]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push str.dllpath__s_n
call fcn.00428930
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x88], edi
test edi, edi
je 0x42fc5e
push 0x38
call fcn.004350ab
mov esi, eax
add esp, 4
mov dword [ebp - 0x98], esi
test esi, esi
je 0x42fae7
mov dword [esi], edi
jmp 0x42fae9
xor esi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._AITalkAPI_Init_4
push edi
call ebx
test eax, eax
je 0x42fcc5
mov dword [esi + 4], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_End_0
push eax
call fcn.0042f9d0
mov dword [esi + 8], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_VoiceLoad_4
push eax
call fcn.0042f9d0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_VoiceClear_0
push eax
call fcn.0042f9d0
mov edi, dword [ebp - 0x88]
add esp, 0x18
mov dword [esi + 0x10], eax
push str._AITalkAPI_SetParam_4
push edi
call ebx
test eax, eax
jne 0x42fb65
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str._AITalkAPI_SetParam_4
jmp 0x42fcd1
push str._AITalkAPI_GetParam_8
push edi
mov dword [esi + 0x14], eax
call ebx
test eax, eax
jne 0x42fb85
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str._AITalkAPI_GetParam_8
jmp 0x42fcd1
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_LangLoad_4
push eax
call fcn.0042f9d0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_TextToKana_12
push eax
call fcn.0042f9d0
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_CloseKana_8
push eax
call fcn.0042f9d0
mov edi, dword [ebp - 0x88]
add esp, 0x18
mov dword [esi + 0x24], eax
push str._AITalkAPI_GetKana_20
push edi
call ebx
test eax, eax
jne 0x42fbea
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str._AITalkAPI_GetKana_20
jmp 0x42fcd1
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_TextToSpeech_12
push eax
call fcn.0042f9d0
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x88]
push str._AITalkAPI_CloseSpeech_8
push eax
call fcn.0042f9d0
mov edi, dword [ebp - 0x88]
add esp, 0x10
mov dword [esi + 0x30], eax
push str._AITalkAPI_GetData_16
push edi
call ebx
test eax, eax
jne 0x42fc3b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str._AITalkAPI_GetData_16
jmp 0x42fcd1
push str.load_dll_ok_n
mov dword [esi + 0x34], eax
call fcn.00428930
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00435098
mov esp, ebp
pop ebp
ret
push str.load_error_n
call fcn.00428930
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary_failed_with_code__d__Check_out_the_voiceroid_path_setting_
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.0041c490
push 0xc
call fcn.004350ab
add esp, 0x14
mov dword [ebp - 0x98], eax
test eax, eax
je 0x42fcac
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.0042e840
jmp 0x42fcae
xor eax, eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push 0x456b14
push eax
call sub.msvcrt.dll__CxxThrowException
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str._AITalkAPI_Init_4
push str.Could_not_find__s_in_the_library.
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041c490
add esp, 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x94]
push eax
call fcn.0042e840
push 0x456af8
lea eax, [ebp - 0x94]
push eax
call sub.msvcrt.dll__CxxThrowException
int3