Function at 0x10013aad
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x10051719
call fcn.1002527d
xor ebx, ebx
push str.Crossrider_BHO_Version:_149
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.10020985
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x50]
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea edi, [esi + 0x4c]
push edi
mov byte [ebp - 4], 4
call fcn.10001ca4
lea ecx, [ebp - 0x20]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.10001270
call fcn.100211d5
cmp al, bl
jne 0x10013bbd
push str.BHO_is_disabled
lea ecx, [ebp - 0x1c]
call fcn.10001b63
push str.SetSite
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x50]
push 2
push eax
lea eax, [ebp + 8]
push eax
push edi
mov byte [ebp - 4], 8
call fcn.10001ca4
lea ecx, [ebp - 0x20]
call fcn.10001270
lea ecx, [ebp + 0xc]
call fcn.10001270
lea ecx, [ebp + 8]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
xor eax, eax
call fcn.10025322
ret 8
cmp dword [ebp + 0xc], ebx
je 0x10013f65
push str.Loading_BHO
lea ecx, [ebp - 0x14]
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xb
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x50]
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
mov byte [ebp - 4], 0xc
call fcn.10001ca4
lea ecx, [ebp - 0x30]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.10001270
lea eax, [ebp - 0x30]
push eax
call fcn.10020af1
pop ecx
lea edi, [esi + 0x54]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.100016b4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.10001270
push edi
call fcn.10021f77
pop ecx
cmp al, bl
jne 0x10013cfc
push str.Invalid_appId:
lea ecx, [ebp - 0x18]
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x10
call fcn.10020985
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x11
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x50]
push 2
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 0x12
call fcn.10001ca4
lea ecx, [ebp - 0x30]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
lea ecx, [ebp + 0xc]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 0x18]
jmp 0x10013bae
lea edi, [esi + 0x58]
cmp dword [edi], ebx
je 0x10013d5d
push str.Received_a_new_site_while_our_site_is_not_null
lea ecx, [ebp - 0x18]
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x15
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x50]
push 2
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 0x16
call fcn.10001ca4
lea ecx, [ebp - 0x30]
jmp 0x10013cdf
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.1000d1bb
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x17
cmp eax, ebx
jne 0x10013d7d
push 0x80004003
call fcn.10023ef0
mov ecx, dword [eax]
push edi
push 0x1005a6cc
push 0x1005a6bc
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x10013e1e
push str.Failed_to_get_web_browser_interface
lea ecx, [ebp - 0x18]
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1a
call fcn.10020985
add esp, 0xc
mov byte [ebp - 4], 0x1b
mov ecx, dword [esi + 0x50]
push 2
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 0x4c]
push eax
call fcn.10001ca4
lea ecx, [ebp - 0x30]
call fcn.10001270
lea ecx, [ebp + 0xc]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
mov eax, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x10013bb3
jmp 0x100140e8
mov eax, dword [edi]
push 0x1005a6dc
push eax
lea ecx, [esi + 0xc]
call fcn.1000cf48
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [edi]
push edi
call dword [eax + 0x94]
push dword [ebp - 0x20]
lea edi, [esi - 0x24]
mov ecx, edi
call fcn.10011d6e
lea ecx, [ebp - 0x18]
cmp al, bl
je 0x10013f21
push str.Created_BHO_window__now_starting_timers
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1c
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1e
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x50]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 0x1f
call fcn.10001ca4
lea ecx, [ebp - 0x30]
call fcn.10001270
lea ecx, [ebp + 0xc]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea eax, [ebp - 0x2c]
push eax
push ebx
push edi
push 0x10013a98
push ebx
push ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0xea60
push 0x4c1
push dword [esi - 0x20]
call edi
push ebx
push 0x1d4c0
push 0x4c0
push dword [esi - 0x20]
call edi
push ebx
push 0x2710
push 0x4bf
push dword [esi - 0x20]
call edi
jmp 0x10013e0b
push str.Failed_to_create_the_BHO_window
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x20
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x22
call fcn.10020985
add esp, 0xc
mov byte [ebp - 4], 0x23
jmp 0x10013dd8
push str.Unloading_BHO
lea ecx, [ebp - 0x20]
call fcn.10001b63
push str.SetSite
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x24
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x26
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x50]
push ebx
push eax
lea eax, [ebp + 8]
push eax
push edi
mov byte [ebp - 4], 0x27
call fcn.10001ca4
lea ecx, [ebp - 0x30]
call fcn.10001270
lea ecx, [ebp + 0xc]
call fcn.10001270
lea ecx, [ebp + 8]
call fcn.10001270
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.10001270
lea edi, [esi + 0x54]
push edi
call fcn.10021f77
pop ecx
cmp al, bl
jne 0x1001407a
push str.Invalid_appId:
lea ecx, [ebp - 0x2c]
call fcn.10001b63
push str.SetSite
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x28
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x2a
call fcn.10020985
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x2b
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x50]
push 1
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 0x2c
call fcn.10001ca4
lea ecx, [ebp - 0x34]
call fcn.10001270
lea ecx, [ebp - 0x38]
call fcn.10001270
lea ecx, [ebp - 0x24]
call fcn.10001270
lea ecx, [ebp - 0x28]
call fcn.10001270
lea ecx, [ebp - 0x2c]
jmp 0x10013bae
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x4c1
push dword [esi - 0x20]
call edi
push 0x4c0
push dword [esi - 0x20]
call edi
push 0x4bf
push dword [esi - 0x20]
call edi
cmp byte [esi + 0x94], bl
je 0x100140b0
push 0x4be
push dword [esi - 0x20]
call edi
mov eax, dword [esi + 0x98]
cmp eax, ebx
je 0x100140c1
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x100140d1
push eax
lea ecx, [esi + 0xc]
call fcn.1000d0b8
cmp dword [esi + 0x58], ebx
je 0x10013bb3
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x10013bb3
mov dword [esi + 0x58], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10013bb3