Function at 0x402c43
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov eax, 0x402f40
call fcn.0042f00c
sub esp, 0xb8
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x20]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.00446623
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00446623
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x3c]
call fcn.00447f56
mov byte [ebp - 4], 3
mov eax, 0x100
push eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.00446b05
push eax
call fcn.00402aa5
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00446b5a
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11]
call fcn.00428651
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11]
call fcn.004285d8
mov eax, dword [ebp - 0x18]
add eax, 0x54
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00446934
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.0044687b
mov byte [ebp - 4], 3
call fcn.00402ecd
lea ecx, [ebp - 0x1c]
call fcn.00446703
mov esi, 0x104
push esi
lea ecx, [ebp - 0x1c]
call fcn.00446b82
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00446b5a
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11]
call fcn.004285d8
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00446934
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x20]
call fcn.0044687b
mov byte [ebp - 4], 3
call fcn.00402ec5
push 0x4000
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401a58
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x402d7a
push 0
push 0xffffffffffffffff
push 2
call fcn.004480d7
mov ebx, dword [ebp - 0x18]
add ebx, 0x38
lea ecx, [ebp - 0x20]
call fcn.00401a58
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx], eax
test eax, eax
jne 0x402da0
push 0
push 0xffffffffffffffff
push 2
call fcn.004480d7
mov esi, dword [ebp - 0x18]
push str.g723_encoder_open
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x6c], eax
xor edi, edi
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_encoder_set_filter_mode
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x70], eax
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_encoder_set_vad_mode
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x74], eax
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_encode_packet
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x78], eax
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_encoder_close
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x7c], eax
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_decoder_open
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x80], eax
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_decoder_set_filter_mode
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x84], eax
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_decode_packet
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x88], eax
cmp eax, edi
je 0x402e89
mov esi, dword [ebp - 0x18]
push str.g723_decoder_close
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x8c], eax
cmp eax, edi
jne 0x402e90
push 8
call fcn.00423fcf
mov dword [ebp - 4], 1
call fcn.00402f30
mov byte [ebp - 4], 0
call fcn.00402f38
mov dword [ebp - 4], 0xffffffff
call fcn.00402f4a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret