Function at 0x48b4a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673daf
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x74b738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
test edi, edi
je 0x48b4d8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.00441300
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.00441300
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
push 0x38
mov byte [ebp - 4], 2
call fcn.00669e77
mov ebx, eax
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 3
lea eax, [ebx + 8]
mov dword [ebp - 0x10], eax
lea esi, [ebx + 0x10]
mov dword [eax], 1
mov dword [ebx + 4], 1
mov dword [ebx], 0x6ea9b4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov dword [ebp - 0x18], esi
push eax
call fcn.00441300
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
push eax
call fcn.00441300
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov dword [esi + 0x24], 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.0048d120
mov dword [esi + 0x24], eax
or esi, 0xffffffff
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b5ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b5e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 8
mov eax, esi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b60f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b629
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 4]
lock inc dword [eax]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
cmp ecx, eax
ja 0x48b653
push ecx
lea ecx, [edi + 0x20]
call fcn.00439d60
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov eax, dword [edi + 0x30]
add eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
dec ecx
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x48b690
push 0x28
call fcn.00669e77
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [ebx + 0x10]
mov dword [eax], 0x6ec7ec
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x48b6d0
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x43f580
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x48b6d4
mov byte [ebp + 0xb], 0
or esi, 0xffffffff
mov byte [ebp - 4], 0xd
mov eax, esi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x48b6fd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], esi
dec esi
jne 0x48b6fd
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4