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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov ebx, dword [edi]
mov eax, dword [edi + 4]
xor esi, esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
mov dword [esp + 4], eax
jmp 0x412fee
call sym.std::thread::yield_now::hdafb50a92cf21c74
mov ebx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
inc esi
add dword [esp + 0x20], ecx
add ecx, 2
mov dword [esp + 4], eax
mov dword [esp + 0x24], ecx
cmp esi, 6
mov ecx, 6
mov eax, ebx
cmovb ecx, esi
shr eax, 1
mov edx, eax
and edx, 0x1f
cmp edx, 0x1f
jne 0x413030
cmp esi, 6
ja 0x412fd0
test esi, esi
je 0x412fd5
mov eax, dword [esp + 0x20]
nop word cs:[eax + eax]
nop
pause
dec eax
jne 0x413020
jmp 0x412fd5
mov dword [esp + 0x3c], eax
mov eax, ebx
add ebx, 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov ebx, eax
test bl, 1
jne 0x4130b0
mfence
mov edx, dword [edi + 0x40]
mov ebx, edx
shr ebx, 1
cmp dword [esp + 0x3c], ebx
je 0x4130f0
xor edx, eax
mov edi, dword [esp + 0x10]
mov ebx, eax
mov eax, edx
xor edx, edx
cmp eax, 0x40
setae dl
or edi, edx
mov edx, edi
mov edi, dword [ebp + 8]
cmp dword [esp + 4], 0
jne 0x4130bb
cmp esi, 6
ja 0x412fd0
test esi, esi
je 0x412fd5
mov eax, dword [esp + 0x20]
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec eax
jne 0x4130a0
jmp 0x412fd5
mov edx, dword [esp + 0x10]
cmp dword [esp + 4], 0
je 0x41307c
mov eax, ebx
lock cmpxchg dword [edi], edx
je 0x41323e
cmp esi, 6
mov eax, 6
cmovb eax, esi
test eax, eax
je 0x412fd5
imul ecx, ecx
nop dword [eax]
pause
dec ecx
jne 0x4130e0
jmp 0x412fd5
test dl, 1
jne 0x413917
mov esi, dword [esp + 0x30]
cmp esi, 0x3b9aca00
je 0x413136
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dbg.now
mov dword [esp + 4], ecx
cmp eax, edi
mov ecx, edx
sbb ecx, ebx
jb 0x413136
xor eax, edi
xor edx, ebx
xor ecx, ecx
or edx, eax
jne 0x4138b8
cmp dword [esp + 4], esi
jae 0x4138b8
push 0
call sym.std::sync::mpmc::context::Context::with::CONTEXT::__getit::hb6a0f51eea2bca64
add esp, 4
test eax, eax
je 0x4131b0
mov ebx, dword [eax]
mov edi, eax
mov dword [eax], 0
test ebx, ebx
je 0x4131f7
lea eax, [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
lea esi, [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
mov edx, ebx
call sym.std::sync::mpmc::list::Channel_LT_T_GT_::recv::__u7b__u7b_closure_u7d__u7d_::h212da7de442a9e62
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x14], eax
mov dword [edi], ebx
je 0x4131a8
lock dec dword [eax]
jne 0x4131a8
lea eax, [esp + 0x14]
push eax
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::haa83f8ccf9e13283
add esp, 4
mov edi, dword [ebp + 8]
jmp 0x412fa4
call sym.std::sync::mpmc::context::Context::new::h03ba54ad00ede1fc
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x40]
mov edi, eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
lea esi, [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
mov edx, edi
call sym.std::sync::mpmc::list::Channel_LT_T_GT_::recv::__u7b__u7b_closure_u7d__u7d_::h212da7de442a9e62
lock dec dword [edi]
jne 0x4131ef
lea eax, [esp + 8]
push eax
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::haa83f8ccf9e13283
add esp, 4
mov edi, dword [ebp + 8]
jmp 0x412fa4
call sym.std::sync::mpmc::context::Context::new::h03ba54ad00ede1fc
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x40]
mov edi, eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
lea esi, [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
mov edx, edi
call sym.std::sync::mpmc::list::Channel_LT_T_GT_::recv::__u7b__u7b_closure_u7d__u7d_::h212da7de442a9e62
lock dec dword [edi]
jne 0x413236
lea eax, [esp + 8]
push eax
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::haa83f8ccf9e13283
add esp, 4
mov edi, dword [ebp + 8]
jmp 0x412fa4
mov eax, dword [esp + 0xc]
cmp eax, 0x1e
jne 0x413274
mov eax, dword [esp + 4]
mov eax, dword [eax]
test eax, eax
je 0x4138c2
mov ecx, dword [eax]
and edx, 0xfffffffe
mov esi, edx
xor edx, edx
test ecx, ecx
setne dl
lea ecx, [esi + edx + 2]
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, 0x1e
mov dword [esi], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
mov eax, dword [ecx + eax*4 + 4]
test al, 1
jne 0x4132d7
mov esi, 1
xor ebx, ebx
xor edi, edi
jmp 0x4132bb
call sym.std::thread::yield_now::hdafb50a92cf21c74
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
add ebx, esi
inc edi
add esi, 2
mov eax, dword [ecx + eax*4 + 4]
test al, 1
jne 0x4132d7
cmp edi, 7
jae 0x4132a0
test edi, edi
je 0x4132a5
mov eax, ebx
nop word cs:[eax + eax]
pause
dec eax
jne 0x4132d0
jmp 0x4132a5
mov esi, dword [esp + 0xc]
lea edx, [esi + 1]
cmp edx, 0x1f
jne 0x413844
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
test al, 2
jne 0x413316
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 4]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 4], ecx
jne 0x413300
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
test al, 2
jne 0x413346
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 8]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 8], ecx
jne 0x413330
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
test al, 2
jne 0x413376
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0xc], ecx
jne 0x413360
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
test al, 2
jne 0x4133a6
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x10]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x10], ecx
jne 0x413390
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
test al, 2
jne 0x4133d6
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x14]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x14], ecx
jne 0x4133c0
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x18]
test al, 2
jne 0x413406
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x18]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x18], ecx
jne 0x4133f0
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x1c]
test al, 2
jne 0x413436
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x1c]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x1c], ecx
jne 0x413420
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x20]
test al, 2
jne 0x413466
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x20]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x20], ecx
jne 0x413450
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x24]
test al, 2
jne 0x413496
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x24]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x24], ecx
jne 0x413480
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x28]
test al, 2
jne 0x4134c6
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x28]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x28], ecx
jne 0x4134b0
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x2c]
test al, 2
jne 0x4134f6
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x2c]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x2c], ecx
jne 0x4134e0
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x30]
test al, 2
jne 0x413526
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x30]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x30], ecx
jne 0x413510
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x34]
test al, 2
jne 0x413556
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x34]
nop dword [eax]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x34], ecx
jne 0x413540
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x38]
test al, 2
jne 0x413582
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x38]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x38], ecx
jne 0x41356c
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
test al, 2
jne 0x4135ae
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x3c]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x3c], ecx
jne 0x413598
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x40]
test al, 2
jne 0x4135da
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x40]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x40], ecx
jne 0x4135c4
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x44]
test al, 2
jne 0x413606
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x44]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x44], ecx
jne 0x4135f0
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x48]
test al, 2
jne 0x413632
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x48]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x48], ecx
jne 0x41361c
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x4c]
test al, 2
jne 0x41365e
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x4c]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x4c], ecx
jne 0x413648
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x50]
test al, 2
jne 0x41368a
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x50]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x50], ecx
jne 0x413674
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x54]
test al, 2
jne 0x4136b6
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x54]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x54], ecx
jne 0x4136a0
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x58]
test al, 2
jne 0x4136e2
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x58]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x58], ecx
jne 0x4136cc
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x5c]
test al, 2
jne 0x41370e
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x5c]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x5c], ecx
jne 0x4136f8
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x60]
test al, 2
jne 0x41373a
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x60]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x60], ecx
jne 0x413724
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x64]
test al, 2
jne 0x413766
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x64]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x64], ecx
jne 0x413750
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x68]
test al, 2
jne 0x413792
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x68]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x68], ecx
jne 0x41377c
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x6c]
test al, 2
jne 0x4137be
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x6c]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x6c], ecx
jne 0x4137a8
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x70]
test al, 2
jne 0x4137ea
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x70]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x70], ecx
jne 0x4137d4
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x74]
test al, 2
jne 0x413816
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x74]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x74], ecx
jne 0x413800
mov cl, 2
test al, 2
je 0x4138b8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x78]
test al, 2
jne 0x4138a3
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0x78]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [edx + 0x78], ecx
jne 0x413830
mov cl, 2
test al, 2
jne 0x4138a3
jmp 0x4138b8
mov eax, dword [esp + 4]
mov edi, dword [esp + 4]
mov eax, dword [eax + esi*4 + 4]
mov ecx, eax
or ecx, 2
lock cmpxchg dword [edi + esi*4 + 4], ecx
jne 0x413850
mov cl, 2
test al, 4
je 0x4138b8
cmp dword [esp + 0xc], 0x1c
ja 0x4138a3
mov edi, dword [esp + 4]
jmp 0x413876
inc edx
cmp edx, 0x1e
je 0x4138a3
mov eax, dword [esp + 4]
mov eax, dword [eax + edx*4 + 4]
test al, 2
jne 0x413870
mov eax, dword [esp + 4]
mov eax, dword [eax + edx*4 + 4]
nop word [eax + eax]
mov esi, eax
or esi, 4
lock cmpxchg dword [edi + edx*4 + 4], esi
jne 0x413890
test al, 2
jne 0x413870
jmp 0x4138b8
push 4
push pe_nt_image_headers32
push dword [esp + 0xc]
call sym.___rust_dealloc
add esp, 0xc
mov cl, 2
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, 1
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x10], edx
jmp 0x4138fd
call sym.std::thread::yield_now::hdafb50a92cf21c74
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
add ebx, esi
inc edi
add esi, 2
mov eax, dword [eax]
test eax, eax
jne 0x413255
cmp edi, 7
jae 0x4138e0
test edi, edi
je 0x4138e9
mov eax, ebx
nop dword [eax + eax]
pause
dec eax
jne 0x413910
jmp 0x4138e9
mov cl, 1
jmp 0x4138b8