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

Disassembly:
push 0xffffffffffffffff
push 0x5f93c8
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 [0x6cee18]
mov dword [esp + 0x48], eax
cmp esi, eax
jne 0x46a9f3
mov esi, 0x6cee1c
mov ecx, 0x6a0048
push ebp
test ecx, ecx
je 0x46ab11
cmp esi, eax
je 0x46ab11
mov edx, str.idmmkb.dll
test edx, edx
je 0x46ab11
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401ed0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0040d680
mov bl, 2
push str.idmmkb.dll
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call fcn.0040d680
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00401070
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x20]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46aae0
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.00401f50
push eax
lea ecx, [esp + 0x30]
call fcn.00401f50
push eax
lea ecx, [esp + 0x40]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c4b4a
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 0x46ab19
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46ab30
mov ebx, 1
mov dword [esp + 0x10], ebx
mov esi, dword [0x6cee18]
test esi, esi
jne 0x46ab3f
mov esi, 0x6cee1c
mov edx, 0x6a0048
test edx, edx
je 0x46ac5e
test esi, esi
je 0x46ac5e
mov eax, str.Uninstall.exe
test eax, eax
je 0x46ac5e
push edx
lea ecx, [esp + 0x24]
call fcn.00401ed0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 4
call fcn.0040d680
mov bl, 5
push str.Uninstall.exe
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d680
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 6
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46ac2b
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.00401f50
push eax
lea ecx, [esp + 0x30]
call fcn.00401f50
push eax
lea ecx, [esp + 0x28]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c4b4a
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 0x46ac6a
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46ac77
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6cee18]
test esi, esi
jne 0x46ac86
mov esi, 0x6cee1c
mov edx, 0x6a0048
test edx, edx
je 0x46ada5
test esi, esi
je 0x46ada5
mov eax, str.IDManTypeInfo.tlb
test eax, eax
je 0x46ada5
push edx
lea ecx, [esp + 0x24]
call fcn.00401ed0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 7
call fcn.0040d680
mov bl, 8
push str.IDManTypeInfo.tlb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d680
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 9
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46ad72
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.00401f50
push eax
lea ecx, [esp + 0x30]
call fcn.00401f50
push eax
lea ecx, [esp + 0x28]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c4b4a
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 0x46adb1
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46adbe
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6cee18]
test esi, esi
jne 0x46adcd
mov esi, 0x6cee1c
mov edx, 0x6a0048
test edx, edx
je 0x46aeec
test esi, esi
je 0x46aeec
mov eax, 0x6a2174
test eax, eax
je 0x46aeec
push edx
lea ecx, [esp + 0x24]
call fcn.00401ed0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xa
call fcn.0040d680
mov bl, 0xb
push 0x6a2174
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d680
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xc
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46aeb9
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.00401f50
push eax
lea ecx, [esp + 0x30]
call fcn.00401f50
push eax
lea ecx, [esp + 0x28]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c4b4a
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 0x46aef8
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46af05
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6cee18]
test esi, esi
jne 0x46af14
mov esi, 0x6cee1c
mov edx, 0x6a0048
test edx, edx
je 0x46b033
test esi, esi
je 0x46b033
mov eax, 0x6a212c
test eax, eax
je 0x46b033
push edx
lea ecx, [esp + 0x24]
call fcn.00401ed0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xd
call fcn.0040d680
mov bl, 0xe
push 0x6a212c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d680
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xf
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46b000
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.00401f50
push eax
lea ecx, [esp + 0x30]
call fcn.00401f50
push eax
lea ecx, [esp + 0x28]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c4b4a
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 0x46b03f
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b04c
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6cee18]
test esi, esi
jne 0x46b05b
mov esi, 0x6cee1c
mov edx, 0x6a0048
test edx, edx
je 0x46b17a
test esi, esi
je 0x46b17a
mov eax, str.IEExt.htm
test eax, eax
je 0x46b17a
push edx
lea ecx, [esp + 0x24]
call fcn.00401ed0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0x10
call fcn.0040d680
mov bl, 0x11
push str.IEExt.htm
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d680
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0x12
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46b147
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.00401f50
push eax
lea ecx, [esp + 0x30]
call fcn.00401f50
push eax
lea ecx, [esp + 0x28]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c4b4a
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 0x46b187
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b190
inc ebx
mov eax, dword [0x6cee18]
test eax, eax
jne 0x46b19e
mov eax, 0x6cee1c
push str.IEGetAll.htm
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46b1be
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b1c7
inc ebx
mov eax, dword [0x6cee18]
test eax, eax
jne 0x46b1d5
mov eax, 0x6cee1c
push str.IDMGrHlp.exe
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46b1f5
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b1fe
inc ebx
mov eax, dword [0x6cee18]
test eax, eax
jne 0x46b20c
mov eax, 0x6cee1c
push str.idmmzcc.xpi
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46b22c
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b235
inc ebx
push 0x6a208c
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b265
inc ebx
push str.downlWithIDM.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b295
inc ebx
push 0x6a2010
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b2c5
inc ebx
push str.idmvs.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b2f5
inc ebx
push str.idmvconv.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b325
inc ebx
push str.IDMGCExt.crx
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b355
inc ebx
push str.IDMNetMon.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b385
inc ebx
call fcn.004407d0
test eax, eax
je 0x46b4b2
push str.IDMShellExt64.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b3c2
inc ebx
push str.IDMNetMon64.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b3f2
inc ebx
push str.IDMIECC64.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b422
inc ebx
push str.IDMGetAll64.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b452
inc ebx
push str.downlWithIDM64.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b482
inc ebx
push str.idmbrbtn64.dll
mov ecx, 0x6cee18
call fcn.00401f50
push eax
push 0x6a0048
lea ecx, [esp + 0x1c]
call fcn.0040e360
lea ecx, [esp + 0x10]
call fcn.00401f50
push eax
call edi
cmp eax, 0xffffffff
jne 0x46b4b2
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