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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5778
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x1c]
push eax
push 0x4e2114
push 4
push edi
push 0x4d3058
mov dword [esp + 0x8c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 0x1c], edi
jne 0x48674c
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x18]
call fcn.0042c0b0
lea ecx, [esp + 0x14]
call fcn.0042c0b0
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
lea ecx, [esp + 0x14]
mov ebx, eax
add esi, 0x10
call fcn.004020f0
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cd20
mov ecx, dword [esi]
push eax
push ebx
call ecx
push edi
lea ecx, [esp + 0x18]
call fcn.0042bfd0
test al, al
jne 0x4869d5
lea esp, [esp]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4867b4
mov dword [esp + 0x18], edi
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
call fcn.0042cd20
push eax
lea ecx, [esp + 0x1c]
call fcn.0042df40
test al, al
je 0x4867dc
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041f920
jmp 0x4867e5
lea ecx, [esp + 0x18]
call fcn.0042cd20
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.0042cd20
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x4d3038
push eax
mov eax, dword [ecx]
call eax
cmp dword [esp + 0x20], edi
je 0x486988
lea ecx, [esp + 0x3c]
call fcn.0041fcf0
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jl 0x48696a
cmp word [esp + 0x3c], 9
jne 0x48696a
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x48696a
mov dword [esp + 0x24], edi
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x7c], 5
mov ecx, dword [eax]
push 0x4d3048
push eax
mov eax, dword [ecx]
call eax
cmp dword [esp + 0x24], edi
je 0x48696a
lea ecx, [esp + 0x2c]
call fcn.0041fcf0
mov bl, 6
push 0x4e2100
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], bl
call fcn.0041fd60
mov byte [esp + 0x78], 7
mov edi, dword [eax]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
lea ecx, [esp + 0x2c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x20]
push edx
call ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], bl
call fcn.0041fd30
cmp word [esp + 0x2c], 0x13
je 0x486935
lea ecx, [esp + 0x2c]
call fcn.0041fe40
push 0x4e210c
lea ecx, [esp + 0x60]
call fcn.0041fd60
mov byte [esp + 0x78], 8
mov edi, dword [eax]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
lea ecx, [esp + 0x2c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x20]
push edx
call ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], bl
call fcn.0041fd30
cmp word [esp + 0x2c], 3
jne 0x48693d
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
call fcn.00486a40
lea ecx, [esp + 0x2c]
call fcn.0041fd30
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
je 0x48696a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x3c]
call fcn.0041fd30
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x486988
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x14]
call fcn.00428df0
lea ecx, [esp + 0x14]
call fcn.0042c0b0
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
lea ecx, [esp + 0x14]
mov ebx, eax
add esi, 0x10
call fcn.004020f0
push eax
lea ecx, [esp + 0x1c]
call fcn.0042cd20
push eax
mov eax, dword [esi]
push ebx
call eax
push edi
lea ecx, [esp + 0x18]
call fcn.0042bfd0
test al, al
je 0x4867a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.00428df0
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4869f7
mov dword [esp + 0x1c], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x18]
call fcn.00428df0
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x486a18
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret