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

Disassembly:
push 0xffffffffffffffff
push 0x61c418
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 [0x6d22e8]
mov dword [esp + 0x48], eax
cmp esi, eax
jne 0x474d33
mov esi, 0x6d22ec
mov ecx, 0x6a112c
push ebp
test ecx, ecx
je 0x474e51
cmp esi, eax
je 0x474e51
mov edx, str.idmmkb.dll
test edx, edx
je 0x474e51
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0040e580
mov bl, 2
push str.idmmkb.dll
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call fcn.0040e580
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.005e71bf
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474e20
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.005e714f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e71bf
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 0x474e59
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474e70
mov ebx, 1
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d22e8]
test esi, esi
jne 0x474e7f
mov esi, 0x6d22ec
mov edx, 0x6a112c
test edx, edx
je 0x474f9e
test esi, esi
je 0x474f9e
mov eax, str.Uninstall.exe
test eax, eax
je 0x474f9e
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 4
call fcn.0040e580
mov bl, 5
push str.Uninstall.exe
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e580
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.005e71bf
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x474f6b
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.005e714f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e71bf
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 0x474faa
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474fb7
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d22e8]
test esi, esi
jne 0x474fc6
mov esi, 0x6d22ec
mov edx, 0x6a112c
test edx, edx
je 0x4750e5
test esi, esi
je 0x4750e5
mov eax, str.IDManTypeInfo.tlb
test eax, eax
je 0x4750e5
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 7
call fcn.0040e580
mov bl, 8
push str.IDManTypeInfo.tlb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e580
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.005e71bf
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x4750b2
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.005e714f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e71bf
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 0x4750f1
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4750fe
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d22e8]
test esi, esi
jne 0x47510d
mov esi, 0x6d22ec
mov edx, 0x6a112c
test edx, edx
je 0x47522c
test esi, esi
je 0x47522c
mov eax, 0x6a35e8
test eax, eax
je 0x47522c
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xa
call fcn.0040e580
mov bl, 0xb
push 0x6a35e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e580
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.005e71bf
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x4751f9
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.005e714f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e71bf
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 0x475238
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x475245
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d22e8]
test esi, esi
jne 0x475254
mov esi, 0x6d22ec
mov edx, 0x6a112c
test edx, edx
je 0x475373
test esi, esi
je 0x475373
mov eax, 0x6a35a0
test eax, eax
je 0x475373
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xd
call fcn.0040e580
mov bl, 0xe
push 0x6a35a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e580
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.005e71bf
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x475340
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.005e714f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e71bf
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 0x47537f
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x47538c
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d22e8]
test esi, esi
jne 0x47539b
mov esi, 0x6d22ec
mov edx, 0x6a112c
test edx, edx
je 0x4754ba
test esi, esi
je 0x4754ba
mov eax, str.IEExt.htm
test eax, eax
je 0x4754ba
push edx
lea ecx, [esp + 0x24]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0x10
call fcn.0040e580
mov bl, 0x11
push str.IEExt.htm
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040e580
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.005e71bf
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x475487
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.005e714f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e71bf
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 0x4754c7
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4754d0
inc ebx
mov eax, dword [0x6d22e8]
test eax, eax
jne 0x4754de
mov eax, 0x6d22ec
push str.IEGetAll.htm
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4754fe
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x475507
inc ebx
mov eax, dword [0x6d22e8]
test eax, eax
jne 0x475515
mov eax, 0x6d22ec
push str.IDMGrHlp.exe
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x475535
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x47553e
inc ebx
mov eax, dword [0x6d22e8]
test eax, eax
jne 0x47554c
mov eax, 0x6d22ec
push str.idmmzcc.xpi
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47556c
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x475575
inc ebx
push 0x6a3500
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x4755a5
inc ebx
push str.downlWithIDM.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x4755d5
inc ebx
push 0x6a3484
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475605
inc ebx
push str.idmvs.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475635
inc ebx
push str.idmvconv.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475665
inc ebx
push str.IDMGCExt.crx
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475695
inc ebx
push str.IDMNetMon.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x4756c5
inc ebx
call fcn.004466f0
test eax, eax
je 0x4757f2
push str.IDMShellExt64.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475702
inc ebx
push str.IDMNetMon64.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475732
inc ebx
push str.IDMIECC64.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475762
inc ebx
push str.IDMGetAll64.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x475792
inc ebx
push str.downlWithIDM64.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x4757c2
inc ebx
push str.idmbrbtn64.dll
mov ecx, 0x6d22e8
call fcn.00402400
push eax
push 0x6a112c
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
lea ecx, [esp + 0x10]
call fcn.00402400
push eax
call edi
cmp eax, 0xffffffff
jne 0x4757f2
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