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

Disassembly:
push 0xffffffffffffffff
push 0x61b4a8
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 [0x6d1288]
mov dword [esp + 0x48], eax
cmp esi, eax
jne 0x474643
mov esi, 0x6d128c
mov ecx, 0x6a012c
push ebp
test ecx, ecx
je 0x474761
cmp esi, eax
je 0x474761
mov edx, str.idmmkb.dll
test edx, edx
je 0x474761
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0040e5a0
mov bl, 2
push str.idmmkb.dll
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00401070
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x20]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474730
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.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x40]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
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 0x474769
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474780
mov ebx, 1
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1288]
test esi, esi
jne 0x47478f
mov esi, 0x6d128c
mov edx, 0x6a012c
test edx, edx
je 0x4748ae
test esi, esi
je 0x4748ae
mov eax, str.Uninstall.exe
test eax, eax
je 0x4748ae
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 4
call fcn.0040e5a0
mov bl, 5
push str.Uninstall.exe
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 6
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x47487b
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.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
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 0x4748ba
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4748c7
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1288]
test esi, esi
jne 0x4748d6
mov esi, 0x6d128c
mov edx, 0x6a012c
test edx, edx
je 0x4749f5
test esi, esi
je 0x4749f5
mov eax, str.IDManTypeInfo.tlb
test eax, eax
je 0x4749f5
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 7
call fcn.0040e5a0
mov bl, 8
push str.IDManTypeInfo.tlb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 9
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x4749c2
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.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
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 0x474a01
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474a0e
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1288]
test esi, esi
jne 0x474a1d
mov esi, 0x6d128c
mov edx, 0x6a012c
test edx, edx
je 0x474b3c
test esi, esi
je 0x474b3c
mov eax, 0x6a25e8
test eax, eax
je 0x474b3c
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xa
call fcn.0040e5a0
mov bl, 0xb
push 0x6a25e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xc
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474b09
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.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
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 0x474b48
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474b55
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1288]
test esi, esi
jne 0x474b64
mov esi, 0x6d128c
mov edx, 0x6a012c
test edx, edx
je 0x474c83
test esi, esi
je 0x474c83
mov eax, 0x6a25a0
test eax, eax
je 0x474c83
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xd
call fcn.0040e5a0
mov bl, 0xe
push 0x6a25a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xf
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474c50
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.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
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 0x474c8f
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474c9c
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1288]
test esi, esi
jne 0x474cab
mov esi, 0x6d128c
mov edx, 0x6a012c
test edx, edx
je 0x474dca
test esi, esi
je 0x474dca
mov eax, str.IEExt.htm
test eax, eax
je 0x474dca
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0x10
call fcn.0040e5a0
mov bl, 0x11
push str.IEExt.htm
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0x12
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474d97
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.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
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 0x474dd7
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474de0
inc ebx
mov eax, dword [0x6d1288]
test eax, eax
jne 0x474dee
mov eax, 0x6d128c
push str.IEGetAll.htm
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x474e0e
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474e17
inc ebx
mov eax, dword [0x6d1288]
test eax, eax
jne 0x474e25
mov eax, 0x6d128c
push str.IDMGrHlp.exe
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x474e45
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474e4e
inc ebx
mov eax, dword [0x6d1288]
test eax, eax
jne 0x474e5c
mov eax, 0x6d128c
push str.idmmzcc.xpi
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x474e7c
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474e85
inc ebx
push 0x6a2500
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x474eb5
inc ebx
push str.downlWithIDM.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x474ee5
inc ebx
push 0x6a2484
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x474f15
inc ebx
push str.idmvs.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x474f45
inc ebx
push str.idmvconv.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x474f75
inc ebx
push str.IDMGCExt.crx
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x474fa5
inc ebx
push str.IDMNetMon.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x474fd5
inc ebx
call fcn.00446350
test eax, eax
je 0x475102
push str.IDMShellExt64.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475012
inc ebx
push str.IDMNetMon64.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475042
inc ebx
push str.IDMIECC64.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475072
inc ebx
push str.IDMGetAll64.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x4750a2
inc ebx
push str.downlWithIDM64.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x4750d2
inc ebx
push str.idmbrbtn64.dll
mov ecx, 0x6d1288
call fcn.00402400
push eax
push 0x6a012c
lea ecx, [esp + 0x1c]
call fcn.0040fbd0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475102
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