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

Disassembly:
push 0xffffffffffffffff
push 0x5fbb88
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 [0x6d1108]
mov dword [esp + 0x48], eax
cmp esi, eax
jne 0x46c393
mov esi, 0x6d110c
mov ecx, 0x6a2074
push ebp
test ecx, ecx
je 0x46c4b1
cmp esi, eax
je 0x46c4b1
mov edx, str.idmmkb.dll
test edx, edx
je 0x46c4b1
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401fd0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call fcn.0040d7a0
mov bl, 2
push str.idmmkb.dll
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00401070
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x20]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46c480
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.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
lea ecx, [esp + 0x40]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 0x46c4b9
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46c4d0
mov ebx, 1
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1108]
test esi, esi
jne 0x46c4df
mov esi, 0x6d110c
mov edx, 0x6a2074
test edx, edx
je 0x46c5fe
test esi, esi
je 0x46c5fe
mov eax, str.Uninstall.exe
test eax, eax
je 0x46c5fe
push edx
lea ecx, [esp + 0x24]
call fcn.00401fd0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 4
call fcn.0040d7a0
mov bl, 5
push str.Uninstall.exe
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 6
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46c5cb
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.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
lea ecx, [esp + 0x28]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 0x46c60a
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46c617
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1108]
test esi, esi
jne 0x46c626
mov esi, 0x6d110c
mov edx, 0x6a2074
test edx, edx
je 0x46c745
test esi, esi
je 0x46c745
mov eax, str.IDManTypeInfo.tlb
test eax, eax
je 0x46c745
push edx
lea ecx, [esp + 0x24]
call fcn.00401fd0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 7
call fcn.0040d7a0
mov bl, 8
push str.IDManTypeInfo.tlb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 9
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46c712
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.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
lea ecx, [esp + 0x28]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 0x46c751
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46c75e
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1108]
test esi, esi
jne 0x46c76d
mov esi, 0x6d110c
mov edx, 0x6a2074
test edx, edx
je 0x46c88c
test esi, esi
je 0x46c88c
mov eax, 0x6a41e8
test eax, eax
je 0x46c88c
push edx
lea ecx, [esp + 0x24]
call fcn.00401fd0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xa
call fcn.0040d7a0
mov bl, 0xb
push 0x6a41e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xc
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46c859
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.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
lea ecx, [esp + 0x28]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 0x46c898
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46c8a5
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1108]
test esi, esi
jne 0x46c8b4
mov esi, 0x6d110c
mov edx, 0x6a2074
test edx, edx
je 0x46c9d3
test esi, esi
je 0x46c9d3
mov eax, 0x6a41a0
test eax, eax
je 0x46c9d3
push edx
lea ecx, [esp + 0x24]
call fcn.00401fd0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xd
call fcn.0040d7a0
mov bl, 0xe
push 0x6a41a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xf
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46c9a0
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.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
lea ecx, [esp + 0x28]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 0x46c9df
lea eax, [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46c9ec
inc ebx
mov dword [esp + 0x10], ebx
mov esi, dword [0x6d1108]
test esi, esi
jne 0x46c9fb
mov esi, 0x6d110c
mov edx, 0x6a2074
test edx, edx
je 0x46cb1a
test esi, esi
je 0x46cb1a
mov eax, str.IEExt.htm
test eax, eax
je 0x46cb1a
push edx
lea ecx, [esp + 0x24]
call fcn.00401fd0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0x10
call fcn.0040d7a0
mov bl, 0x11
push str.IEExt.htm
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], bl
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0x12
call fcn.00401070
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x46cae7
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.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
lea ecx, [esp + 0x28]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 0x46cb27
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cb30
inc ebx
mov eax, dword [0x6d1108]
test eax, eax
jne 0x46cb3e
mov eax, 0x6d110c
push str.IEGetAll.htm
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46cb5e
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cb67
inc ebx
mov eax, dword [0x6d1108]
test eax, eax
jne 0x46cb75
mov eax, 0x6d110c
push str.IDMGrHlp.exe
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46cb95
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cb9e
inc ebx
mov eax, dword [0x6d1108]
test eax, eax
jne 0x46cbac
mov eax, 0x6d110c
push str.idmmzcc.xpi
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46cbcc
lea eax, [esp + 0x14]
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cbd5
inc ebx
push 0x6a4100
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cc05
inc ebx
push str.downlWithIDM.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cc35
inc ebx
push 0x6a4084
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cc65
inc ebx
push str.idmvs.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cc95
inc ebx
push str.idmvconv.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46ccc5
inc ebx
push str.IDMGCExt.crx
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46ccf5
inc ebx
push str.IDMNetMon.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cd25
inc ebx
call fcn.00441af0
test eax, eax
je 0x46ce52
push str.IDMShellExt64.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cd62
inc ebx
push str.IDMNetMon64.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cd92
inc ebx
push str.IDMIECC64.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cdc2
inc ebx
push str.IDMGetAll64.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46cdf2
inc ebx
push str.downlWithIDM64.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46ce22
inc ebx
push str.idmbrbtn64.dll
mov ecx, 0x6d1108
call fcn.00402050
push eax
push 0x6a2074
lea ecx, [esp + 0x1c]
call fcn.0040eb20
lea ecx, [esp + 0x10]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
jne 0x46ce52
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