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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459ae4
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x477af4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea ecx, [esp + 0x5c]
call fcn.004153a2
and dword [esp + 0x80], 0
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x17], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx - 1]
mov byte [esp + 0x80], 1
cmp eax, 0x1c
ja case.default.0x414d8a
movzx eax, byte [eax + 0x415196]
mov esi, dword [ebp + 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp dword [eax*4 + 0x41517a]
mov edi, dword [ebp + 0x20]
test edi, edi
jne 0x414dc6
mov eax, dword [ebp + 0x24]
call fcn.00414bcd
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x5c]
call fcn.00415510
push dword [esp + 0x5c]
call fcn.0044380c
mov eax, esi
jmp 0x415164
push 0xb
pop ecx
cmp ebx, 0x17
jne 0x414dd2
push 4
jmp 0x414e2b
cmp ebx, 0x15
jne 0x414ddb
push 2
jmp 0x414e2b
cmp ebx, 0x14
jne 0x414de5
xor ecx, ecx
inc ecx
jmp 0x414e2c
cmp ebx, 0x13
jne 0x414dee
xor ecx, ecx
jmp 0x414e2c
cmp ebx, 0x18
jne 0x414df7
push 5
jmp 0x414e2b
cmp ebx, 0x16
jne 0x414e00
push 3
jmp 0x414e2b
cmp ebx, 0x19
jne 0x414e09
push 6
jmp 0x414e2b
cmp ebx, 0x1a
jne 0x414e12
push 7
jmp 0x414e2b
cmp ebx, 0x1b
jne 0x414e1b
push 8
jmp 0x414e2b
cmp ebx, 0x1c
jne 0x414e24
push 9
jmp 0x414e2b
cmp ebx, 0x1d
jne 0x414e2c
push 0xa
pop ecx
mov eax, dword [ebp + 8]
lea esi, [eax + ecx*4 + 0x88]
cmp dword [esi], 0
jne 0x414e55
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
mov edx, esi
lea eax, [esp + 0x14]
call fcn.0041863f
test eax, eax
jne 0x414da0
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esi]
test esi, esi
je 0x414e68
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 9
pop eax
mov word [edi], ax
mov dword [edi + 8], esi
xor esi, esi
jmp 0x414da2
test esi, esi
je case.0x414d8a.1
cmp dword [esi + 8], 1
jne 0x414eb6
push dword [esi]
lea ecx, [esp + 0x40]
call fcn.00415bf3
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x84], 2
call fcn.004153e1
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x84], 1
call edi
cmp dword [esi + 8], 2
jne case.0x414d8a.1
mov eax, dword [esi]
add eax, 0x10
push eax
lea ecx, [esp + 0x30]
call fcn.00415bf3
mov byte [esp + 0x80], 3
push dword [esi]
lea ecx, [esp + 0x40]
call fcn.00415bf3
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x84], 4
call fcn.004153e1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
call fcn.004153e1
lea eax, [esp + 0x3c]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x84], 1
call edi
jmp case.0x414d8a.1
test esi, esi
jne 0x414f2f
mov esi, 0x8002000f
jmp 0x414da2
cmp dword [esi + 8], 2
je 0x414f3f
mov esi, 0x8002000e
jmp 0x414da2
mov eax, dword [esi]
add eax, 0x10
push eax
lea ecx, [esp + 0x40]
call fcn.00415bf3
mov byte [esp + 0x80], 5
push dword [esi]
lea ecx, [esp + 0x30]
call fcn.00415bf3
push 3
pop eax
mov byte [esp + 0x80], 6
cmp ax, word [esp + 0x3c]
je 0x414f9b
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x414f7d
and dword [eax], 0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x2c]
push eax
call esi
lea eax, [esp + 0x3c]
push eax
call esi
mov esi, 0x80020008
jmp 0x414da2
push 3
pop eax
cmp ax, word [esp + 0x2c]
je 0x414fb4
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x414f7d
mov dword [eax], 1
jmp 0x414f7d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
call fcn.004153e1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
call fcn.004153e1
lea eax, [esp + 0x2c]
push eax
call edi
lea eax, [esp + 0x3c]
jmp 0x414f11
test esi, esi
je 0x414f25
cmp dword [esi + 8], 1
jne 0x414f35
push dword [esi]
lea ecx, [esp + 0x50]
call fcn.00415bf3
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x84], 7
call fcn.004153e1
lea eax, [esp + 0x4c]
jmp 0x414f11
cmp dword [ebp + 0x20], 0
je 0x414d98
mov byte [esp + 0x13], 1
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x60]
push edx
push dword [ebp + 0xc]
call dword [eax + 0xc]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], eax
je 0x415065
cmp dword [ebp + 0x20], 0
je 0x415065
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x20]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp dword [esp + 0x14], 0
je 0x415080
push dword [ebp + 0xc]
mov ecx, esi
push dword [esp + 0x18]
push ebx
call fcn.00418f95
and dword [esp + 0x14], 0
lea eax, [esp + 0x1c]
push eax
call edi
lea ecx, [esp + 0x5c]
call fcn.00415510
push dword [esp + 0x5c]
call fcn.0044380c
mov eax, dword [esp + 0x18]
jmp 0x415164
cmp dword [ebp + 0x20], 0
je 0x414d98
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 0xb4]
lea esi, [esp + 0x1c]
call fcn.0040757f
mov eax, esi
push eax
push dword [ebp + 0x20]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x414e71
mov esi, dword [ebp + 8]
and dword [esp + 0x14], 0
lea edi, [esi + 0x88]
mov ecx, dword [edi]
test ecx, ecx
jne 0x415105
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov edx, edi
lea eax, [esp + 0x18]
call fcn.0041863f
mov ecx, dword [edi]
test ecx, ecx
je 0x415121
push dword [ebp + 0x28]
mov eax, dword [ecx]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push ecx
call dword [eax + 0x18]
test eax, eax
je 0x414da0
cmp eax, 0x80020003
jne 0x414da0
inc dword [esp + 0x14]
add edi, 4
cmp dword [esp + 0x14], 0xb
jb 0x4150e3
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x5c]
call fcn.00415510
push dword [esp + 0x5c]
call fcn.0044380c
mov eax, 0x80020003
pop ecx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24