Function at 0x450bc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9e40
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d1698]
xor eax, ebp
mov dword [ebp - 0x18], 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, dword [ebp + 8]
xor ebx, ebx
cmp byte [0x4da974], bl
je 0x450ca2
cmp esi, 1
jne 0x450c17
cmp dword [0x4db38c], ebx
je 0x450dd5
mov al, 1
jmp 0x450ca4
cmp esi, 2
jne 0x450c2c
cmp dword [0x4db390], ebx
je 0x450de0
mov al, 1
jmp 0x450ca4
cmp esi, 3
jne 0x450c3d
cmp dword [0x4db394], ebx
je 0x450c56
mov al, 1
jmp 0x450ca4
cmp esi, 4
jne 0x450df7
cmp dword [0x4db398], ebx
je 0x450d03
mov al, 1
jmp 0x450ca4
cmp dword [0x4d563c], 0x10
mov eax, dword [0x4d5628]
jae 0x450c69
mov eax, 0x4d5628
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4db394], eax
cmp eax, ebx
je 0x450ca2
push str.SA_IsRunning
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x4d82dc], eax
cmp eax, ebx
jne 0x450cc0
mov eax, dword [0x4db394]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4db394], ebx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048c97b
mov esp, ebp
pop ebp
ret
push str.SA_SayW
mov ecx, dword [0x4db394]
push ecx
call esi
mov dword [0x4da320], eax
cmp eax, ebx
jne 0x450ce0
mov edx, dword [0x4db394]
push edx
jmp 0x450c96
push str.SA_StopAudio
mov eax, dword [0x4db394]
push eax
call esi
mov dword [0x4d82d8], eax
cmp eax, ebx
jne 0x450c10
mov ecx, dword [0x4db394]
push ecx
jmp 0x450c96
cmp dword [0x4d5658], 0x10
mov eax, dword [0x4d5644]
jae 0x450d16
mov eax, 0x4d5644
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4db398], eax
cmp eax, ebx
je 0x450ca2
push str.nvdaController_testIfRunning
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x4d74d4], eax
cmp eax, ebx
jne 0x450d59
mov edx, dword [0x4db398]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4db398], ebx
jmp 0x450ca2
push str.nvdaController_speakText
mov eax, dword [0x4db398]
push eax
call esi
mov dword [0x4d81c8], eax
cmp eax, ebx
jne 0x450d87
mov ecx, dword [0x4db398]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4db398], ebx
jmp 0x450ca2
push str.nvdaController_cancelSpeech
mov edx, dword [0x4db398]
push edx
call esi
mov dword [0x4d81cc], eax
cmp eax, ebx
jne 0x450db5
mov eax, dword [0x4db398]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4db398], ebx
jmp 0x450ca2
push str.nvdaController_brailleMessage
mov ecx, dword [0x4db398]
push ecx
call esi
mov dword [0x4d762c], eax
cmp eax, ebx
jne 0x450c10
jmp 0x450d41
lea eax, [ebp - 0x28]
push eax
push str.FreedomSci.JawsApi
jmp 0x450de9
lea ecx, [ebp - 0x28]
push ecx
push str.Windoweyes.Application
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
cmp eax, ebx
jl 0x450ca2
lea edx, [ebp - 0x2c]
push edx
push 0x4ae290
push 1
push ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x450ca2
mov dword [ebp - 4], ebx
cmp esi, 1
jne 0x450e58
push 4
call fcn.0048d737
add esp, 4
cmp eax, ebx
je 0x450e43
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov dword [0x4db38c], eax
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x450ca4
xor eax, eax
mov dword [0x4db38c], eax
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x450ca4
cmp esi, 2
jne 0x450ec8
push 4
call fcn.0048d737
add esp, 4
cmp eax, ebx
je 0x450e74
mov edx, dword [ebp - 0x2c]
mov dword [eax], edx
mov esi, eax
jmp 0x450e76
xor esi, esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 4]
push ecx
mov ecx, str.Speech
call fcn.00475190
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov edi, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 4
call fcn.0048d737
add esp, 4
cmp eax, ebx
je 0x450eb8
mov dword [eax], edi
jmp 0x450eba
xor eax, eax
mov dword [0x4db390], eax
cmp esi, ebx
je 0x450ec8
call fcn.00450f20
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x450ca4