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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
call sym.std::thread::current::h6f98a2ec538f3823
mov dword [esp + 0x44], eax
mov esi, eax
lock dec byte [eax + 0x18]
je 0x42ba37
mov eax, dword [0x501138]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
add esi, 0x18
mov dword [esp + 0x10], esi
test eax, eax
je 0x42b4df
mov dword [esp], eax
mov esi, 0x3e8
mov eax, ebx
mul esi
mov ebx, eax
mov eax, edi
seto cl
mul esi
mov edi, edx
mov esi, eax
add edi, ebx
setb al
or al, cl
je 0x42b52f
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov eax, 0xffffffff
test edx, edx
jne 0x42b552
jmp 0x42b575
mov eax, dword [0x4be060]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x42b5a0
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [sym.__ZN3std3sys7windows1c18NtCreateKeyedEvent4load17h16e464a8c0fd9ac9E_16]
lea ecx, [esp + 0x48]
push 0
push 0
push 0xc0000000
push ecx
call eax
test eax, eax
jne 0x42ba4d
mov ecx, dword [esp + 0x48]
mov eax, 0xffffffff
lock cmpxchg dword [0x4be060], ecx
jne 0x42b58f
mov dword [esp + 0x20], ecx
jmp 0x42b5a0
mov ebx, dword [ebp + 0x10]
mov ecx, 0x431bde83
mov eax, ebx
mul ecx
shr edx, 0x12
add esi, edx
adc edi, 0
setae al
movzx edx, al
mov eax, 0xffffffff
test edx, edx
je 0x42b575
imul ecx, ebx, 0x68c26139
xor edx, edx
ror ecx, 6
cmp ecx, 0x10c7
setae dl
add esi, edx
adc edi, 0
jb 0x42b575
xor eax, eax
neg edi
sbb eax, eax
or eax, esi
push eax
push 1
push 0x4c0104
mov esi, dword [esp + 0x1c]
push esi
call dword [esp + 0x10]
xor eax, eax
xchg byte [esi], al
jmp 0x42ba37
push ecx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov esi, 0x3b9aca00
mov eax, edi
mul esi
mov edi, eax
mov eax, ebx
mov ecx, edx
mul esi
add eax, ecx
mov ecx, 0xffffff9c
adc edx, 0
add edi, dword [ebp + 0x10]
adc eax, 0
adc edx, 0
mov dword [esp + 0x58], eax
setb bl
cmp ecx, edi
mov ecx, 0xffffffff
sbb ecx, eax
mov ecx, 0x31
movzx esi, bl
sbb ecx, edx
mov ecx, 0
mov dword [esp + 0x54], esi
sbb ecx, esi
jb 0x42b7b9
mov dword [esp + 0x4c], edi
add edi, 0x63
mov dword [esp + 0x50], edx
mov ebx, edx
mov dword [esp], edi
mov edi, eax
mov eax, esi
mov edx, dword [esp]
adc edi, 0
adc ebx, 0
mov ecx, edi
adc eax, 0
mov dword [esp + 8], ebx
or ecx, eax
mov dword [esp + 0xc], eax
or edx, ebx
or edx, ecx
sete byte [esp + 4]
bsr edx, ebx
bsr esi, eax
xor edx, 0x1f
xor esi, 0x1f
add edx, 0x20
test eax, eax
cmovne edx, esi
bsr esi, dword [esp]
bsr ecx, edi
xor ecx, 0x1f
xor esi, 0x1f
add esi, 0x20
test edi, edi
cmovne esi, ecx
mov ecx, ebx
mov ebx, 0
add esi, 0x40
or ecx, eax
mov eax, 0
mov ecx, 0x7f
cmovne esi, edx
mov edx, 0x79
sub edx, esi
mov esi, 0
sbb esi, esi
sbb eax, eax
sbb ebx, ebx
cmp ecx, edx
mov ecx, 0
mov dword [esp + 0x18], eax
sbb ecx, esi
mov ecx, 0
sbb ecx, eax
mov ecx, 0
mov eax, dword [esp]
sbb ecx, ebx
setb cl
or cl, byte [esp + 4]
mov dword [esp + 4], edi
mov ecx, edi
mov edi, 0
cmovne ecx, edi
cmovne eax, edi
jne 0x42b9cd
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, edx
mov dword [esp + 0x14], edx
mov edx, esi
xor ecx, 0x7f
or edx, ebx
or ecx, edi
or edx, ecx
mov edx, esi
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
je 0x42b9d1
mov eax, dword [esp]
mov edi, edx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
xor cl, 0x7f
mov ch, cl
shr cl, 3
and cl, 0xf
and ch, 7
neg cl
movsx edx, cl
mov cl, ch
mov eax, dword [esp + edx + 0xcc]
mov esi, dword [esp + edx + 0xd0]
shld esi, eax, cl
shl eax, cl
not cl
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + edx + 0xc8]
mov esi, dword [esp + edx + 0xc4]
mov edx, eax
shr edx, 1
shr edx, cl
mov cl, ch
shld eax, esi, cl
shl esi, cl
add dword [esp + 0x14], 1
mov dword [esp + 0x1c], eax
adc edi, 0
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
adc edi, 0
adc ebx, 0
jae 0x42b7c2
mov dword [esp], 0
mov dword [esp + 8], 0
jmp 0x42b9ba
mov esi, dword [esp + 0x10]
jmp 0x42b9d9
mov eax, dword [esp]
or dword [esp + 0x24], edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x14]
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
movzx edx, al
mov cl, ch
mov edi, dword [esp + edx + 0x9c]
mov eax, dword [esp + edx + 0xa0]
mov ebx, edi
add edi, edi
shrd ebx, eax, cl
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + edx + 0x98]
mov dword [esp + 0xc], esi
mov esi, ebx
shr esi, cl
not cl
shl edi, cl
mov cl, ch
or edi, esi
mov esi, dword [esp + 0xc]
shr eax, cl
mov dword [esp + 0x38], edi
mov edi, 0x64
mov edx, dword [esp + edx + 0x94]
mov dword [esp], 0
mov dword [esp + 8], 0
shrd edx, ebx, cl
add edi, 0xffffffff
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, 0
mov dword [esp + 0x68], edi
mov edi, 0
adc edx, 0xffffffff
mov dword [esp + 0x64], edx
adc edi, 0xffffffff
mov edx, 0
adc edx, 0xffffffff
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edx
nop word cs:[eax + eax]
nop dword [eax]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
shld eax, ebx, 1
shld ebx, edx, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
shld edx, eax, 1
shld eax, edi, 1
shld edi, ecx, 1
or edi, dword [esp]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
shld ecx, edi, 1
shld edi, esi, 1
add esi, esi
or ecx, dword [esp]
or edi, dword [esp]
or esi, dword [esp + 8]
cmp dword [esp + 0x68], eax
mov dword [esp], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 4]
mov dword [esp + 0xc], esi
sbb ecx, edx
mov ecx, dword [esp + 0x60]
sbb ecx, ebx
mov ecx, dword [esp + 0x5c]
sbb ecx, edi
sar ecx, 0x1f
mov esi, ecx
and esi, 1
mov dword [esp + 8], esi
mov esi, 0x64
and ecx, esi
mov esi, dword [esp + 0x14]
sub eax, ecx
sbb edx, 0
mov dword [esp + 0x30], eax
mov eax, edi
sbb ebx, 0
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x3c]
sbb eax, 0
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x28]
add esi, 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], esi
adc ebx, 0xffffffff
adc eax, 0xffffffff
mov ecx, ebx
adc edx, 0xffffffff
or esi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
or ecx, edx
mov dword [esp + 0x3c], edx
or esi, ecx
mov esi, dword [esp + 0xc]
jne 0x42b8d0
mov ecx, dword [esp + 0x1c]
shld ecx, esi, 1
add esi, esi
or esi, dword [esp + 8]
or ecx, dword [esp]
mov eax, esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
neg eax
mov ebx, 0
sbb ebx, ecx
cmp edi, 0xffffff9d
mov ecx, 0x80000000
sbb dword [esp + 0x58], 0xffffffff
sbb edx, 0x31
sbb dword [esp + 0x54], 0
cmovb ecx, ebx
mov ebx, 0
cmovae eax, ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov eax, dword [sym.__ZN3std3sys7windows1c19NtWaitForKeyedEvent4load17haea24eb5ac88c675E_16]
lea ecx, [esp + 0x70]
push ecx
push 0
push esi
mov edi, dword [esp + 0x2c]
push edi
call eax
xchg byte [esi], bl
test eax, eax
je 0x42ba37
mov eax, ebx
cmp al, 1
jne 0x42ba37
mov eax, dword [sym.__ZN3std3sys7windows1c19NtWaitForKeyedEvent4load17haea24eb5ac88c675E_16]
push 0
push 0
push esi
push edi
call eax
mov ecx, dword [esp + 0x44]
lock dec dword [ecx]
jne 0x42ba45
call sym.alloc::sync::Arc_LT_T_GT_::drop_slow::he4a7ffeee74a66a7
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x78], 0x4c4368
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x90], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_i32_GT_::fmt::hee83d75e8167e050
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 1
lea eax, [esp + 0x70]
push 0x4c43a0
push eax
call sym.core::panicking::panic_fmt::h1507d830b31d322e
add esp, 8
jmp 0x42bac4
ud2