Function at 0x4965f0
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d84f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push ebp
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x70], ebp
call dword [sym.imp.ole32.dll_CoInitialize]
cmp edi, ebp
je 0x4974eb
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4974eb
push 0x206
lea eax, [esp + 0xaa]
push ebp
push eax
mov word [esp + 0xb0], bp
call fcn.004a4620
add esp, 0xc
push edi
lea ecx, [esp + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0xa4]
push 0x5c
push edx
call fcn.004a1519
add esp, 8
cmp eax, ebp
je 0x49668b
mov word [eax], bp
add eax, 2
mov dword [esp + 0x6c], eax
lea edi, [esp + 0xa4]
push ebp
lea eax, [esp + 0x74]
push eax
push 0x150a
push 0x4ea820
mov dword [esp + 0x80], ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebp
je 0x4974e1
mov ecx, dword [esp + 0x70]
cmp ecx, ebp
je 0x4974e1
push eax
lea eax, [esp + 0x78]
call fcn.00412870
mov dword [esp + 0x2b8], ebp
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x14]
push ecx
push 0x4eaa08
push 0x17
push ebp
push 0x4dc9f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x496722
mov dword [ebx], 0xe
mov byte [esp + 0x2b8], 0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x496712
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea esi, [esp + 0x74]
call fcn.0040bf00
xor eax, eax
jmp 0x4974f0
mov esi, 3
mov word [esp + 0x44], si
mov dword [esp + 0x4c], ebp
mov word [esp + 0x54], si
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x10], ebp
lea edx, [esp + 0x10]
push edx
push 1
lea edx, [esp + 0x98]
push edx
push 8
mov byte [esp + 0x2c8], 4
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x58]
mov dword [esp + 0xa4], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
cmp eax, ebp
jge 0x4967ae
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov dword [ebx], 1
je 0x496795
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
mov dword [esp + 0x18], ebp
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x4dca04
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebp
jge 0x496822
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [ebx], 2
je 0x4967f1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x496809
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4dca14
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebp
jge 0x4968aa
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov dword [ebx], esi
je 0x496861
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x496879
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x496891
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
mov dword [esp + 0x20], ebp
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x2bc], 7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push 0x4dc994
push 0x4dc974
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebp
jge 0x496954
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [ebx], 4
je 0x4968f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x49690b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x496923
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x49693b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
mov dword [esp + 0x24], ebp
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
cmp eax, ebp
jge 0x496a10
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov dword [ebx], 5
je 0x496997
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4969af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4969c7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4969df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4969f7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
lea ecx, [esp + 0x10]
call fcn.00412850
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x4dc9c4
push ebp
push eax
mov eax, dword [ecx + 0x3c]
call eax
cmp eax, ebp
jge 0x496acf
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov dword [ebx], 6
je 0x496a56
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x496a6e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x496a86
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x496a9e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x496ab6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
mov dword [esp + 0x28], ebp
mov byte [esp + 0x2b8], 9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x4dc9e4
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebp
jge 0x496ba7
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [ebx], 7
je 0x496b16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x496b2e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x496b46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x496b5e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x496b76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x496b8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
lea ecx, [esp + 0x10]
call fcn.00412850
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebp
jge 0x496c78
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [ebx], 8
je 0x496be7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x496bff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x496c17
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x496c2f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x496c47
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x496c5f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x2b8], 0xa
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x4dc9d4
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebp
jge 0x496d68
mov byte [esp + 0x2b8], 9
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov dword [ebx], 9
je 0x496cbf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x496cd7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x496cef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x496d07
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x496d1f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x496d37
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x496d4f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x4966fa
mov dword [esp + 0x34], ebp
lea esi, [esp + 0x94]
mov byte [esp + 0x2b8], 0xb
call fcn.00411310
mov byte [esp + 0x2b8], 0xc
mov edi, dword [eax]
mov edx, dword [esp + 0x2c]
mov esi, dword [edx]
lea ecx, [esp + 0x34]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x24]
push edx
call ecx
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x94]
push edx
mov esi, eax
call edi
cmp esi, ebp
jge 0x496ea7
mov byte [esp + 0x2b8], 0xa
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov dword [ebx], 0xa
je 0x496dec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 9
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x496e04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x496e1c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x496e34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x496e4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x496e64
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x496e7c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x496e94
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x54]
push eax
call edi
lea ecx, [esp + 0x44]
push ecx
call edi
jmp 0x4966fa
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x2b8], 0xd
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x38]
call fcn.004112d0
mov byte [esp + 0x2b8], 0xe
mov eax, dword [eax]
mov ecx, dword [edi]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x30]
push edi
call eax
mov ecx, dword [esp + 0x38]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
mov esi, eax
call ebp
test esi, esi
mov eax, dword [esp + 0x40]
jl 0x4973e0
xor edi, edi
cmp eax, edi
je 0x4973e0
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2b8], 0xf
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
cmp eax, edi
jge 0x497043
mov byte [esp + 0x2b8], 0xd
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov dword [ebx], 0xc
je 0x496f44
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 0xb
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x496f5c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 0xa
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x496f74
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 9
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x496f8c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x496fa4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x496fbc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x496fd4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x496fec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x497004
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49701c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
mov byte [esp + 0x2b8], 0
mov eax, dword [esp + 0x14]
cmp eax, edi
jmp 0x496708
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jge 0x497179
mov byte [esp + 0x2b8], 0xd
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov dword [ebx], 0xd
je 0x49707a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 0xb
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x497092
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 0xa
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x4970aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 9
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4970c2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4970da
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4970f2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x49710a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x497122
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x49713a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x497152
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
mov byte [esp + 0x2b8], 0
mov eax, dword [esp + 0x14]
cmp eax, edi
jmp 0x496708
cmp dword [esp + 0x68], edi
jle 0x497273
mov dword [esp + 0x30], 0
mov ecx, edi
mov word [esp + 0x94], 3
mov dword [esp + 0x9c], ecx
mov byte [esp + 0x2b8], 0x11
mov ebx, dword [esp + 0x94]
mov edx, dword [esp + 0x3c]
mov esi, dword [edx]
lea eax, [esp + 0x30]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0xac]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
call edx
test eax, eax
lea eax, [esp + 0x94]
push eax
setl bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
je 0x49720d
mov byte [esp + 0x2b8], 0xf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x497266
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x497266
mov dword [esp + 0x38], 0
mov byte [esp + 0x2b8], 0x12
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x497247
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x74]
call fcn.004128a0
test al, al
jne 0x4973a1
mov ecx, dword [esp + 0x38]
push ecx
call ebp
mov byte [esp + 0x2b8], 0xf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x497266
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
add edi, 1
cmp edi, dword [esp + 0x68]
jl 0x497183
xor edi, edi
mov byte [esp + 0x2b8], 0xd
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x49728d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 0xb
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4972a5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 0xa
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4972bd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 9
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4972d5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4972ed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x497305
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49731d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x497335
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49734d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x497365
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
mov byte [esp + 0x2b8], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x497391
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea esi, [esp + 0x74]
call fcn.0040bf00
mov eax, edi
jmp 0x4974f0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov eax, dword [esp + 0x38]
push eax
call ebp
mov byte [esp + 0x2b8], 0xf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4973cc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, dword [esp + 0x68]
jge 0x497273
mov edi, 1
jmp 0x497275
test eax, eax
mov dword [ebx], 0xb
mov byte [esp + 0x2b8], 0xb
je 0x4973fa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 0xa
mov eax, dword [esp + 0x34]
test eax, eax
je 0x497412
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 9
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49742a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x497442
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49745a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x497472
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49748a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4974a2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4974ba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
mov byte [esp + 0x2b8], 0
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x496708
mov dword [ebx], 0xf
xor eax, eax
jmp 0x4974f0
mov eax, 1
mov ecx, dword [esp + 0x2b0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2ac
ret