Function at 0x489010
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 [0x57f3c4]
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 0x489060
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.004d4790
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
lea ecx, [esp + 0x3c]
mov dword [esp], 2
mov dword [esp + 4], 0x563da6
call dword [0x57f3c8]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x4890aa
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
sub ecx, 0x27
cmp eax, ecx
je 0x4890d2
mov dword [esp + 8], 1
mov dword [esp], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 4], 0x563da3
call dword [0x57f3dc]
sub esp, 0xc
test al, al
je 0x489120
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 0x489162
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.004ceb4c
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 [0x57f074]
sub esp, 4
lea ecx, [esp + 0x68]
call dword [0x57f370]
test al, al
jne 0x4891b5
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4890d2
mov dword [esp], ebx
lea ecx, [esp + 0x3c]
call dword [0x57f16c]
sub esp, 4
jmp 0x4890d2
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 [0x57f16c]
mov eax, dword [ebp + 4]
mov esi, dword [ebp]
sub esp, 4
mov ecx, ebp
or byte [eax + 8], 0x20
add eax, 0x10
mov dword [esp], eax
call dword [esi + 0x24]
sub esp, 4
test al, al
mov eax, dword [ebp + 4]
jne 0x4891a0
or byte [eax + 8], 0x10
mov eax, dword [eax + 0x10]
test eax, eax
je 0x489596
mov eax, 1
jmp 0x4890fa
mov ecx, ebx
call dword [0x57f3b8]
lea ecx, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [0x57fc0c]
sub esp, 8
test eax, eax
jne 0x4892b0
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 [0x57f374]
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.004ceb4c
jmp 0x489142
mov edi, dword [0x57f12c]
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 [0x57f24c]
sub esp, 0xc
lea ecx, [esp + 0x88]
call fcn.004ceb4c
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.004d4790
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x48]
mov dword [esp], eax
mov eax, dword [0x57f144]
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 [0x57f478]
mov dword [esp + 0x18], eax
call eax
mov eax, dword [0x57f430]
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.004ceb4c
mov eax, dword [0x57f1c0]
mov ecx, edi
mov dword [esp + 0x28], eax
call eax
lea ecx, [esp + 0x48]
call fcn.004ceb4c
lea ecx, [esp + 0x4c]
call fcn.004ceb4c
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 0x4893f6
lea ecx, [esp + 0x50]
call dword [0x57f250]
jmp 0x489142
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 [0x57f244]
sub esp, 4
lea ecx, [esp + 0x88]
call fcn.004ceb4c
lea eax, [esp + 0x50]
lea ecx, [esp + 0x40]
mov dword [esp], eax
call dword [0x57f474]
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 0x489574
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov esi, edx
jmp 0x489496
lea ecx, [esp + 0x44]
add esi, 4
call fcn.004ceb4c
cmp dword [esp + 0x24], esi
je 0x48958c
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.004d4790
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.004ceb4c
lea ecx, [esp + 0x4c]
call fcn.004ceb4c
lea ecx, [esp + 0x88]
call ebp
lea eax, [esp + 0x44]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [0x57f47c]
test al, al
je 0x489480
mov eax, esi
lea ecx, [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp], eax
call dword [0x57f16c]
sub esp, 4
lea ecx, [esp + 0x44]
call fcn.004ceb4c
lea ecx, [esp + 0x50]
call dword [0x57f248]
lea ecx, [esp + 0x40]
call fcn.004cc478
jmp 0x4893e7
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x489574
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], 0x563e13
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [0x57f124]
mov ecx, esi
call fcn.0049a734
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 [0x57f320]
mov ecx, esi
call fcn.0049a898
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x20]
xor eax, eax
jmp 0x4890fa