Function at 0x100085d0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10029ad0
push 0x1000dea0
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x1002c5e8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x638], bl
push 0x3ff
push ebx
lea eax, [ebp - 0x637]
push eax
call fcn.1000d9e0
add esp, 0xc
mov ecx, dword [str.IEHelpBarMon.dll]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x10025b30]
mov dword [ebp - 0x2c], edx
mov eax, dword [0x10025b34]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x10025b38]
mov dword [ebp - 0x24], ecx
mov dx, word [0x10025b3c]
mov word [ebp - 0x20], dx
mov al, byte [0x10025b3e]
mov byte [ebp - 0x1e], al
cmp dword [ebp + 0xc], 1
jne 0x10008973
mov dword [ebp - 4], ebx
push str.C:IEHelpBHO2.txt
mov ecx, 0x1002d9b8
call fcn.10009920
push str.Enter_DllMain3
push 0x1002d9b8
call fcn.10009950
add esp, 8
push 0x104
lea ecx, [ebp - 0x134]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, 0x5c
mov dword [ebp - 0x640], eax
cmp eax, ebx
jle 0x100086d8
cmp byte [ebp + eax - 0x134], cl
jne 0x10008749
lea eax, [ebp + eax - 0x133]
push eax
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x134]
push edx
call fcn.1000e83e
add esp, 4
push str.iexplore.exe
lea eax, [ebp - 0x134]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
call edi
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
lea ecx, [ebp - 0x134]
push ecx
mov ecx, 0x1002d9b8
call fcn.10009920
cmp esi, ebx
jne 0x10008751
push str.regsvr32.exe
lea edx, [ebp - 0x134]
push edx
call edi
test eax, eax
je 0x10008751
push str.ghome.exe
lea eax, [ebp - 0x134]
push eax
call edi
test eax, eax
je 0x10008751
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000899a
sub eax, 1
jmp 0x100086ac
push str.Loader_perminsion
push 0x1002d9b8
call fcn.10009950
add esp, 8
cmp esi, ebx
jne 0x10008773
mov dword [ebp - 4], 0xfffffffe
jmp 0x10008988
push str.IEHElpBHO
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
je 0x1000878b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x238], bl
push 0x103
push ebx
lea ecx, [ebp - 0x237]
push ecx
call fcn.1000d9e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10008801
lea eax, [ebp - 0x30]
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100087c1
sub eax, edx
lea edi, [ebp - 0x238]
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x100087d5
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1002df4c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov dword [ebp - 0x63c], esi
push esi
mov ecx, 0x1002d9b8
call fcn.10009920
cmp esi, ebx
je 0x100088f6
cmp dword [section..vm], ebx
jne 0x100088f6
cmp dword [0x1002dec8], ebx
je 0x100088f6
push str.SCODEF:
push esi
call fcn.1000dac0
add esp, 8
test eax, eax
je 0x100088f6
push str.CREDAT:
push esi
call fcn.1000dac0
add esp, 8
test eax, eax
je 0x100088f6
push str.IE8_tab
push 0x1002d9b8
call fcn.10009950
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
call fcn.1000bd00
mov dword [section..vm], eax
push eax
call fcn.1000c170
add esp, 8
cmp eax, 0xbb8
jae 0x100088f6
mov eax, dword [section..vm]
cmp eax, ebx
je 0x100088f6
push 0x200
lea ecx, [ebp - 0x638]
push ecx
push eax
call fcn.1000bf30
add esp, 0xc
cmp eax, 1
jne 0x100088f6
lea esi, [ebp - 0x638]
mov dword [ebp - 0x63c], esi
mov edx, esi
push edx
push str.IE8_tab_parent_cmdline__s
push 0x1002d9b8
call fcn.10009950
mov eax, dword [section..vm]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.1000bfe0
add esp, 0x14
push esi
push str.szCmdLine_:__s
push 0x1002d9b8
call fcn.10009950
call fcn.100084a0
push esi
call fcn.1000c750
mov dword [0x1002d9b4], eax
call fcn.1000a030
mov dword [0x1002d9a4], eax
mov edx, dword [0x1002d9a0]
push edx
push str.DllMain_g_hIEAddressBar:__d
push 0x1002d9b8
call fcn.10009950
add esp, 0x1c
cmp dword [0x1002dec8], ebx
jne 0x1000896c
jmp 0x10008966
mov dword [0x1002d9b4], ebx
mov dword [ebp - 4], 0xfffffffe
cmp dword [ebp + 0xc], ebx
jne 0x10008988
mov eax, dword [0x1002df4c]
cmp eax, ebx
je 0x10008988
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
cmp dword [ebp + 0xc], eax
jne 0x1000899c
cmp byte [0x1002df08], bl
je 0x1000899c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000d542
mov esp, ebp
pop ebp
ret 0xc