Function at 0x43a0e0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ce78
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
xor edi, edi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 4], edi
push edi
xor eax, eax
push 0x483b30
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.004042f0
xor ecx, ecx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], cx
push 0xffffffffffffffff
push edi
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401390
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
cmp dword [ebp + 0x18], edi
jne 0x43a1db
xor ecx, ecx
mov ebx, 7
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
lea edx, [ebp - 0x2c]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00410c10
cmp dword [ebp - 0x3c], 8
jb 0x43a19d
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], cx
jb 0x43a1bc
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
jb 0x43a37d
mov ecx, dword [ebp + 8]
push ecx
jmp 0x43a374
mov edx, dword [0x52be0c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x64]
push eax
push edi
lea ecx, [ebp - 0x50]
push ecx
push 0x43a3a0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x43a302
test ebx, ebx
je 0x43a254
mov edx, dword [ebx + 0x438]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], edi
lea esi, [ebx + 0x428]
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
call fcn.0043b020
push eax
push esi
lea esi, [ebp - 0x5c]
call fcn.0043acd0
mov ecx, dword [ebx + 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x54]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebx, ebx
je 0x43a2bf
mov edx, dword [ebx + 0x438]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebx + 0x430], 0
jbe 0x43a2b2
lea esi, [ebx + 0x428]
lea ebx, [ebp - 0x64]
lea eax, [ebp - 0x58]
mov ecx, esi
call fcn.0043a990
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
cmp eax, dword [ecx + 0x42c]
je 0x43a2aa
push eax
lea edx, [ebp - 0x58]
push edx
push esi
call fcn.00435000
mov ebx, dword [ebp - 0x60]
jmp 0x43a2ac
mov ebx, ecx
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x68]
mov eax, dword [ebx + 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x43a2db
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x40]
push ecx
push eax
push edx
push 0
lea ecx, [ebp - 0x50]
call fcn.00417700
test eax, eax
je 0x43a302
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401390
mov ecx, dword [0x52be0c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [ebp - 0x2c]
mov ebx, 7
xor edi, edi
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00410c10
cmp dword [ebp - 0x3c], 8
jb 0x43a33f
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], dx
jb 0x43a35e
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
jb 0x43a37d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret 0x20