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

Disassembly:
mov eax, 0x14fc
call fcn.005d9990
mov eax, dword [esp + 0x150c]
push ebx
push ebp
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x40678c
mov eax, dword [esp + 0x1510]
cmp eax, ebx
je 0x40678c
mov esi, dword [eax + 0x398]
cmp esi, ebx
je 0x40678c
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x30]
push eax
call ebp
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
push 3
push 0x800
push 0x5ff388
push 0xfffffffffffffffc
mov dword [esp + 0x4c], ebx
mov edx, dword [esi]
push esi
call dword [edx + 0x18]
test eax, eax
jl 0x40678c
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
push 0x5ff348
mov dword [esp + 0x18], ebx
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x406781
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x406558
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
lea eax, [esp + 0x1c]
push eax
xor esi, esi
call ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x20]
push edx
push 1
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x40652f
cmp word [esp + 0x1c], bx
je 0x40652b
mov eax, dword [esp + 0x1518]
inc esi
cmp eax, ebx
jbe 0x4064fb
cmp esi, eax
je 0x406573
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x1c]
push ecx
call ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 1
mov dword [esp + 0x20], ebx
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
test eax, eax
jge 0x4064e4
mov dword [esp + 0x18], esi
cmp dword [esp + 0x1518], ebx
jne 0x40654e
mov edx, dword [esp + 0x151c]
push esi
push 0x5f4a2c
push edx
call fcn.005d9929
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14fc
ret
cmp dword [esp + 0x1514], ebx
mov dword [esp + 0x18], esi
je 0x406771
lea edx, [esp + 0x4a4]
push 0x1068
push edx
call fcn.004232e0
mov eax, dword [esp + 0x24]
add esp, 8
cmp ax, 9
jne 0x406745
xor edi, edi
lea esp, [esp]
mov ebp, dword [esp + 0x1510]
inc edi
push edi
push ebp
lea eax, [esp + 0x78]
push 0x5f4c20
push eax
call fcn.005d9929
mov esi, dword [0x61e008]
add esp, 0x10
cmp esi, ebx
je 0x4065f0
lea ecx, [esp + 0x70]
push ecx
push esi
call fcn.005f1860
add esp, 8
test eax, eax
je 0x4065b0
mov esi, dword [esi + 0x660]
jmp 0x4065d2
call fcn.00404020
mov esi, eax
cmp esi, ebx
jne 0x406626
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x30]
push edx
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14fc
ret
mov edx, esi
lea ecx, [esp + 0x70]
lea eax, [esp + 0x70]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x406632
mov edx, dword [esp + 0x24]
mov dword [esi + 0x398], edx
mov eax, dword [ebp + 0x514]
mov dword [esi + 0x514], eax
mov ecx, dword [ebp + 0x510]
push esi
mov dword [esi + 0x510], ecx
call fcn.004042d0
mov eax, dword [esi + 0x398]
mov edx, dword [eax]
add esp, 4
push eax
call dword [edx + 4]
lea eax, [esp + 0x4a4]
push 0x1068
push eax
call fcn.004232e0
mov ecx, dword [esp + 0x151c]
push ecx
push esi
lea edx, [esp + 0x4b4]
push str._com__s__s_3_
push edx
call fcn.005d9929
mov eax, dword [esi + 0x514]
mov ecx, dword [esp + 0x1540]
mov edx, dword [esp + 0x153c]
push eax
mov eax, dword [eax]
push ebx
push ecx
mov ecx, dword [esp + 0x1544]
inc edx
push edx
push ecx
push ebx
push ebx
lea edx, [esp + 0x4d8]
push edx
push eax
call fcn.004b5b40
add esp, 0x3c
test eax, eax
je 0x406724
lea ecx, [esp + 0x4a4]
push 0x5f48a8
push ecx
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x406724
mov edx, dword [esp + 0x151c]
push edx
add esi, 0x4d8
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00403bf0
add esp, 0x14
lea eax, [esp + 0x70]
push eax
call fcn.00404290
mov esi, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40652f
mov ecx, dword [esp + 0x151c]
push ecx
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call fcn.00403bf0
add esp, 0x14
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40652f
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14fc
ret