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

Disassembly:
push 0xffffffffffffffff
push 0x1009fef5
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10c], 3
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
lea ecx, [esp + 0x1c]
push ecx
push esi
call edx
cmp eax, ebp
jge 0x100066b2
push ebp
push 0x45f
push 0x100a8c60
push eax
call fcn.10002400
lea ecx, [esp + 0x6c]
call fcn.10011b30
mov byte [esp + 0x10c], 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], ebp
call fcn.10001cb0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x100066ef
push ebp
push ebp
push 0x100aa3b6
push eax
call fcn.10002400
mov edx, dword [esi]
lea eax, [esp + 0x7c]
mov ecx, 8
push eax
mov word [esp + 0x78], cx
mov ecx, dword [edx + 0x5c]
push esi
mov dword [esp + 0x8c], 2
mov dword [esp + 0x84], ebp
call ecx
cmp eax, ebp
jge 0x1000672d
push ebp
push 0x462
push 0x100a8c60
push eax
call fcn.10002400
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0xe8]
call fcn.1000e870
mov byte [esp + 0x10c], 5
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.1004fa50
mov byte [esp + 0x10c], 7
lea ecx, [esp + 0xe4]
call fcn.100115e0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push ecx
xor esi, esi
push eax
mov dword [esp + 0x28], esi
call edx
cmp eax, ebp
jl 0x10006be5
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x100067a4
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x18]
jge 0x10006c2b
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call fcn.10009240
mov byte [esp + 0x10c], 8
mov edx, dword [0x100cbb74]
mov eax, dword [edx + 0xc]
mov ecx, 0x100cbb74
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x10c], 0xa
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x10c], 0xb
mov dword [esp + 0x44], ebp
mov byte [esp + 0x10c], 0xc
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
mov dword [esp + 0x44], ebp
mov edi, dword [eax]
cmp dword [eax + 4], ebp
je 0x1000685e
cmp dword [eax + 0xc], ebp
lea edx, [eax + 0xc]
jge 0x10006838
cmp dword [ecx - 8], ebp
jl 0x10006bf2
mov dword [ecx - 0xc], ebp
mov eax, dword [esp + 0x2c]
xor edx, edx
mov word [eax], dx
jmp 0x1000685e
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000684e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jl 0x100066e2
mov edx, 8
mov word [esp + 0x34], dx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], 2
mov dword [esp + 0x3c], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push ecx
push esi
call edx
cmp eax, ebp
jl 0x10006c07
xor eax, eax
lea ecx, [esp + 0x50]
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 fcn.100013a0
cmp eax, ebp
jl 0x10006c18
mov byte [esp + 0x10c], 0xe
lea ecx, [esp + 0x2c]
call fcn.10011a40
mov esi, dword [eax]
lea ecx, [esp + 0x68]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], ebp
lea ecx, [esi + 0xc]
jl 0x10006908
cmp eax, dword [esi]
jne 0x10006908
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10006943
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebp
je 0x10006c26
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100719d3
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x68], edi
mov byte [esp + 0x10c], 0x11
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x58]
call fcn.10050af0
mov byte [esp + 0x10c], 0x14
lea eax, [esp + 0x68]
mov dword [esp + 0x18], eax
mov byte [esp + 0x10c], 0x14
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100069a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0x13
lea ecx, [esp + 0x50]
push ecx
call ebx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x94]
call fcn.1000e7f0
mov byte [esp + 0x10c], 0x18
add eax, 0x18
push eax
lea ecx, [esp + 0xac]
call fcn.100119a0
mov byte [esp + 0x10c], 0x19
lea eax, [esp + 0xe0]
mov dword [esp + 0x18], eax
mov byte [esp + 0x10c], 0x19
mov eax, dword [esp + 0xe0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006a1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0x13
lea ecx, [esp + 0xc8]
push ecx
call ebx
mov esi, dword [esp + 0xa8]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], ebp
lea ecx, [esi + 0xc]
jl 0x10006a5b
cmp eax, dword [esi]
jne 0x10006a5b
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10006a96
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebp
je 0x10006c26
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100719d3
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x28], esi
mov byte [esp + 0x10c], 0x1e
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x10006ac7
push edi
lea ecx, [esp + 0x2c]
call fcn.10001de0
mov esi, dword [esp + 0x28]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.1007466d
add esp, 8
cmp edi, ebp
jl 0x10006bf2
cmp edi, dword [esi - 8]
jg 0x10006bf2
mov ecx, dword [esp + 0x114]
push 1
xor edx, edx
mov dword [esi - 0xc], edi
push esi
mov word [esi + edi*2], dx
call fcn.1000a6e0
mov byte [esp + 0x10c], 0x13
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0x20
lea ecx, [esp + 0xa8]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x10c], 0x20
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10006b5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0xc
lea ecx, [esp + 0x90]
push ecx
call ebx
mov byte [esp + 0x10c], 0x24
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x10c], 8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006bac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 7
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10006bc4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x20]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, ebp
jge 0x100067a0
push ebp
push ebp
push 0x100aa3b6
push eax
call fcn.10002400
push ebp
push 0x359
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.10002400
push ebp
push 0x469
push 0x100a8c60
push eax
call fcn.10002400
push ebp
push 0x7f
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcore.h
push eax
call fcn.10002400
call fcn.10002140
mov al, 0x28
mov byte [esp + 0x10c], al
lea ecx, [esp + 0xc4]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x10c], al
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10006c69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 4
lea ecx, [esp + 0xac]
push ecx
call ebx
mov byte [esp + 0x10c], 0x2c
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x10c], 3
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006cb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10c], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x10006cd1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 4