Function at 0x433770
Capabilities:
Copy file
Get common file path
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x218]
sub esp, 0x218
push 0xffffffffffffffff
push 0x485518
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4b445c]
xor eax, ebp
mov dword [ebp + 0x214], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x4337e3
push str.AudioInterface::InstallGsm610DeCoder_begin...
push eax
call fcn.00430fd0
add esp, 8
mov eax, dword [esi]
cmp eax, ebx
je 0x4337e3
push str.AudioInterface::InstallGsm610DeCoder__SHGetSpecialFolderPath.
push eax
call fcn.004310b0
add esp, 8
push ebx
push 0x25
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x433908
push 0x104
push ebx
lea ecx, [ebp + 0x104]
push ecx
call fcn.0045eb50
add esp, 0xc
push 0x104
lea edx, [ebp + 0x104]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp + 0x104]
push eax
call fcn.0045f020
add esp, 8
mov byte [eax + 1], bl
lea ecx, [ebp + 0x104]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407010
mov byte [ebp - 4], 1
push str.msgsm32.acm
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004095c0
add esp, 0xc
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401ab0
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00407010
mov byte [ebp - 4], 3
push 0x494cd4
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004095c0
add esp, 0xc
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00409680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00401ab0
mov eax, dword [esi]
cmp eax, ebx
je 0x4338c8
push str.AudioInterface::InstallGsm610DeCoder__FindFile_strExistFileName_.
push eax
call fcn.00430fd0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00457871
mov byte [ebp - 4], 5
push ebx
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004578e2
test eax, eax
jne 0x43390f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00457895
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401ab0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401ab0
xor eax, eax
jmp 0x433a77
mov eax, dword [esi]
cmp eax, ebx
je 0x43392b
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
push str.AudioInterface::InstallGsm610DeCoder__CopyFile__s___s_.
push eax
call fcn.00430fd0
add esp, 0x10
push ebx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x24]
push ecx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionDrivers32
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4338e5
mov edx, dword [str.msgsm32.acm]
mov dword [ebp + 0x208], edx
mov eax, dword [0x494ce8]
mov dword [ebp + 0x20c], eax
mov ecx, dword [0x494cec]
mov dword [ebp + 0x210], ecx
lea eax, [ebp + 0x208]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x433984
sub eax, edx
push eax
lea edx, [ebp + 0x208]
push edx
push 1
push ebx
push str.msacm.msgsm610
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x4339df
mov edi, 1
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov eax, dword [esi]
jne 0x433a24
cmp eax, ebx
je 0x433a36
push str.AudioInterface::SendMessage_HWND_BROADCAST__WM_SETTINGCHANGE__0__0__ok.
jmp 0x433a2d
cmp eax, 5
jne 0x4339e9
xor edi, edi
mov dword [ebp - 0x20], edi
mov esi, dword [esi]
cmp esi, ebx
je 0x4339fd
push str.AudioInterface::InstallGsm610DeCoder_failed.
push esi
call fcn.004310b0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00457895
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401ab0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov eax, edi
jmp 0x433a77
cmp eax, ebx
je 0x433a36
push str.AudioInterface::SendMessage_HWND_BROADCAST__WM_SETTINGCHANGE__0__0__failed.
push eax
call fcn.00430fd0
add esp, 8
mov ecx, esi
call fcn.00433330
mov esi, dword [esi]
cmp esi, ebx
je 0x4339fd
push str.AudioInterface::InstallGsm610DeCoder_successfull.
push esi
call fcn.00430fd0
jmp 0x4339fa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x214]
xor ecx, ebp
call fcn.0045e17e
add ebp, 0x218
mov esp, ebp
pop ebp
ret