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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10029a48
push 0x1000d950
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.1000d490
add esp, 0xc
mov ecx, dword [str.IEHelpBarMon.dll]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x10025ad8]
mov dword [ebp - 0x2c], edx
mov eax, dword [0x10025adc]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x10025ae0]
mov dword [ebp - 0x24], ecx
mov dx, word [0x10025ae4]
mov word [ebp - 0x20], dx
mov al, byte [0x10025ae6]
mov byte [ebp - 0x1e], al
cmp dword [ebp + 0xc], 1
jne 0x100085b3
mov dword [ebp - 4], ebx
push str.C:IEHelpBHO2.txt
mov ecx, 0x1002d9b8
call fcn.100094f0
push str.Enter_DllMain3
push 0x1002d9b8
call fcn.10009500
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 0x10008318
cmp byte [ebp + eax - 0x134], cl
jne 0x10008389
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.1000e2ee
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.100094f0
cmp esi, ebx
jne 0x10008391
push str.regsvr32.exe
lea edx, [ebp - 0x134]
push edx
call edi
test eax, eax
je 0x10008391
push str.ghome.exe
lea eax, [ebp - 0x134]
push eax
call edi
test eax, eax
je 0x10008391
mov dword [ebp - 4], 0xfffffffe
jmp 0x100085da
sub eax, 1
jmp 0x100082ec
push str.Loader_perminsion
push 0x1002d9b8
call fcn.10009500
add esp, 8
cmp esi, ebx
jne 0x100083b3
mov dword [ebp - 4], 0xfffffffe
jmp 0x100085c8
push str.IEHElpBHO
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
je 0x100083cb
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.1000d490
add esp, 0xc
push 0x104
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10008441
lea eax, [ebp - 0x30]
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10008401
sub eax, edx
lea edi, [ebp - 0x238]
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x10008415
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 [0x1002def8], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov dword [ebp - 0x63c], esi
push esi
mov ecx, 0x1002d9b8
call fcn.100094f0
cmp esi, ebx
je 0x10008536
cmp dword [section..vm], ebx
jne 0x10008536
cmp dword [0x1002deac], ebx
je 0x10008536
push str.SCODEF:
push esi
call fcn.1000d570
add esp, 8
test eax, eax
je 0x10008536
push str.CREDAT:
push esi
call fcn.1000d570
add esp, 8
test eax, eax
je 0x10008536
push str.IE8_tab
push 0x1002d9b8
call fcn.10009500
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
call fcn.1000b8b0
mov dword [section..vm], eax
push eax
call fcn.1000bd20
add esp, 8
cmp eax, 0xbb8
jae 0x10008536
mov eax, dword [section..vm]
cmp eax, ebx
je 0x10008536
push 0x200
lea ecx, [ebp - 0x638]
push ecx
push eax
call fcn.1000bae0
add esp, 0xc
cmp eax, 1
jne 0x10008536
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.10009500
mov eax, dword [section..vm]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.1000bb90
add esp, 0x14
push esi
push str.szCmdLine_:__s
push 0x1002d9b8
call fcn.10009500
call fcn.100080e0
push esi
call fcn.1000c300
mov dword [0x1002d9b4], eax
call fcn.10009be0
mov dword [0x1002d9a4], eax
mov edx, dword [0x1002d9a0]
push edx
push str.DllMain_g_hIEAddressBar:__d
push 0x1002d9b8
call fcn.10009500
add esp, 0x1c
cmp dword [0x1002deac], ebx
jne 0x100085ac
jmp 0x100085a6
mov dword [0x1002d9b4], ebx
mov dword [ebp - 4], 0xfffffffe
cmp dword [ebp + 0xc], ebx
jne 0x100085c8
mov eax, dword [0x1002def8]
cmp eax, ebx
je 0x100085c8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
cmp dword [ebp + 0xc], eax
jne 0x100085dc
cmp byte [0x1002deb4], bl
je 0x100085dc
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.1000cff2
mov esp, ebp
pop ebp
ret 0xc