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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, eax
and dword [esi + 4], 0
push edi
mov dword [esi], 6
push dword [0x6d3ac0]
mov edi, ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
push dword [0x6d3a9c]
mov ecx, edx
sar ecx, 0x1f
mov ecx, eax
shr ecx, 0x10
movsx ebx, cx
mov ecx, edx
shr ecx, 0x10
movsx ecx, cx
add ebx, ecx
cwde
movsx ecx, dx
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
push eax
mov dword [esp + 0x2c], ebx
call dword [ecx + 0x74]
mov dword [esp + 0x20], eax
cmp eax, 3
jne 0x48a175
and dword [esi], 0
mov edi, dword [edi + 0xc]
and dword [esp + 0x14], 0
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push 0x64b090
push dword [0x6d3a3c]
push edi
call dword [eax + 0x98]
test eax, eax
js 0x48a16c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
add eax, dword [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
add eax, ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
jmp 0x48a506
and dword [esp + 0x1c], 0
cmp eax, 1
je 0x48a18e
cmp eax, 2
je 0x48a18e
mov dword [esp + 0x14], 0x405
jmp 0x48a197
mov eax, dword [0x6d3a38]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x64b090
push dword [esp + 0x1c]
push eax
call dword [ecx + 0x98]
test eax, eax
js 0x48a1c2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0xc]
push dword [0x6d3a80]
and dword [esp + 0x14], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
cmp eax, 0xffffffff
mov eax, dword [0x6d3a84]
jne 0x48a1e5
mov eax, dword [0x6d3a88]
lea edx, [esp + 0x10]
push edx
push 0x64b090
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
push dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
test eax, eax
js 0x48a240
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
add eax, 3
add dword [esi], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [esp + 0x14], eax
jle 0x48a233
mov eax, dword [esp + 0x14]
jmp 0x48a23d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0xc]
and dword [esp + 0x18], 0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x158]
test eax, eax
js 0x48a39c
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [edi + 0xc]
push dword [0x6d3ab4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
cmp eax, 1
jne 0x48a38e
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push dword [0x6d3a8c]
push eax
call dword [ecx + 0x54]
test eax, eax
js 0x48a38e
cmp word [esp + 0x50], 8
jne 0x48a38e
mov ecx, dword [esp + 0x58]
cmp word [ecx], 0
je 0x48a38e
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [esp + 0x60]
push dword [esp + 0x20]
call dword [ebx + 0xc]
mov eax, dword [esp + 0x30]
add dword [esi], eax
mov eax, dword [0x6b7fb8]
mov ecx, dword [esi + 4]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
add eax, dword [esp + 0x34]
cmp ecx, eax
jle 0x48a2fb
mov eax, ecx
mov dword [esi + 4], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push dword [0x6d3a90]
push eax
call dword [ecx + 0x54]
test eax, eax
js 0x48a37d
cmp word [esp + 0x40], 8
jne 0x48a37d
mov ecx, dword [esp + 0x48]
cmp word [ecx], 0
je 0x48a37d
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [esp + 0x50]
push dword [esp + 0x20]
call dword [ebx + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 4]
add eax, 5
add dword [esi], eax
mov eax, dword [0x6b7fb8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
add eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x48a37a
mov eax, ecx
mov dword [esi + 4], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [esp + 0x24]
jmp 0x48a391
add dword [esi], 0xfffffffd
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [edi + 0xc]
and dword [esp + 0x2c], 0
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x64b090
push dword [0x6d3b08]
push eax
call dword [ecx + 0x98]
test eax, eax
js 0x48a3c4
add dword [esi], 5
cmp dword [esp + 0x20], 1
je 0x48a3d2
cmp dword [esp + 0x20], 2
jne 0x48a3e3
mov eax, dword [edi + 0xc]
push dword [0x6d3aa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
add dword [esi], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48a45c
mov ecx, dword [eax]
and dword [esp + 0x38], 0
and dword [esp + 0x3c], 0
push eax
call dword [ecx + 0x1c]
mov ecx, dword [esi + 4]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movzx ebx, ax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
shl ebx, 0x10
push eax
or ebx, 3
mov dword [esp + 0x18], eax
call dword [ecx + 0x1c]
add eax, dword [esp + 0x20]
movzx eax, ax
shl eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
add eax, 3
movzx eax, ax
or eax, dword [esp + 0x20]
push eax
push ebx
push dword [0x6d3aac]
push ecx
call dword [edx + 0xa0]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add dword [esi], eax
add dword [esi + 4], ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x70]
push eax
call ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push 0x3ec
push eax
call dword [ecx + 0x54]
test eax, eax
js 0x48a498
cmp word [esp + 0x70], 3
jne 0x48a498
mov eax, dword [esp + 0x78]
mov dword [esi + 4], eax
lea eax, [esp + 0x60]
push eax
call ebx
mov edi, dword [edi + 0xc]
mov eax, dword [edi]
lea ecx, [esp + 0x60]
push ecx
push 0x3eb
push edi
call dword [eax + 0x54]
test eax, eax
js 0x48a4c4
cmp word [esp + 0x60], 3
jne 0x48a4c4
mov eax, dword [esp + 0x68]
mov dword [esi], eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x60]
push eax
call esi
lea eax, [esp + 0x70]
push eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48a4e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48a4f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48a502
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48a510
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret