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

Disassembly:
sub esp, 0x80
mov eax, dword [0x6a3b20]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
mov ebx, dword [esp + 0x88]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
mov ecx, ebx
mov dword [esp + 0x2c], esi
call dword [0x5a7cb0]
test eax, eax
jne 0x56b402
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
cmp dword [edx + 4], eax
setne al
jmp 0x56b812
push ebx
lea ecx, [esp + 0xc]
call dword [0x5a7cbc]
push 1
push 0
mov ecx, 0x659378
push ecx
mov eax, 2
push eax
lea ecx, [esp + 0x18]
call dword [0x5a770c]
cmp eax, 0xffffffff
je 0x56b43e
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0xffffffd9
cmp eax, ecx
je 0x56b73d
push 1
mov ecx, 0x659370
push ecx
mov eax, 2
push eax
lea ecx, [esp + 0x14]
call dword [0x5a7350]
test al, al
jne 0x56b73d
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x78]
call dword [0x5a73cc]
lea ecx, [esp + 0x74]
call dword [0x5a73c0]
test al, al
je 0x56b728
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
call dword [0x5a7820]
push eax
call dword [0x5a932c]
test eax, eax
jne 0x56b4cd
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x58]
call dword [0x5a73d8]
mov ecx, eax
call dword [0x5a77c8]
push eax
lea ecx, [esp + 0xc]
call dword [0x5a7c74]
lea ecx, [esp + 0x14]
call dword [0x5a7d90]
jmp 0x56b728
push ebp
push edi
push str.HKEY_LOCAL_MACHINESoftwareClasses_
lea ecx, [esp + 0x20]
call fcn.004219f0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x1c]
call dword [0x5a7d70]
push 0
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call dword [0x5a7be4]
lea ecx, [esp + 0x14]
call dword [0x5a7d90]
push str._CLSID_Default
lea ecx, [esp + 0x44]
call fcn.004219f0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x1c]
call dword [0x5a7d70]
push ebx
lea ecx, [esp + 0x1c]
call dword [0x5a7cbc]
mov ebp, dword [0x5a7cc0]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4c]
call dword [0x5a7b50]
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
call dword [0x5a7bf4]
mov ecx, eax
call dword [0x5a7bf8]
push eax
lea ecx, [esp + 0x14]
call dword [0x5a7c74]
lea ecx, [esp + 0x1c]
call dword [0x5a7d90]
mov edi, dword [0x5a7bec]
lea ecx, [esp + 0x30]
call edi
lea ecx, [esp + 0x18]
call dword [0x5a7d90]
lea ecx, [esp + 0x48]
call edi
lea ecx, [esp + 0x14]
call dword [0x5a7d90]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 4], 0
jne 0x56b71c
push str._CLSID
lea ecx, [esp + 0x44]
call fcn.004219f0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c]
call dword [0x5a7d70]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call dword [0x5a7354]
lea ecx, [esp + 0x14]
call dword [0x5a7d90]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call dword [0x5a7358]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.004c5130
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x56b700
lea esp, [esp]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x38]
je 0x56b700
mov esi, ecx
test eax, eax
je 0x56b6ea
mov ecx, str._Default
push ecx
mov eax, 8
push eax
lea ecx, [esp + 0x48]
call dword [0x5a7d70]
push esi
lea ecx, [esp + 0x1c]
call dword [0x5a7cbc]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
call ebp
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x5c]
call dword [0x5a7b50]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x34]
call dword [0x5a7bf4]
mov ecx, eax
call dword [0x5a7bf8]
lea ecx, [esp + 0x48]
call edi
lea ecx, [esp + 0x18]
call dword [0x5a7d90]
lea ecx, [esp + 0x58]
call edi
lea ecx, [esp + 0x40]
call dword [0x5a7d90]
lea edx, [esp + 0x14]
push ebx
push edx
call dword [0x5a7c80]
add esp, 8
test al, al
jne 0x56b6d1
lea ecx, [esp + 0x14]
call dword [0x5a7d90]
xor eax, eax
jmp 0x56b6ea
push esi
lea ecx, [esp + 0x14]
call dword [0x5a7cc4]
lea ecx, [esp + 0x14]
call dword [0x5a7d90]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x34], 4
mov esi, dword [esp + 0x2c]
xor eax, 1
mov dword [esp + 0x3c], eax
jne 0x56b620
lea ecx, [esp + 0x30]
call fcn.00401250
lea ecx, [esp + 0x24]
call dword [0x5a735c]
lea ecx, [esp + 0x1c]
call fcn.00401250
lea ecx, [esp + 0x24]
call dword [0x5a7c14]
pop edi
pop ebp
mov eax, dword [esp + 8]
cmp dword [eax + 4], 0
jne 0x56b73d
push ebx
lea ecx, [esp + 0xc]
call dword [0x5a7cc4]
mov ecx, dword [esi + 4]
push 0
push ecx
lea ecx, [esp + 0x10]
call dword [0x5a7cb0]
test eax, eax
jne 0x56b76e
mov edx, dword [esi + 4]
mov eax, dword [edx]
cmp dword [eax + 4], 0
lea ecx, [esp + 8]
setne bl
call dword [0x5a7d90]
mov al, bl
jmp 0x56b812
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esi + 4]
call dword [0x5a7cc4]
mov eax, dword [esi + 4]
or dword [eax + 8], 0x20
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
add eax, 0xc
push eax
mov ecx, esi
call edx
test al, al
jne 0x56b7a7
mov eax, dword [esi + 4]
or dword [eax + 8], 0x10
mov eax, dword [esi + 4]
cmp dword [eax + 0xc], 0
jne 0x56b806
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call dword [0x5a7af0]
mov ecx, eax
call dword [0x5a7af4]
push eax
push str.QAxBase::setControl:_requested_control__s_could_not_be_instantiated
push 0
push 0
push 0
lea ecx, [esp + 0x64]
call dword [0x5a7d50]
push eax
call dword [0x5a7730]
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [0x5a7d74]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
lea ecx, [esp + 8]
call dword [0x5a7d90]
xor al, al
jmp 0x56b812
lea ecx, [esp + 8]
call dword [0x5a7d90]
mov al, 1
mov ecx, dword [esp + 0x84]
pop esi
pop ebx
xor ecx, esp
call fcn.0058077e
add esp, 0x80
ret 4