Function at 0x417460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58160d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x4c], 2
mov eax, dword [esp + 0x58]
push eax
call fcn.0040c980
mov edi, 1
cmp dword [0x65236c], edi
mov dword [esp + 0x18], edi
jl 0x4174ff
mov esi, dword [esp + 0x60]
cmp dword [esi - 4], edi
jle 0x4174cf
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.0040e950
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
cmp dword [eax - 4], edi
jle 0x4174ea
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0040e950
mov eax, dword [esp + 0x5c]
push esi
push eax
push str.Cloud:_getting_category_for_URL____s__domain____s
push str.BAProcessor::Analyse
push edi
call fcn.004fa3c2
add esp, 0x14
lea edi, [esp + 0x60]
call fcn.00417a80
mov eax, dword [esp + 0x60]
cmp dword [eax - 0xc], ebx
jl 0x417530
push str.www.
push eax
call fcn.004fec52
add esp, 8
cmp eax, ebx
je 0x417530
sub eax, dword [esp + 0x60]
jne 0x417530
mov ebx, edi
call fcn.004179e0
mov ebx, dword [esp + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebp, [ebx + 4]
push ebp
call edi
lea esi, [ebp + 0x18]
push esi
call edi
mov eax, 1
add dword [ebp + 0x30], eax
cmp dword [ebp + 0x30], eax
jne 0x41755d
mov edx, dword [ebp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
push ebp
call edi
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x3c]
lea esi, [ebx + 0x3c]
lea edx, [esp + 0x60]
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ecx
call fcn.00437f20
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x41759b
cmp eax, dword [esp + 0x1c]
je 0x4175a0
call fcn.004fe843
mov ecx, dword [esp + 0x20]
cmp dword [esi + 4], ecx
je 0x4175ca
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
call fcn.00417c90
mov ebx, dword [esp + 0x58]
call fcn.0040e8f0
mov ebx, dword [esp + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x58]
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [ebp + 0x30], 0xffffffff
jne 0x4175e8
mov eax, dword [ebp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [ebp + 0x18]
push eax
call edi
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jne 0x4177ae
cmp dword [ebx + 0x78], 0
je 0x41771c
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x30]
push eax
add ebx, 0x5c
push ebx
call fcn.0041bd10
mov byte [esp + 0x4c], 3
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
sar eax, 2
test eax, eax
jbe 0x41770d
xor edi, edi
test eax, eax
jbe 0x4176f5
mov bl, 6
cmp edi, eax
jb 0x417644
call fcn.004fe843
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edx + edi*4]
call fcn.004518b0
add esp, 4
mov byte [esp + 0x4c], 4
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call fcn.004178b0
mov byte [esp + 0x4c], bl
lea ecx, [esp + 0x1c]
call fcn.00402750
mov eax, dword [esp + 0x54]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x41769a
push eax
push esi
call fcn.004188c0
push 0x631a6c
call fcn.00417950
mov esi, dword [esp + 0x58]
jmp 0x4176d3
cmp dword [0x65236c], 1
jl 0x4176d3
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x38]
sar edx, 2
cmp edi, edx
jb 0x4176b7
call fcn.004fe843
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + edi*4]
push ecx
push str.Cannot_lookup_category_name_for__i
push str.BAProcessor::Analyse
push 1
call fcn.004fa3c2
add esp, 0x10
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x54]
call fcn.0040ca90
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
inc edi
sar eax, 2
cmp edi, eax
jb 0x417644
push 0x631a94
mov eax, esi
call fcn.00417fa0
mov edi, eax
mov eax, 0x631a94
call fcn.00418000
mov byte [esp + 0x4c], 2
lea edx, [esp + 0x2c]
push edx
call fcn.0044d230
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x417734
lea edi, [eax + 7]
push str.general
mov eax, esi
call fcn.0040ff00
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x4177cb
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x34]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push esi
push eax
call fcn.00417850
mov byte [esp + 0x50], 7
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x54], 2
call fcn.00417120
mov esi, eax
mov byte [esp + 0x4c], 8
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
call fcn.00417c90
mov ebx, eax
mov eax, esi
call fcn.0040e8f0
mov byte [esp + 0x4c], 2
lea ecx, [esp + 0x54]
call fcn.0040ca90
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x58]
jmp 0x4177cb
cmp dword [0x65236c], 1
jl 0x4177cb
push str.Cached_category_returned
push str.BAProcessor::Analyse
push 1
call fcn.004fa3c2
add esp, 0xc
mov byte [esp + 0x4c], 1
lea ecx, [esp + 0x5c]
call fcn.0040ca90
mov byte [esp + 0x4c], 0
lea ecx, [esp + 0x60]
call fcn.0040ca90
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x10