Function at 0x466f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x5eb9f0], 0xa
push ebx
push esi
push edi
jne 0x466f7b
mov ebx, dword [0x5f19e4]
jmp 0x466f83
mov eax, dword [0x5f19e4]
lea ebx, [eax + eax]
cmp byte [0x5f17bf], 0
je 0x466f9a
cmp byte [0x5f17a6], 0
je 0x466f9a
call fcn.00466760
cmp byte [0x5f17bc], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
jne 0x466fbc
cmp byte [0x5f17bf], 0
je 0x46707c
push str.___Local_threads...
call fcn.00463390
add esp, 4
mov dword [0x5f2208], 0xffffffff
mov dword [0x5f2200], 0
push 0
push 0
push 0
push 0
call esi
mov dword [0x5f2204], eax
test eax, eax
je 0x46725d
lea eax, [ebx*4]
push eax
call fcn.0055249a
mov esi, eax
add esp, 4
test esi, esi
je 0x46701d
lea eax, [ebx*4]
push eax
push 0
push esi
call fcn.005469e0
add esp, 0xc
mov dword [0x5f21d4], esi
test esi, esi
je 0x46725d
push 0x5f21e0
mov dword [0x5f21dc], 0
mov dword [0x5f21d8], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
cmp dword [0x5f21d8], esi
jle 0x467076
push 0
push 0
push 0x5f21d4
push 0x4775f0
push 0
push 0
call edi
mov ecx, dword [0x5f21d4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [0x5f21d8]
jl 0x467050
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp byte [0x5f17b5], 0
je 0x467146
push str.___Network_shares_threads...
call fcn.00463390
add esp, 4
mov dword [0x5f2240], 0xffffffff
mov dword [0x5f2238], 0
push 0
push 0
push 0
push 0
call esi
mov dword [0x5f223c], eax
test eax, eax
je 0x467242
lea eax, [ebx*4]
push eax
call fcn.0055249a
mov esi, eax
add esp, 4
test esi, esi
je 0x4670ea
lea eax, [ebx*4]
push eax
push 0
push esi
call fcn.005469e0
add esp, 0xc
mov dword [0x5f220c], esi
test esi, esi
je 0x467242
push 0x5f2218
mov dword [0x5f2214], 0
mov dword [0x5f2210], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
cmp dword [0x5f2210], esi
jle 0x467146
nop dword [eax]
push 0
push 0
push 0x5f220c
push 0x4775f0
push 0
push 0
call edi
mov ecx, dword [0x5f220c]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [0x5f2210]
jl 0x467120
xor esi, esi
cmp byte [0x5f17bc], 0
jne 0x46715a
cmp byte [0x5f17bf], 0
je 0x46718f
push str.___Enumeration_drives...
call fcn.00463390
mov dl, byte [0x5f17bf]
add esp, 4
mov ecx, 0x5f214c
push 1
call fcn.0045a710
add esp, 4
push 0
push 0
push 0
push 0x475b20
push 0
push 0
call edi
mov esi, eax
cmp byte [0x5f17b5], 0
je 0x4671aa
call fcn.004690a0
push str.___Network_Scanner_completed.
call fcn.00463390
add esp, 4
cmp byte [0x5f17bc], 0
jne 0x4671bc
cmp byte [0x5f17bf], 0
je 0x4671f7
test esi, esi
je 0x4671d6
push str.___Waiting_for_local_search...
call fcn.00463390
add esp, 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.___Added_STOP_MARKER_to_local_thread.
call fcn.00463390
add esp, 4
xor ecx, ecx
call fcn.00477740
push str.___Local_Scan_completed.
call fcn.00463390
add esp, 4
cmp byte [0x5f17b5], 0
je 0x467224
push str.___Added_STOP_MARKER_to_network_thread.
call fcn.00463390
add esp, 4
mov ecx, 1
call fcn.00477740
push str.___Network_processing_completed.
call fcn.00463390
add esp, 4
cmp byte [0x5f17bf], 0
je 0x467271
cmp byte [0x5f17a6], 0
jne 0x467271
call fcn.00466760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_network_threadpool__Code__lu
call fcn.00463390
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_local_threadpool__Code__lu
call fcn.00463390
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret