Function at 0x4293f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], esp
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x5c], 0x429d00
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x58]
mov ecx, dword fs:[0]
mov dword [esi + 0x58], ecx
mov dword fs:[0], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x429444
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ecx + 8]
dec edx
and edx, 0xfffffff8
lea eax, [edx + eax + 8]
push eax
call dword [ecx + 0x14]
add esp, 4
lea eax, [ebx + 0x20]
mov cl, 1
mov dword [esi + 0xc], eax
xor eax, eax
lock cmpxchg byte [ebx + 0x20], cl
jne 0x429921
lea eax, [ebx + 0x88]
mov dword [esi + 0x10], 0
mov dword [esi + 0x3c], eax
jmp 0x429473
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x429570
mov ecx, dword [ebx + 0x30]
mov edi, dword [ebx + 0x2c]
lea edx, [ecx + 1]
cmp edx, edi
mov edx, dword [ebx + 0x28]
mov dword [esi + 8], edx
mov edx, 0
cmovb edi, edx
dec eax
xor edx, edx
neg edi
lea edi, [ecx + edi + 1]
mov dword [ebx + 0x30], edi
mov edi, dword [esi + 8]
mov dword [ebx + 0x34], eax
movzx eax, byte [edi + ecx*8 + 4]
mov ecx, dword [edi + ecx*8]
mov dword [esi + 0x20], ecx
mov byte [esi + 0x24], al
mov al, 1
lock dec dword [ebx + 0x98]
lock cmpxchg byte [ebx + 0x20], dl
je 0x4294df
mov byte [esi + 5], 1
mov dword [esi + 0x60], 0xa
push 0
push dword [esi + 0xc]
call fcn.0051d170
add esp, 8
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x40], ecx
mov dword [esi + 8], ecx
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov byte [esi + 6], 1
mov dword [esi + 0x60], 0xb
push ecx
call eax
mov ecx, dword [esi + 8]
add esp, 4
mov eax, 0xffffffc0
lock xadd dword [ecx], eax
cmp eax, 0x3f
jbe 0x429976
and eax, 0xffffffc0
cmp eax, 0x40
jne 0x42952b
mov eax, dword [ecx + 8]
mov eax, dword [eax + 8]
mov byte [esi + 6], 0
push ecx
call eax
add esp, 4
mov ecx, dword [esi + 0xc]
xor eax, eax
mov dl, 1
lock cmpxchg byte [ecx], dl
je 0x429470
mov byte [esi + 5], 0
mov dword [esi + 0x60], 0xa
sub esp, 0x10
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0x3b9aca00
mov dword [esp], eax
call fcn.0051c910
add esp, 0x10
jmp 0x429470
lock inc dword [ebx + 0x94]
movzx ecx, byte [ebx + 0x70]
nop dword [eax + eax]
test cl, cl
jne 0x429734
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x60], 9
mov dword [esi + 0x4c], eax
call fcn.00460590
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
push dword [esi + 0x4c]
push dword [esi + 0x1c]
push dword [esi + 8]
lea eax, [esi + 0x20]
push eax
call fcn.00460910
add esp, 0x10
push ecx
push edx
push eax
push dword [esi + 0xc]
push dword [esi + 0x3c]
call fcn.004492a0
add esp, 0x14
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x58]
test ecx, ecx
jne 0x4295f3
movzx ecx, byte [ebx + 0x70]
test cl, cl
setne dl
xor al, 1
or al, dl
jne 0x429580
jmp 0x42974b
dec ecx
mov dword [ebx + 0x58], ecx
cmp byte [ebx + 0x70], 0
je 0x429473
jmp 0x429734
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x30]
mov ebx, dword [ecx + 0x2c]
lea edi, [edx + 1]
xor ecx, ecx
cmp edi, ebx
cmovb ebx, ecx
mov ecx, dword [ebp + 8]
dec eax
neg ebx
lea edi, [edx + ebx + 1]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 0x28]
mov dword [ecx + 0x30], edi
mov edi, dword [ebp + 8]
mov dword [edi + 0x34], eax
movzx eax, byte [ebx + edx*8 + 4]
mov edx, dword [ebx + edx*8]
mov dword [esi + 0x20], edx
mov byte [esi + 0x24], al
mov al, 1
xor edx, edx
lock dec dword [ecx + 0x98]
lock cmpxchg byte [ecx + 0x20], dl
je 0x429674
mov byte [esi + 4], 1
mov dword [esi + 0x60], 3
push 0
push dword [esi + 0xc]
call fcn.0051d170
add esp, 8
mov ecx, dword [esi + 0x20]
cmp byte [esi + 0x24], 0
je 0x4296b0
mov dword [esi + 0x40], ecx
lock sub dword [ecx], 0x40
jb 0x42993f
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x18]
mov byte [esi + 4], 0
mov dword [esi + 0x60], 3
push eax
call ecx
add esp, 4
mov ebx, dword [ebp + 8]
jmp 0x429700
mov dword [esi + 0x40], ecx
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov byte [esi + 7], 1
mov dword [esi + 0x60], 5
push ecx
mov dword [esi + 8], ecx
call eax
mov ecx, dword [esi + 8]
mov ebx, dword [ebp + 8]
add esp, 4
mov eax, 0xffffffc0
lock xadd dword [ecx], eax
cmp eax, 0x3f
jbe 0x42995c
and eax, 0xffffffc0
cmp eax, 0x40
jne 0x429700
mov eax, dword [ecx + 8]
mov eax, dword [eax + 8]
mov byte [esi + 7], 0
push ecx
call eax
mov ebx, dword [ebp + 8]
add esp, 4
nop
mov edx, dword [esi + 0xc]
mov cl, 1
xor eax, eax
lock cmpxchg byte [edx], cl
je 0x429734
mov byte [esi + 4], 0
mov dword [esi + 0x60], 3
sub esp, 0x10
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0x3b9aca00
mov dword [esp], eax
call fcn.0051c910
mov ebx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x429610
lock inc dword [ebx + 0x94]
jmp 0x4297f8
lea ecx, [ebp + 0xc]
lea eax, [ebx + 0x38]
mov byte [esi + 2], 1
mov byte [esi + 3], 0
mov dword [esi + 0x60], 1
lea edx, [esi + 0x40]
push ecx
push eax
push edx
call fcn.00444d60
mov ebx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x48]
movsd xmm0, qword [ebx + 0x60]
movsd qword [esi + 0x20], xmm0
mov dword [ebx + 0x68], eax
movsd xmm0, qword [esi + 0x40]
movsd qword [ebx + 0x60], xmm0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4297e8
mov dword [esi + 8], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x60], 8
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 8]
lock dec dword [eax]
jne 0x4297c7
lea eax, [esi + 0x10]
mov dword [esi + 0x60], 7
push eax
call fcn.0040bfc0
add esp, 4
mov eax, dword [esi + 0x14]
mov ebx, dword [ebp + 8]
lock dec dword [eax]
jne 0x4297e8
lea eax, [esi + 0x14]
mov dword [esi + 0x60], 6
push eax
call fcn.00430e00
mov ebx, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x28]
movsd xmm0, qword [esi + 0x20]
mov dword [esi + 0x18], eax
movsd qword [esi + 0x10], xmm0
lock dec dword [ebx + 0x90]
mov eax, 0xffffffff
lock xadd dword [ebx + 0x94], eax
mov ecx, dword [ebx + 0x94]
cmp eax, ecx
jb 0x429990
cmp byte [ebx + 0x70], 0
je 0x429851
mov eax, dword [ebx + 0x90]
test eax, eax
jne 0x429851
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x429851
mov byte [esi + 2], 1
mov byte [esi + 3], 0
mov dword [esi + 0x60], 1
push eax
push dword [esi + 0x3c]
call fcn.0051d3d0
mov ebx, dword [ebp + 8]
add esp, 8
mov edx, dword [esi + 0xc]
xor ecx, ecx
mov al, 1
lock cmpxchg byte [edx], cl
je 0x42987d
mov byte [esi + 2], 1
mov byte [esi + 3], 1
mov dword [esi + 0x60], 1
push 0
push dword [esi + 0xc]
call fcn.0051d170
mov ebx, dword [ebp + 8]
add esp, 8
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x4298ae
mov eax, dword [ebx + 0x84]
mov edx, dword [eax + 8]
mov byte [esi + 2], 1
mov byte [esi + 3], 1
mov dword [esi + 0x60], 1
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
push ecx
call dword [eax + 0x14]
add esp, 4
cmp dword [esi + 0x10], 0
je 0x429910
mov eax, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
mov byte [esi + 2], 0
mov byte [esi + 3], 1
mov dword [esi + 0x60], 1
mov dword [esi + 0x28], eax
lea eax, [esi + 0x20]
movsd qword [esi + 0x20], xmm0
push eax
call fcn.004431e0
add esp, 4
test eax, eax
je 0x429910
mov dword [esi + 0x60], 2
mov dword [esi + 8], eax
push eax
mov dword [esi + 0x1c], edx
call dword [edx]
add esp, 4
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
mov eax, dword [edx + 4]
test eax, eax
je 0x429910
push dword [edx + 8]
push eax
push ecx
call fcn.00421c20
add esp, 0xc
mov eax, dword [esi + 0x58]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0x3b9aca00
mov dword [esp], eax
call fcn.0051c910
add esp, 0x10
jmp 0x429459
mov dword [esi + 0x60], 4
push 0x565a78
push 0x27
push str.assertion_failed:_prev.ref_count_____1
call fcn.0051ee20
add esp, 0xc
jmp 0x4299d3
mov byte [esi + 7], 0
push 0x565a78
push 0x27
push str.assertion_failed:_prev.ref_count_____1
call fcn.0051ee20
add esp, 0xc
jmp 0x4299d3
mov byte [esi + 6], 0
push 0x565a78
push 0x27
push str.assertion_failed:_prev.ref_count_____1
call fcn.0051ee20
add esp, 0xc
jmp 0x4299d3
mov dword [esi + 0x20], str.num_idle_threads_underflowed_on_thread_exit
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0x565764
mov dword [esi + 0x2c], 0
mov byte [esi + 2], 1
mov byte [esi + 3], 0
mov dword [esi + 0x60], 1
push 0x565cf4
lea eax, [esi + 0x20]
push eax
call fcn.0051ed60
add esp, 8
ud2