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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10165188
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
fld qword [ebx + 0x260]
lea esi, [ebx + 0x260]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10083be7
cmp byte [ebx + 0x278], 0
jne 0x10083be7
cmp byte [ebx + 0x14], 0
jne 0x10083926
push 3
lea eax, [ebx + 0x68]
push SysReAllocStringLen
call fcn.100aa4e0
test eax, eax
setns cl
mov byte [ebx + 0x14], cl
mov byte [ebx + 0x15], 0
test eax, eax
js 0x10083bec
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0x10083b98
mov edx, dword [eax + 0x10]
cmp dword [edx + 4], 0
jle 0x10083b98
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 0
call fcn.10076aa0
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
jmp 0x1008397a
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
fld qword [ecx]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10083b48
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
call fcn.10082bf0
test al, al
je 0x10083b7d
mov esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x24]
ja 0x10083b35
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
and eax, 0x7fffffff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
and edi, 0x7fffffff
shl eax, 0x1e
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
jmp 0x100839f4
mov edi, dword [esp + 0x34]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x78], 0
call ebx
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x60], 0
call ebx
mov eax, edi
mov ebx, esi
shl ebx, 0x1f
mov edi, esi
shr edi, 1
mov byte [esp + 0x88], 2
or eax, ebx
and edi, 0x3fffffff
or edi, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov edx, 6
mov word [esp + 0x64], dx
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10083a7a
cmp byte [eax + 8], 0
je 0x10083a5f
mov eax, dword [eax]
jmp 0x10083a62
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov eax, dword [esp + 0x40]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x40]
or eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x64]
mov edx, 6
mov dword [esp + 0x58], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x44], ecx
mov word [esp + 0x4c], dx
mov edi, eax
test eax, eax
je 0x10083acd
cmp byte [eax + 8], 0
je 0x10083ab6
mov eax, dword [eax]
jmp 0x10083ab9
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
push 2
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1c]
add eax, 0x68
push eax
mov edx, 0x40
mov dword [esp + 0x68], 0
call fcn.100aaab0
lea ecx, [esp + 0x4c]
mov edi, eax
mov byte [esp + 0x88], 1
call fcn.10011eb0
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 0
call fcn.10011eb0
test edi, edi
js 0x10083bb2
inc esi
cmp esi, dword [esp + 0x24]
jbe 0x100839f0
mov edi, dword [esp + 0x18]
add dword [esp + 0x1c], 8
inc edi
mov dword [esp + 0x18], edi
cmp edi, 3
jl 0x10083976
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10083b63
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10083b98
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10083bcd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x80004005
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8