Function at 0x474a00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x61a6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor eax, eax
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x14], ax
mov esi, dword [0x6f62f8]
mov dword [esp + 0x48], eax
cmp esi, eax
jne 0x474a43
mov esi, 0x6f62fc
mov ecx, 0x6c5124
push ebp
test ecx, ecx
je 0x474b61
cmp esi, eax
je 0x474b61
mov edx, str.idmmkb.dll
test edx, edx
je 0x474b61
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402330
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0040e5b0
mov bl, 2
push str.idmmkb.dll
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call fcn.0040e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00401070
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x20]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474b30
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x20]
call fcn.004023b0
push eax
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x40]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 1
call fcn.00401070
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 0
call fcn.00401070
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x474b69
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474b80
mov ebx, 1
mov dword [esp + 0x10], ebx
mov esi, dword [0x6f62f8]
test esi, esi
jne 0x474b8f
mov esi, 0x6f62fc
mov edx, 0x6c5124
test edx, edx
je 0x474cae
test esi, esi
je 0x474cae
mov eax, str.Uninstall.exe
test eax, eax
je 0x474cae
push edx
lea ecx, [esp + 0x24]
call fcn.00402330
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 4
call fcn.0040e5b0
mov bl, 5
push str.Uninstall.exe
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 6
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474c7b
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x28]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 4
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0
call fcn.00401070
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x474cba
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474cc7
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6f62f8]
test esi, esi
jne 0x474cd6
mov esi, 0x6f62fc
mov edx, 0x6c5124
test edx, edx
je 0x474df5
test esi, esi
je 0x474df5
mov eax, str.IDManTypeInfo.tlb
test eax, eax
je 0x474df5
push edx
lea ecx, [esp + 0x24]
call fcn.00402330
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 7
call fcn.0040e5b0
mov bl, 8
push str.IDManTypeInfo.tlb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 9
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474dc2
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x28]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 7
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0
call fcn.00401070
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x474e01
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474e0e
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6f62f8]
test esi, esi
jne 0x474e1d
mov esi, 0x6f62fc
mov edx, 0x6c5124
test edx, edx
je 0x474f3c
test esi, esi
je 0x474f3c
mov eax, 0x6c75e0
test eax, eax
je 0x474f3c
push edx
lea ecx, [esp + 0x24]
call fcn.00402330
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xa
call fcn.0040e5b0
mov bl, 0xb
push 0x6c75e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xc
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474f09
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x28]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0xa
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0
call fcn.00401070
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x474f48
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474f55
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6f62f8]
test esi, esi
jne 0x474f64
mov esi, 0x6f62fc
mov edx, 0x6c5124
test edx, edx
je 0x475083
test esi, esi
je 0x475083
mov eax, 0x6c7598
test eax, eax
je 0x475083
push edx
lea ecx, [esp + 0x24]
call fcn.00402330
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xd
call fcn.0040e5b0
mov bl, 0xe
push 0x6c7598
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xf
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x475050
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x28]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0xd
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0
call fcn.00401070
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x47508f
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x47509c
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6f62f8]
test esi, esi
jne 0x4750ab
mov esi, 0x6f62fc
mov edx, 0x6c5124
test edx, edx
je 0x4751ca
test esi, esi
je 0x4751ca
mov eax, str.IEExt.htm
test eax, eax
je 0x4751ca
push edx
lea ecx, [esp + 0x24]
call fcn.00402330
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0x10
call fcn.0040e5b0
mov bl, 0x11
push str.IEExt.htm
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0x12
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x475197
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.004023b0
push eax
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x28]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0x10
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0
call fcn.00401070
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
jne 0x4751d7
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4751e0
inc ebx
mov eax, dword [0x6f62f8]
test eax, eax
jne 0x4751ee
mov eax, 0x6f62fc
push str.IEGetAll.htm
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47520e
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x475217
inc ebx
mov eax, dword [0x6f62f8]
test eax, eax
jne 0x475225
mov eax, 0x6f62fc
push str.IDMGrHlp.exe
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x475245
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x47524e
inc ebx
mov eax, dword [0x6f62f8]
test eax, eax
jne 0x47525c
mov eax, 0x6f62fc
push str.idmmzcc.xpi
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47527c
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x475285
inc ebx
push 0x6c74f8
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x4752b5
inc ebx
push str.downlWithIDM.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x4752e5
inc ebx
push 0x6c747c
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x475315
inc ebx
push str.idmvs.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x475345
inc ebx
push str.idmvconv.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x475375
inc ebx
push str.IDMGCExt.crx
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x4753a5
inc ebx
push str.IDMNetMon.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x4753d5
inc ebx
call fcn.00446240
test eax, eax
je 0x475502
push str.IDMShellExt64.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x475412
inc ebx
push str.IDMNetMon64.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x475442
inc ebx
push str.IDMIECC64.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x475472
inc ebx
push str.IDMGetAll64.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x4754a2
inc ebx
push str.downlWithIDM64.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x4754d2
inc ebx
push str.idmbrbtn64.dll
mov ecx, 0x6f62f8
call fcn.004023b0
push eax
push 0x6c5124
lea ecx, [esp + 0x1c]
call fcn.0040fbe0
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
call edi
cmp eax, 0xffffffff
jne 0x475502
inc ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x40]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret