Function at 0x4790af
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
sub esp, 0xac
mov esi, dword [0x544910]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 4], 0
mov eax, dword [ecx + 4]
mov ecx, ebx
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
jne 0x478d90
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
setne al
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ecx, dword [ebx]
mov dword [esp + 0x3c], ecx
call fcn.004c0830
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
lea ecx, [esp + 0x3c]
mov dword [esp], 2
mov dword [esp + 4], 0x5233e6
call dword [0x544914]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x478dda
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
sub ecx, 0x27
cmp eax, ecx
je 0x478e02
mov dword [esp + 8], 1
mov dword [esp], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 4], 0x5233e3
call dword [0x544920]
sub esp, 0xc
test al, al
je 0x478e50
mov dword [esp + 4], 0
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
jne 0x478e92
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov edx, dword [eax + 4]
test edx, edx
setne al
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14], al
call fcn.004aeb90
movzx eax, byte [esp + 0x14]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x68]
mov dword [esp], eax
call dword [0x5444e4]
sub esp, 4
lea ecx, [esp + 0x68]
call dword [0x5448b4]
test al, al
jne 0x478ee5
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x478e02
mov dword [esp], ebx
lea ecx, [esp + 0x3c]
call dword [0x5445ec]
sub esp, 4
jmp 0x478e02
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x20]
lea eax, [esp + 0x3c]
mov ecx, dword [ebp + 4]
mov dword [esp], eax
call dword [0x5445ec]
mov eax, dword [ebp + 4]
mov esi, dword [ebp]
sub esp, 4
mov ecx, ebp
or byte [eax + 8], 0x20
add eax, 0xc
mov dword [esp], eax
call dword [esi + 0x24]
sub esp, 4
test al, al
mov eax, dword [ebp + 4]
jne 0x478ed0
or byte [eax + 8], 0x10
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4792c6
mov eax, 1
jmp 0x478e2a
mov ecx, ebx
call dword [0x544908]
lea ecx, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [0x5452b8]
sub esp, 8
test eax, eax
jne 0x478fe0
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], eax
movzx eax, word [esp + 0x7c]
mov word [esp + 0x8c], ax
movzx eax, word [esp + 0x7e]
mov word [esp + 0x8e], ax
movzx eax, byte [esp + 0x80]
mov byte [esp + 0x90], al
movzx eax, byte [esp + 0x81]
mov byte [esp + 0x91], al
movzx eax, byte [esp + 0x82]
mov byte [esp + 0x92], al
movzx eax, byte [esp + 0x83]
mov byte [esp + 0x93], al
movzx eax, byte [esp + 0x84]
mov byte [esp + 0x94], al
movzx eax, byte [esp + 0x85]
mov byte [esp + 0x95], al
movzx eax, byte [esp + 0x86]
mov byte [esp + 0x96], al
movzx eax, byte [esp + 0x87]
mov byte [esp + 0x97], al
lea eax, [esp + 0x88]
mov dword [esp], eax
call dword [0x5448b8]
sub esp, 4
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], eax
call fcn.004aeb90
jmp 0x478e72
mov edi, dword [0x5445a0]
mov dword [esp + 4], 0x24
mov dword [esp], str.HKEY_LOCAL_MACHINESoftwareClasses_
mov dword [esp + 0x14], edi
call edi
mov dword [esp + 0x88], eax
lea eax, [esp + 0x88]
lea ecx, [esp + 0x50]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x544738]
sub esp, 0xc
lea ecx, [esp + 0x88]
call fcn.004aeb90
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x88], 0
mov dword [esp + 4], 0xe
mov dword [esp], str._CLSID_Default
call edi
mov ecx, dword [ebx]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
call fcn.004c0830
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x48]
mov dword [esp], eax
mov eax, dword [0x5445b4]
mov dword [esp + 0x1c], eax
call eax
sub esp, 4
lea eax, [esp + 0x88]
lea edi, [esp + 0x58]
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
mov ecx, edi
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
mov eax, dword [0x5449d4]
mov dword [esp + 0x18], eax
call eax
mov eax, dword [0x54498c]
sub esp, 0xc
lea ecx, [esp + 0x44]
mov dword [esp], edi
mov dword [esp + 0x20], eax
call eax
sub esp, 4
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.004aeb90
mov eax, dword [0x544690]
mov ecx, edi
mov dword [esp + 0x28], eax
call eax
lea ecx, [esp + 0x48]
call fcn.004aeb90
lea ecx, [esp + 0x4c]
call fcn.004aeb90
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x88]
call eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
test eax, eax
je 0x479126
lea ecx, [esp + 0x50]
call dword [0x54473c]
jmp 0x478e72
mov dword [esp + 4], 6
mov dword [esp], str._CLSID
mov eax, dword [esp + 0x14]
call eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x88]
lea ecx, [esp + 0x50]
mov dword [esp], eax
call dword [0x544730]
sub esp, 4
lea ecx, [esp + 0x88]
call fcn.004aeb90
lea eax, [esp + 0x50]
lea ecx, [esp + 0x40]
mov dword [esp], eax
call dword [0x5449d0]
sub esp, 4
mov eax, dword [esp + 0x40]
lea ecx, [eax + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea edx, [ecx + edx*4]
lea eax, [ecx + eax*4]
cmp edx, eax
mov dword [esp + 0x24], eax
je 0x4792a4
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov esi, edx
jmp 0x4791c6
lea ecx, [esp + 0x44]
add esi, 4
call fcn.004aeb90
cmp dword [esp + 0x24], esi
je 0x4792bc
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x88], 0
mov dword [esp + 4], 8
mov dword [esp], str._Default
mov eax, dword [esp + 0x14]
call eax
mov dword [esp + 0x4c], eax
mov ecx, dword [esi]
mov dword [esp + 0x48], ecx
call fcn.004c0830
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
call eax
sub esp, 4
mov ecx, edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
call eax
sub esp, 0xc
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x44]
mov dword [esp], edi
call eax
sub esp, 4
mov ecx, edi
call ebp
lea ecx, [esp + 0x48]
call fcn.004aeb90
lea ecx, [esp + 0x4c]
call fcn.004aeb90
lea ecx, [esp + 0x88]
call ebp
lea eax, [esp + 0x44]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [0x5449d8]
test al, al
je 0x4791b0
mov eax, esi
lea ecx, [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp], eax
call dword [0x5445ec]
sub esp, 4
lea ecx, [esp + 0x44]
call fcn.004aeb90
lea ecx, [esp + 0x50]
call dword [0x544734]
lea ecx, [esp + 0x40]
call fcn.004adc30
jmp 0x479117
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x4792a4
lea esi, [esp + 0x78]
mov dword [esp + 0x88], 2
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x523453
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [0x544598]
mov ecx, esi
call fcn.0048a430
mov eax, dword [esp + 0x78]
add eax, dword [eax + 0xc]
mov dword [esp + 4], str.QAxBase::setControl:_requested_control__s_could_not_be_instantiated
mov dword [esp + 8], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
call dword [0x544850]
mov ecx, esi
call fcn.0048a470
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x20]
xor eax, eax
jmp 0x478e2a