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

Disassembly:
push 0xffffffffffffffff
push 0x500ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x564610]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x70], 1
call fcn.004e2e10
test eax, eax
mov eax, dword [esp + 0x18]
jl 0x4e239a
cmp eax, esi
je 0x4e239c
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
mov eax, dword [esp + 0x14]
jl 0x4e23db
cmp eax, esi
je 0x4e23db
lea edx, [esp + 0x1c]
push edx
push 0x800
push 1
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x2c], esi
mov ecx, dword [eax]
push 0x523020
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x4e2396
cmp dword [esp + 0x1c], esi
je 0x4e2396
mov ebp, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, ebp
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x2c], ebp
neg ecx
or ecx, eax
push ecx
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
xor ebx, ebx
cmp ebp, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
jle 0x4e22b6
mov ecx, dword [esp + 0x7c]
lea eax, [ebp - 1]
mov dword [esp + 0x78], eax
lea edi, [ecx + ebp*4 - 4]
cmp dword [esp + 0x78], 0
jl 0x4e22b4
mov edx, dword [edi]
push edx
lea ecx, [esp + 0x80]
call fcn.004e1720
mov eax, dword [esp + 0x24]
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x80]
call fcn.004e1750
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
push eax
mov word [esi + edx], 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
sub dword [esp + 0x78], 1
add ebx, 1
sub edi, 4
add esi, 0x10
cmp ebx, ebp
jl 0x4e2262
xor esi, esi
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
push 1
push esi
push 0x523020
or ebx, 0xffffffff
mov dword [esp + 0x3c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
push eax
mov byte [esp + 0x90], 2
call edx
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
cmp edi, esi
jge 0x4e235b
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
cmp eax, esi
mov byte [esp + 0x6c], 0
je 0x4e2355
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x6c], ebx
jmp 0x4e23b3
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
cmp eax, esi
mov byte [esp + 0x6c], 0
je 0x4e237b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, esi
mov dword [esp + 0x6c], ebx
je 0x4e238f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
jmp 0x4e23c5
mov eax, dword [esp + 0x18]
cmp eax, esi
mov byte [esp + 0x6c], 0
je 0x4e23ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4e23c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x10
mov ecx, dword [esp + 0x18]
cmp ecx, esi
mov byte [esp + 0x6c], 0
je 0x4e23f4
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x14]
cmp eax, esi
mov dword [esp + 0x6c], 0xffffffff
je 0x4e23c3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4e23c3