Function at 0x43bd47e7
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x43c18930
call fcn.43bfae26
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x84]
push esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0xc4], ebx
je 0x43bd49fc
mov eax, dword [ebp - 0x10]
add edi, 0xa0
add eax, 0xb4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.43bd4b0e
mov ecx, eax
call fcn.43bd4f93
mov ecx, eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi + 4]
mov edx, ebx
sub eax, dword [edi]
sar eax, 2
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x43bd4889
lea eax, [ecx + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [edi]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ecx + edx*4]
push dword [eax]
call fcn.43be3485
test al, al
jne 0x43bd48f3
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov edx, dword [ebp - 0x1c]
inc edx
sar eax, 2
cmp edx, eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
jb 0x43bd485b
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov ecx, dword [ebp - 0x10]
sar eax, 2
cmp eax, dword [ecx + 0x24]
jge 0x43bd49fe
push 0xf4
call fcn.43bc1420
mov edi, eax
pop ecx
test edi, edi
je 0x43bd4915
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x1c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], eax
call fcn.43bd4040
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], ebx
mov dword [edi + 0xec], ebx
mov byte [edi + 0xf0], bl
mov dword [edi + 0xdc], ebx
jmp 0x43bd4917
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov edi, dword [edi]
lea ecx, [ecx + 0xac]
call fcn.43bd4bd1
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [edi + eax*4]
mov dword [ecx], eax
jmp 0x43bd49df
mov edi, ebx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov eax, dword [ecx + 4]
cmp edx, eax
jae 0x43bd495a
cmp dword [ecx], edx
ja 0x43bd495a
sub edx, dword [ecx]
sar edx, 2
mov dword [ebp - 0x28], edx
cmp eax, dword [ecx + 8]
jne 0x43bd4944
push ecx
call fcn.43bd4d1d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x43bd4971
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
jmp 0x43bd4971
cmp eax, dword [ecx + 8]
jne 0x43bd4968
push ecx
call fcn.43bd4d1d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
test eax, eax
je 0x43bd4971
mov dword [eax], edi
add dword [ecx + 4], 4
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xe8], eax
test eax, eax
je 0x43bd49bc
lea eax, [edi + 0xec]
mov byte [edi + 0xf0], 1
push eax
push ebx
push edi
push 0x43be3735
push ebx
push ebx
call fcn.43bfd7ff
add esp, 0x18
mov dword [edi + 0xe4], eax
test eax, eax
je 0x43bd49bc
mov dword [edi + 0xe0], 1
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + 4]
push eax
push dword [ecx]
mov ecx, edi
call fcn.43be3485
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x14]
lea ecx, [ecx + 0xac]
call fcn.43bd4bd1
mov dword [eax], edi
mov ecx, dword [ebp - 0x24]
call fcn.43bd4b26
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
cmp dword [eax + 0xc4], ebx
mov eax, dword [ebp - 0x24]
jne 0x43bd482d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.43bfadf4
ret