Function at 0x10004185
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x10054e0f
call fcn.10048f38
sub esp, 0x564
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.10005ae9
pop ecx
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_LOCALMACHINE_LOCKDOWN
mov esi, SysReAllocStringLen
push esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x18], ebx
call dword [0x10071084]
cmp dword [ebp - 0x18], ebx
mov edi, dword [0x1007107c]
je 0x100041e6
push 4
lea eax, [ebp - 0x58]
push eax
push 4
push ebx
push str.iexplore.exe
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x18]
call dword [0x10071078]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push str.SoftwareMaxthon
push esi
call dword [0x10071084]
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x54], 0x4e6
je 0x1000430b
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x570]
push eax
push ebx
push ebx
push str.Folder
push dword [ebp - 0x18]
call dword [0x10071088]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x24], eax
je 0x1000430b
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002622b
lea eax, [ebp - 0x570]
push eax
call fcn.100493c0
pop ecx
push eax
lea eax, [ebp - 0x570]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10027116
mov esi, str.Configplugins.ini
push esi
mov dword [ebp - 4], ebx
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.100270bf
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x10004293
mov eax, 0x1005b4e8
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push 0x1006a7ec
push str.bLoadAll
push str.IEPlugins
call esi
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov dword [ebp - 0x10], 0x1005b4e8
je 0x100042bc
mov dword [ebp - 0x10], eax
push 0x10071140
lea eax, [ebp - 0x20]
push 0x1006a7d0
push eax
call fcn.1000497e
add esp, 0xc
mov ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x100042e3
call fcn.10001a7a
jmp 0x100042e5
xor eax, eax
push dword [ebp - 0x10]
push 0x1006a4b8
push eax
push str.IEPlugins
call esi
lea ecx, [ebp - 0x20]
call fcn.100018f4
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x3c]
call fcn.1002622b
push dword [ebp - 0x18]
mov esi, dword [0x10071078]
call esi
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x10071084]
cmp byte [ebp + 8], bl
je 0x10004360
mov ecx, dword [0x10071140]
cmp ecx, ebx
mov byte [ebp - 0x19], bl
je 0x1000434d
call fcn.10001a7a
jmp 0x1000434f
xor eax, eax
push 1
lea ecx, [ebp - 0x19]
push ecx
push 3
push ebx
push eax
push dword [ebp - 0x18]
call edi
jmp 0x1000437d
mov ecx, dword [0x10071140]
cmp ecx, ebx
je 0x10004371
call fcn.10001a7a
jmp 0x10004373
xor eax, eax
push eax
push dword [ebp - 0x18]
call dword [0x1007108c]
push dword [ebp - 0x18]
call esi
push 0x1007112c
lea eax, [ebp - 0x10]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
call fcn.1000497e
add esp, 0xc
mov esi, 0x10071128
push esi
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10001907
mov ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x100043c1
call fcn.10001a7a
jmp 0x100043c3
xor eax, eax
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x10071084]
lea ecx, [ebp - 0x20]
call fcn.100018f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100018f4
cmp byte [ebp + 8], bl
je 0x1000453c
lea eax, [ebp - 0x29]
push eax
lea eax, [ebp - 0x19]
push eax
mov esi, 0x3e8
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x19], bl
call fcn.1002595c
mov eax, dword [0x100712bc]
push esi
push dword [ebp - 0x74]
mov dword [ebp - 4], 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [ebp + 0xb]
mov esi, dword [ebp - 0x74]
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.10027116
mov ecx, dword [0x10071134]
cmp ecx, ebx
mov byte [ebp - 4], 5
je 0x10004464
call fcn.10001a7a
mov esi, eax
jmp 0x10004466
xor esi, esi
mov ecx, 0x10071134
call fcn.10001a63
push eax
push esi
push 1
push ebx
push str.DisplayName
push dword [ebp - 0x18]
call edi
push 0x1006a758
lea ecx, [ebp - 0x20]
call fcn.1000101a
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov byte [ebp - 4], 6
jne 0x1000449c
mov eax, 0x1005b4e8
push eax
lea ecx, [ebp - 0x24]
call fcn.1000101a
push eax
lea eax, [ebp - 0x28]
push str.regsvr32__u__s__
push eax
mov byte [ebp - 4], 7
call fcn.1000497e
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.10001907
lea ecx, [ebp - 0x28]
call fcn.100018f4
lea ecx, [ebp - 0x24]
call fcn.100018f4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.100018f4
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x100044fa
call fcn.10001a7a
mov esi, eax
jmp 0x100044fc
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.10001a63
push eax
push esi
push 1
push ebx
push str.UninstallString
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0x10]
call fcn.100018f4
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.1002622b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100259a6
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x100045b1
push str.DisplayName
push dword [ebp - 0x18]
call dword [0x1007108c]
push str.UninstallString
push dword [ebp - 0x18]
call dword [0x1007108c]
push 0x1007112c
lea eax, [ebp - 0x28]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
call fcn.1000497e
add esp, 0xc
push esi
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0xd
call fcn.10001907
mov ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 0xe
je 0x10004592
call fcn.10001a7a
jmp 0x10004594
xor eax, eax
push eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [0x10071094]
lea ecx, [ebp - 0x24]
call fcn.100018f4
lea ecx, [ebp - 0x28]
call fcn.100018f4
push dword [ebp - 0x18]
call dword [0x10071078]
mov dword [ebp - 0x14], ebx
cmp byte [ebp + 8], bl
mov dword [ebp - 4], 0xf
je 0x100047fb
lea eax, [ebp - 0x28]
push eax
call fcn.10003ecb
mov dword [esp], str.favicon.ico
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x10
call fcn.10014c46
push dword [eax]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x11
call fcn.1000101a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
call fcn.10014381
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.10014381
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x1000461f
call fcn.10001a7a
jmp 0x10004621
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100047ee
push 0x10071140
lea eax, [ebp - 0x10]
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions_
push eax
call fcn.1000497e
add esp, 0xc
mov ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 0x15
je 0x10004657
call fcn.10001a7a
jmp 0x10004659
xor eax, eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push esi
mov dword [ebp - 0x20], ebx
call dword [0x10071084]
cmp eax, ebx
jne 0x10004687
lea ecx, [ebp - 0x14]
call fcn.100049d9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.100018f4
mov ecx, dword [0x10071134]
cmp ecx, ebx
je 0x100046a7
call fcn.10001a7a
mov dword [ebp - 0x10], eax
jmp 0x100046aa
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push str.ButtonText
push dword [ebp - 0x14]
call edi
push str.1FBA04EE_3024_11d2_8F1F_0000F87ABD16.
call esi
inc eax
push eax
push str.1FBA04EE_3024_11d2_8F1F_0000F87ABD16.
push 1
push ebx
push str.CLSID
push dword [ebp - 0x14]
call edi
push 0x1006a6bc
call esi
inc eax
push eax
push 0x1006a6bc
push 1
push ebx
push str.Default_Visible
push dword [ebp - 0x14]
call edi
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x1000470e
call fcn.10001a7a
mov dword [ebp - 0x10], eax
jmp 0x10004711
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call esi
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push str.HotIcon
push dword [ebp - 0x14]
call edi
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x10004739
call fcn.10001a7a
mov dword [ebp - 0x10], eax
jmp 0x1000473c
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call esi
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push str.Icon
push dword [ebp - 0x14]
call edi
mov ecx, dword [0x10071134]
cmp ecx, ebx
je 0x10004767
call fcn.10001a7a
mov dword [ebp - 0x10], eax
jmp 0x1000476a
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call esi
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push str.MenuStatusBar
push dword [ebp - 0x14]
call edi
mov ecx, dword [0x10071134]
cmp ecx, ebx
je 0x10004795
call fcn.10001a7a
mov dword [ebp - 0x10], eax
jmp 0x10004798
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call esi
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push str.MenuText
push dword [ebp - 0x14]
call edi
mov ecx, dword [0x10071140]
cmp ecx, ebx
je 0x100047c3
call fcn.10001a7a
mov dword [ebp - 0x10], eax
jmp 0x100047c6
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call esi
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push str.ClsidExtension
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x14], ebx
je 0x100047ee
push dword [ebp - 0x14]
call dword [0x10071078]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp + 8]
call fcn.100018f4
jmp 0x10004961
mov edi, dword [0x10071084]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions
push esi
mov dword [ebp + 8], ebx
call edi
cmp eax, ebx
jne 0x1000482f
lea ecx, [ebp - 0x14]
call fcn.100049d9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x10071140]
cmp ecx, ebx
je 0x10004840
call fcn.10001a7a
jmp 0x10004842
xor eax, eax
push eax
push dword [ebp - 0x14]
call dword [0x10071094]
cmp dword [ebp - 0x14], ebx
je 0x1000485d
push dword [ebp - 0x14]
call dword [0x10071078]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
push esi
mov dword [ebp + 8], ebx
call edi
cmp eax, ebx
jne 0x1000488b
lea ecx, [ebp - 0x14]
call fcn.100049d9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x50], al
call fcn.1002622b
mov edi, 0x1006a4a8
push edi
call fcn.100493c0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.10027116
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x16
mov byte [ebp - 0x68], al
call fcn.1002622b
mov edi, str.UserAgent
push edi
call fcn.100493c0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x68]
call fcn.10027116
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x17
call fcn.10003a23
add esp, 0xc
push dword [0x1005b4ec]
lea ecx, [ebp - 0x50]
push ebx
push eax
mov byte [ebp - 4], 0x18
call fcn.10025e51
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x17
call fcn.1002622b
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x16
call fcn.1002622b
cmp dword [ebp - 0x48], ebx
je 0x10004942
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
jne 0x10004938
mov eax, 0x1005b4e8
push eax
push dword [ebp - 0x14]
call dword [0x1007108c]
cmp dword [ebp - 0x14], ebx
je 0x10004953
push dword [ebp - 0x14]
call dword [0x10071078]
mov dword [ebp - 0x14], ebx
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.1002622b
cmp dword [ebp - 0x14], ebx
pop edi
pop esi
pop ebx
je 0x10004972
push dword [ebp - 0x14]
call dword [0x10071078]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret