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

Disassembly:
sub esp, 0x1c
push ebp
mov ecx, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
push edi
lea edi, [esp + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
xor eax, eax
stosd dword es:[edi], eax
and dword [esi + 0x54], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
and ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5c]
shl ecx, 0xb
and eax, 0xfffff6fe
or ecx, eax
mov dword [esi + 0x5c], ecx
cmp dword [ebp], 0xffffffff
je 0x100a499b
cmp dword [esp + 0x38], 0
jne 0x100a49af
push 0x1000b0f8
push esi
push ebp
call fcn.1003d440
test eax, eax
js 0x100a4aa3
mov eax, dword [esi + 0x28]
lea edx, [esi + 0x2c]
push ebx
push dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
push dword [esp + 0x40]
mov ecx, dword [eax]
push edx
push eax
push ebx
call dword [ecx*4 + 0x1000a820]
mov edi, eax
test edi, edi
js 0x100a4a58
cmp dword [esi + 0x30], 0
je 0x100a49f0
push dword [esi + 0x30]
push dword [esi + 0x2c]
push ebx
call fcn.1003d250
mov edi, eax
test edi, edi
js 0x100a4a58
test byte [esi + 0x5c], 8
je 0x100a4c73
mov ebp, dword [esi + 0x38]
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], eax
lea eax, [esp + 0x18]
push eax
push ebp
push dword [esp + 0x18]
call fcn.100924d4
mov edi, eax
test edi, edi
je 0x100a4aac
jg 0x100a4a2d
cmp edi, 0xffff8008
jge 0x100a4a54
xor eax, eax
cmp edi, 0xd
jne 0x100a4a3e
push eax
push eax
push eax
push 0xffffdfd1
jmp 0x100a4a46
push edi
push eax
push eax
push 0xffffe06c
push eax
push eax
push eax
push ebx
call fcn.100378e0
mov edi, 0xfffff42a
mov ebp, dword [esp + 0x38]
cmp dword [esi + 0x2c], 0xffffffff
je 0x100a4a73
mov eax, dword [esi + 0x28]
push dword [esi + 0x2c]
push eax
mov ecx, dword [eax]
push ebx
call dword [ecx*4 + fcn.1000a868]
or dword [esi + 0x2c], 0xffffffff
push dword [ebp]
call fcn.1003d930
mov eax, dword [esp + 0x18]
or dword [ebp], 0xffffffff
and eax, 0x7fff
cmp eax, 8
je 0x100a4a97
cmp eax, 0xe
je 0x100a4a97
cmp eax, 0xc
jne 0x100a4aa0
push dword [esp + 0x24]
call fcn.101174f0
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0x14
mov eax, dword [esp + 0x40]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x18]
and eax, 0x7fff
cmp eax, 8
je 0x100a4ae1
and dword [esi + 0x70], 0
cmp eax, 0xe
je 0x100a4ad3
cmp eax, 0xc
jne 0x100a4c73
push dword [esp + 0x24]
call fcn.101174f0
jmp 0x100a4c73
test byte [esi + 0x5c], 0x40
je 0x100a4bee
mov eax, dword [esp + 0x24]
xor edi, edi
push eax
mov dword [esp + 0x44], eax
call sub.OLEAUT32.dll_VariantInit
movzx ecx, byte [esi + 0x64]
mov ebp, eax
push ecx
call fcn.10093584
cmp byte [esi + 0x64], 0x10
push 0x2a
pop ecx
push 0x25
mov dword [esp + 0x40], eax
pop eax
cmove ecx, eax
movzx ecx, cx
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x100a4b4d
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
movzx eax, word [ebx + edi*2]
push eax
push esi
call fcn.10117e5c
pop ecx
pop ecx
test eax, eax
jne 0x100a4b41
inc edi
cmp edi, ebp
jb 0x100a4b2b
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea eax, [edi + edi]
mov dword [esi + 0x78], eax
cmp ebp, 2
jne 0x100a4b74
mov eax, dword [esp + 0x24]
cmp word [eax], cx
jne 0x100a4b74
cmp word [eax + 2], cx
jne 0x100a4b74
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
inc eax
mov ebp, eax
jmp 0x100a4b77
xor eax, eax
inc eax
cmp dword [esi + 0x78], 0
jne 0x100a4bee
cmp ebp, eax
jne 0x100a4b8a
mov eax, dword [esp + 0x24]
cmp word [eax], cx
je 0x100a4bee
xor ebp, ebp
push ebp
push dword [esi + 0x2c]
push ebx
call fcn.1003d250
mov edi, eax
test edi, edi
js 0x100a4a54
push ebp
push Ordinal_2
push dword [esi + 0x2c]
push ebx
call fcn.1003cb30
or dword [esi + 0x5c], 0x100
mov edi, eax
cmp edi, 0xfffff9bd
jne 0x100a4be6
test dword [esi + 0x5c], 0x800
je 0x100a4a54
push ebx
call fcn.100372a0
push ebp
push ebp
push ebp
push 0xffffddcd
push ebp
push ebp
push ebp
push ebx
call fcn.100378e0
jmp 0x100a4bee
test edi, edi
js 0x100a4a54
push dword [esp + 0x24]
call sub.OLEAUT32.dll_SysAllocStringByteLen
lea ecx, [esi + 0x6c]
mov ebp, eax
cmp dword [ecx], 0
je 0x100a4c21
lea ecx, [ebp + 1]
cmp ecx, dword [esi + 0x74]
jbe 0x100a4c41
lea ecx, [esi + 0x6c]
cmp dword [ecx], 0
je 0x100a4c21
lea eax, [ebp + 1]
push eax
push ecx
push dword [esp + 0x18]
call fcn.100cab31
jmp 0x100a4c31
push ecx
push 1
lea eax, [ebp + 1]
push eax
push dword [esp + 0x1c]
call fcn.100caa46
mov edi, eax
test edi, edi
js 0x100a4a54
lea eax, [ebp + 1]
mov dword [esi + 0x74], eax
push ebp
push dword [esp + 0x28]
mov dword [esi + 0x70], ebp
push dword [esi + 0x6c]
call fcn.101180b0
add esp, 0xc
push dword [esp + 0x24]
call fcn.101174f0
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x70]
jne 0x100a4c73
or dword [esi + 0x5c], 0x80
xor eax, eax
inc eax
mov word [esi + 0x40], ax
xor eax, eax
jmp 0x100a4aa2