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

Disassembly:
push 0xffffffffffffffff
push 0x1027e838
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
cmp word [ebp], 8
sete al
xor ebx, ebx
cmp al, bl
jne 0x10163fe1
push ebx
push 0x98
push 0x102d8408
push 0x80070057
call fcn.100048f0
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x58]
call fcn.10056640
mov dword [esp + 0x80], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x88]
sub ecx, 0xffffff80
push ecx
lea ecx, [esp + 0x38]
call fcn.10055870
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x34]
call fcn.100585c0
test eax, eax
jne 0x10164091
push 1
push 0xa4
lea ecx, [esp + 0x90]
call fcn.101697b0
mov byte [esp + 0x80], 3
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x24], vtable.CAtlArrayBuilder_class_CAutoString__class_ATL::CElementTraits_class_CAutoString___class_ATL::CAtlArray_class_CAutoString__class_ATL::CElementTraits_class_CAutoString___.0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 0xffffffff
call fcn.101e8f20
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x88]
call fcn.10004720
jmp 0x101640c2
lea ecx, [esp + 0x34]
call fcn.10002aa0
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x24], vtable.CAtlArrayBuilder_class_CAutoString__class_ATL::CElementTraits_class_CAutoString___class_ATL::CAtlArray_class_CAutoString__class_ATL::CElementTraits_class_CAutoString___.0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 0xffffffff
call fcn.101e8f20
mov edx, dword [esp + 0x28]
push ebx
push edx
lea ecx, [esp + 0x90]
call fcn.10098120
mov byte [esp + 0x80], 4
lea esi, [esp + 0x88]
xor edi, edi
call fcn.10116290
test eax, eax
jbe 0x1016412e
xor ebp, ebp
push edi
lea ecx, [esp + 0x8c]
call fcn.100981d0
cmp edi, dword [esp + 0x28]
jae 0x1016421c
mov ecx, dword [esp + 0x24]
add ecx, ebp
push eax
call fcn.10056850
lea esi, [esp + 0x88]
inc edi
add ebp, 0x20
call fcn.10116290
cmp edi, eax
jb 0x101640f0
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov esi, ebp
call fcn.1016a820
mov byte [esp + 0x80], 2
cmp edi, ebx
je 0x10164165
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, ebx
jl 0x10164165
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
cmp eax, ebx
jl 0x10164165
mov dword [esp + 0x88], ebx
mov byte [esp + 0x80], 5
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x3c]
push edx
call esi
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x101641a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x101641c9
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.1016a8d0
mov edx, dword [esp + 0x2c]
push edx
call fcn.1022f576
add esp, 0xc
mov dword [esp + 0x80], 8
lea eax, [esp + 0x5c]
push eax
call esi
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10164206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
push ebx
push 0x2c6
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80070057
call fcn.100048f0
int3