Function at 0x10026440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, ecx
mov dword [ebp - 4], 0
push esi
push edi
mov dword [ebp - 8], ebx
lea esi, [ebx + 4]
mov dword [ebp - 0x14], 0
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
push edi
call fcn.10026680
mov ecx, dword [ebx + 0x154]
cmp dword [ebx + 0x34], 0
mov dword [ebp + 8], eax
je 0x100264af
push edi
lea ecx, [ebx + 0x164]
call fcn.1002ec00
mov ecx, ebx
call fcn.10025dd0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx + 0x44], 0
je 0x100264c5
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebx + 0x34], 1
cmp eax, ecx
je 0x100264dd
mov ecx, ebx
mov dword [ebx + 0x154], eax
call fcn.10026a50
inc dword [ebx + 0x38]
lea ecx, [ebp - 0x4c]
push edi
call fcn.1002e5c0
push eax
lea ecx, [ebx + 0x164]
call fcn.1002e820
lea ecx, [ebp - 0x4c]
call fcn.1002e750
mov ecx, ebx
call fcn.10025dd0
mov ecx, ebx
call fcn.10025e80
test byte [ebp + 8], 4
je 0x10026616
push 0x1c
call fcn.10049954
add esp, 4
test eax, eax
je 0x1002652e
mov ecx, eax
call fcn.10024bb0
mov edi, eax
jmp 0x10026530
xor edi, edi
mov ecx, dword [ebx + 0x158]
mov dword [ebx + 0x158], 0
test ecx, ecx
je 0x1002654b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
sub esp, 8
mov dword [ebx + 0x158], edi
mov ecx, esp
call fcn.10029310
push str.bucket0
push 0x10078840
mov ecx, edi
call fcn.10024df0
mov edi, dword [ebx + 0x158]
sub esp, 8
mov ecx, esp
call fcn.10029310
push str.bucket1
push 0x10078844
mov ecx, edi
call fcn.10024df0
mov edi, dword [ebx + 0x158]
sub esp, 8
mov ecx, esp
call fcn.10029310
push str.bucket2
push 0x10078848
mov ecx, edi
call fcn.10024df0
mov edi, dword [ebx + 0x158]
push 0xc
call fcn.10049954
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], edi
lea edi, [ebx + 0x15c]
test edi, edi
mov dword [eax + 8], 1
setne cl
mov byte [eax + 4], cl
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x10012cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
test ecx, ecx
jne 0x10026601
push dword [ebp + 8]
call fcn.100499a5
add esp, 4
jmp 0x10026616
test edi, edi
je 0x1002660f
mov eax, dword [ebp - 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
jmp 0x10026616
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x48]
mov byte [ebx + 0x44], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.10027f80
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
xor edi, edi
sub eax, dword [ebp - 0x14]
sar eax, 2
test eax, eax
je 0x10026653
mov ebx, dword [ebp - 0x14]
mov esi, eax
mov ecx, dword [ebx + edi*4]
mov eax, dword [ecx]
call dword [eax]
inc edi
cmp edi, esi
jb 0x10026641
mov ebx, dword [ebp - 8]
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [ebx + 0x44], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10026675
push eax
call fcn.100499a5
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8