Function at 0x467700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x5ec9f0], 0xa
push ebx
push esi
push edi
jne 0x46771b
mov ebx, dword [0x5f2a04]
jmp 0x467723
mov eax, dword [0x5f2a04]
lea ebx, [eax + eax]
cmp byte [0x5f27e2], 0
je 0x46773a
cmp byte [0x5f27d0], 0
je 0x46773a
call fcn.00466f00
cmp byte [0x5f27df], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
jne 0x46775c
cmp byte [0x5f27e2], 0
je 0x46781c
push str.___Local_threads...
call fcn.00463ab0
add esp, 4
mov dword [0x5f3238], 0xffffffff
mov dword [0x5f3230], 0
push 0
push 0
push 0
push 0
call esi
mov dword [0x5f3234], eax
test eax, eax
je 0x4679fd
lea eax, [ebx*4]
push eax
call fcn.00552c6a
mov esi, eax
add esp, 4
test esi, esi
je 0x4677bd
lea eax, [ebx*4]
push eax
push 0
push esi
call fcn.005471b0
add esp, 0xc
mov dword [0x5f3204], esi
test esi, esi
je 0x4679fd
push 0x5f3210
mov dword [0x5f320c], 0
mov dword [0x5f3208], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
cmp dword [0x5f3208], esi
jle 0x467816
push 0
push 0
push 0x5f3204
push 0x477de0
push 0
push 0
call edi
mov ecx, dword [0x5f3204]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [0x5f3208]
jl 0x4677f0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp byte [0x5f27d3], 0
je 0x4678e6
push str.___Network_shares_threads...
call fcn.00463ab0
add esp, 4
mov dword [0x5f3270], 0xffffffff
mov dword [0x5f3268], 0
push 0
push 0
push 0
push 0
call esi
mov dword [0x5f326c], eax
test eax, eax
je 0x4679e2
lea eax, [ebx*4]
push eax
call fcn.00552c6a
mov esi, eax
add esp, 4
test esi, esi
je 0x46788a
lea eax, [ebx*4]
push eax
push 0
push esi
call fcn.005471b0
add esp, 0xc
mov dword [0x5f323c], esi
test esi, esi
je 0x4679e2
push 0x5f3248
mov dword [0x5f3244], 0
mov dword [0x5f3240], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
cmp dword [0x5f3240], esi
jle 0x4678e6
nop dword [eax]
push 0
push 0
push 0x5f323c
push 0x477de0
push 0
push 0
call edi
mov ecx, dword [0x5f323c]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [0x5f3240]
jl 0x4678c0
xor esi, esi
cmp byte [0x5f27df], 0
jne 0x4678fa
cmp byte [0x5f27e2], 0
je 0x46792f
push str.___Enumeration_drives...
call fcn.00463ab0
mov dl, byte [0x5f27e2]
add esp, 4
mov ecx, 0x5f3174
push 1
call fcn.0045ad20
add esp, 4
push 0
push 0
push 0
push 0x476260
push 0
push 0
call edi
mov esi, eax
cmp byte [0x5f27d3], 0
je 0x46794a
call fcn.00469800
push str.___Network_Scanner_completed.
call fcn.00463ab0
add esp, 4
cmp byte [0x5f27df], 0
jne 0x46795c
cmp byte [0x5f27e2], 0
je 0x467997
test esi, esi
je 0x467976
push str.___Waiting_for_local_search...
call fcn.00463ab0
add esp, 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.___Added_STOP_MARKER_to_local_thread.
call fcn.00463ab0
add esp, 4
xor ecx, ecx
call fcn.00477f30
push str.___Local_Scan_completed.
call fcn.00463ab0
add esp, 4
cmp byte [0x5f27d3], 0
je 0x4679c4
push str.___Added_STOP_MARKER_to_network_thread.
call fcn.00463ab0
add esp, 4
mov ecx, 1
call fcn.00477f30
push str.___Network_processing_completed.
call fcn.00463ab0
add esp, 4
cmp byte [0x5f27e2], 0
je 0x467a11
cmp byte [0x5f27d0], 0
jne 0x467a11
call fcn.00466f00
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.00463ab0
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.00463ab0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret