Function at 0x5e1e4e
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
mov edi, dword [ebp + 8]
mov cl, 1
mov esi, dword [edi + 8]
lea eax, [esi + 8]
mov dword [esp + 4], eax
xor eax, eax
lock cmpxchg byte [esi + 8], cl
jne 0x5e257b
mov bl, byte [esi + 0x2d]
cmp byte [edi + 0x10], 0
mov eax, dword [edi + 0xc]
lea edi, [esp + 0x80]
sete cl
mov edx, ebx
and dl, 0xfd
add cl, cl
or cl, dl
mov byte [esi + 0x2d], cl
movzx edx, cl
mov ecx, edi
push eax
call fcn.005cd9f0
add esp, 4
cmp byte [edi], 4
jne 0x5e1eb1
mov edi, dword [ebp + 8]
jmp 0x5e1ec9
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edi, dword [ebp + 8]
mov byte [esi + 0x2d], bl
cmp al, 4
jne 0x5e1ed0
xor ebx, ebx
jmp 0x5e1f5b
lea esi, [esp + 0x20]
mov dword [esi], eax
mov dword [esi + 4], ecx
lea eax, [esp + 0x58]
xor ecx, ecx
mov dword [eax], 1
mov dword [eax + 4], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x90], 0x20
mov byte [esp + 0xa0], 3
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], eax
mov dword [eax + 8], ecx
lea eax, [esp + 0x80]
mov dword [esp + 0x98], 0x7c4a74
push eax
push esi
call fcn.005aafa0
add esp, 8
test al, al
jne 0x5e27d6
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
push esi
call fcn.0042fae4
add esp, 4
mov ecx, dword [esp + 4]
xor edx, edx
mov al, 1
lock cmpxchg byte [ecx], dl
jne 0x5e2589
mov eax, dword [edi]
test eax, eax
je 0x5e20db
cmp eax, 1
jne 0x5e236f
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x40]
mov esi, dword [ecx + 0x44]
test al, 1
jne 0x5e24d3
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
mov edi, eax
shr edi, 1
and edi, 0x1f
cmp edi, 0x1f
jne 0x5e1fe5
cmp ebx, 6
ja 0x5e1fc6
xor eax, eax
inc eax
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5e1fb7
jmp 0x5e1fcc
call dword [sym.imp.kernel32.dll_SwitchToThread]
mov ecx, dword [esp + 4]
cmp ebx, 0xb
adc ebx, 0
mov eax, dword [ecx + 0x40]
mov esi, dword [ecx + 0x44]
test al, 1
je 0x5e1fa3
jmp 0x5e2483
cmp edi, 0x1e
jne 0x5e202d
cmp dword [esp + 0xc], 0
jne 0x5e202d
mov dword [esp + 0x14], eax
mov ecx, 0x1f4
mov edx, 4
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x5e281f
push 0x1f4
push 0
mov dword [esp + 0x14], eax
push eax
call fcn.0064ad90
add esp, 0xc
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
test esi, esi
jne 0x5e2077
mov dword [esp + 0x14], eax
mov ecx, 0x1f4
mov edx, 4
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x5e281f
mov esi, eax
push 0x1f4
push 0
push eax
call fcn.0064ad90
add esp, 0xc
mov ecx, dword [esp + 4]
xor eax, eax
lock cmpxchg dword [ecx + 0x44], esi
jne 0x5e20b4
mov dword [ecx + 4], esi
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
lock cmpxchg dword [ecx + 0x40], edx
je 0x5e2722
mov esi, dword [ecx + 0x44]
cmp ebx, 6
mov ecx, 6
mov edi, eax
cmovb ecx, ebx
xor eax, eax
inc eax
mov edx, eax
pause
inc eax
shr edx, cl
test edx, edx
je 0x5e2098
mov ecx, dword [esp + 4]
cmp ebx, 7
mov eax, edi
adc ebx, 0
jmp 0x5e1fdc
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5e20cf
push eax
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x40]
mov dword [esp + 0xc], esi
jmp 0x5e1fd9
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x58]
lea edx, [esp + 0x80]
mov dword [esp + 8], ebx
mov dword [esp + 0x78], 0
mov dword [ecx], eax
mov eax, 0x3b9aca00
mov dword [esi + 8], eax
xor esi, esi
mov dword [esp + 0x88], eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0x98], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xb0], esi
mov dword [eax], edx
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x88]
test edx, ecx
jne 0x5e2472
xor ebx, ebx
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0xd4]
dec edx
mov dword [esp + 4], ebx
xor edi, edi
and edx, ecx
sub edi, dword [esi + 0x84]
mov ebx, edx
shl ebx, 4
mov dword [esp + 0xc], eax
mov eax, dword [eax + ebx]
cmp ecx, eax
jne 0x5e2192
inc edx
cmp edx, dword [esi + 0x80]
jae 0x5e21d4
lea edi, [ecx + 1]
jmp 0x5e21dc
add eax, dword [esi + 0x84]
lea edx, [ecx + 1]
cmp eax, edx
jne 0x5e220f
mfence
mov eax, dword [esi]
mov ebx, dword [esp + 4]
add eax, dword [esi + 0x84]
cmp eax, ecx
je 0x5e2253
cmp ebx, 6
mov ecx, 6
cmovb ecx, ebx
xor eax, eax
inc eax
mov edx, eax
pause
inc eax
shr edx, cl
test edx, edx
je 0x5e21c4
cmp ebx, 7
jmp 0x5e2233
and edi, ecx
add edi, dword [esi + 0x84]
mov eax, ecx
lock cmpxchg dword [esi + 0x40], edi
je 0x5e2518
mov ebx, dword [esp + 4]
mov ecx, 6
cmp ebx, 6
cmovb ecx, ebx
xor edx, edx
inc edx
mov esi, edx
pause
inc edx
shr esi, cl
test esi, esi
je 0x5e21fb
mov esi, dword [esp + 0x14]
cmp ebx, 7
jmp 0x5e2236
mov ebx, dword [esp + 4]
cmp ebx, 6
ja 0x5e222a
xor eax, eax
inc eax
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5e221b
jmp 0x5e2230
call dword [sym.imp.kernel32.dll_SwitchToThread]
cmp ebx, 0xb
mov eax, dword [esi + 0x40]
setb cl
mov edx, dword [esi + 0x88]
movzx ecx, cl
add ebx, ecx
mov ecx, eax
test edx, eax
je 0x5e215f
jmp 0x5e2472
mov ebx, dword [esp + 0x78]
cmp ebx, 0xb
jne 0x5e2329
mov eax, dword [esp + 0x60]
cmp eax, 0x3b9aca00
je 0x5e22aa
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.005a62b0
cmp eax, esi
mov edi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
sbb edx, ebx
mov edx, dword [esp + 4]
jb 0x5e22aa
xor eax, dword [esp + 0xc]
xor edi, ebx
mov ecx, ebx
or edi, eax
jne 0x5e2786
cmp dword [esp + 0x14], edx
jae 0x5e2786
lea eax, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x28], eax
call fcn.004aeb14
test eax, eax
je 0x5e2350
mov esi, dword [eax]
mov edi, eax
mov dword [eax], 0
test esi, esi
je 0x5e2350
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc0]
mov dword [esp + 0xc0], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.005d0bdf
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
mov dword [esp + 0x38], eax
je 0x5e231c
lock dec dword [eax]
jne 0x5e231c
lea ecx, [esp + 0x38]
call fcn.004ae9ee
mov dword [esp + 0x78], 0
jmp 0x5e213c
cmp ebx, 6
ja 0x5e2340
xor eax, eax
inc eax
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5e2331
jmp 0x5e2346
call dword [sym.imp.kernel32.dll_SwitchToThread]
inc ebx
mov dword [esp + 0x78], ebx
jmp 0x5e213c
call fcn.00652908
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
mov edi, eax
mov dword [esp + 0x38], eax
call fcn.005d0bdf
lock dec dword [edi]
je 0x5e2313
jmp 0x5e231c
mov edx, dword [edi + 4]
mov eax, 0x3b9aca00
lea esi, [esp + 0x58]
xor edi, edi
mov dword [esp + 8], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0x98], eax
lea eax, [esp + 0x80]
mov ecx, esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x1c], eax
add edx, 8
mov dword [esp + 0xbc], edx
call fcn.005f8836
cmp dword [esi], edi
jne 0x5e279d
mov edi, dword [esp + 0x5c]
mov bl, byte [esp + 0x60]
lea esi, [esp + 0x20]
mov ecx, esi
lea edx, [edi + 0x20]
call fcn.0041ed14
cmp dword [esi], 0
je 0x5e24e4
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
movzx edx, bl
mov ecx, edi
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], eax
mov dword [esp + 0xb0], eax
call fcn.005aa9d0
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x5e27f9
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [eax], 1
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov byte [eax + 0x10], 1
mov dword [esp + 0x48], 2
mov eax, dword [esp + 0x58]
lock dec dword [eax]
jne 0x5e26b6
lea ecx, [esp + 0x58]
call fcn.004ae9ee
jmp 0x5e26b6
mov ecx, dword [esp + 0x7c]
xor eax, eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
jmp 0x5e2529
xor edi, edi
xor esi, esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test eax, eax
je 0x5e24a6
push eax
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 4]
test esi, esi
je 0x5e24d3
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
shl edi, 4
sub ecx, 0xffffff80
mov dword [esi + edi], ebx
mov dword [esi + edi + 4], eax
mov dword [esi + edi + 8], edx
lock or dword [esi + edi + 0xc], 1
call fcn.005d0a9b
jmp 0x5e26e5
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
jmp 0x5e26c7
cmp byte [edi + 0x38], 0
je 0x5e2593
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
movzx edx, bl
mov ecx, edi
mov dword [esp + 0x48], 1
jmp 0x5e26b1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
inc ecx
add edx, ebx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5e2567
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], esi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], edi
add ecx, 0xb0
mov eax, dword [eax + 0x24]
mov dword [edx], eax
call fcn.005d0a9b
mov eax, 2
jmp 0x5e26ba
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
xor eax, eax
inc eax
jmp 0x5e26ba
mov ecx, dword [esp + 4]
call fcn.0065481c
jmp 0x5e1e79
call fcn.006545f5
jmp 0x5e1f6d
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x68], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
mov byte [esp + 0x74], bl
call fcn.004aeb14
test eax, eax
je 0x5e26ed
mov ebx, dword [eax]
mov edi, eax
mov dword [eax], 0
test ebx, ebx
je 0x5e2753
lea eax, [esp + 0x34]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x58]
mov dword [eax], ebx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
push eax
call fcn.005d0e50
add esp, 4
mov eax, dword [edi]
mov dword [edi], ebx
test eax, eax
mov dword [esp + 0x38], eax
je 0x5e262f
lock dec dword [eax]
jne 0x5e262f
lea ecx, [esp + 0x38]
call fcn.004ae9ee
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x40], xmm1
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
cmp eax, 3
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x28], ecx
je 0x5e26ed
mov dword [esp + 0x48], eax
movsd xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
movsd qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x74]
cmp al, 2
je 0x5e26b6
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x5e26aa
cmp dword [esp + 0x5c], 0
je 0x5e26aa
push ecx
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov al, byte [esp + 0x74]
mov ecx, dword [esp + 0x70]
movzx edx, al
call fcn.005aa9d0
mov eax, dword [esp + 0x48]
cmp eax, 2
je 0x5e26e5
test eax, eax
je 0x5e27c5
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5e26e5
cmp dword [esp + 0x50], 0
je 0x5e26e5
push eax
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00652908
lea edi, [esp + 0x38]
mov esi, eax
lea ecx, [esp + 0x48]
lea edx, [esp + 0x58]
mov dword [edi], esi
push edi
call fcn.005d0e50
add esp, 4
lock dec dword [esi]
jne 0x5e2680
lea ecx, [esp + 0x38]
call fcn.004ae9ee
jmp 0x5e2680
cmp edi, 0x1e
jne 0x5e2487
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test eax, eax
je 0x5e2830
mov dword [ecx + 0x44], eax
mov edi, 0x1e
lock add dword [ecx + 0x40], 2
mov dword [esi + 0x1f0], eax
jmp 0x5e24a6
call fcn.00652908
mov edi, eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x58]
push esi
call fcn.005d0e50
add esp, 4
lock dec dword [edi]
jne 0x5e2647
lea ecx, [esp + 0x20]
call fcn.004ae9ee
jmp 0x5e2647
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
xor eax, eax
jmp 0x5e26ba
mov eax, dword [esp + 0x5c]
mov cl, byte [esp + 0x60]
lea esi, [esp + 0x20]
mov edx, 0x2b
mov dword [esi], eax
mov byte [esi + 4], cl
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x7c4080
push 0x7c4b38
push esi
jmp 0x5e27ef
mov ecx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmcmod.rs
mov edx, 0x28
push 0x7c3e28
jmp 0x5e2815
mov ecx, str.a_Display_implementation_returned_an_error_unexpectedly_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_string.rs
mov edx, 0x37
lea eax, [esp + 0x38]
push 0x7f4d0c
push 0x7c4b08
push eax
call fcn.006525c0
add esp, 0xc
ud2
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
call fcn.005ce26b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7c4090
call fcn.006522d0
add esp, 4
ud2
mov ecx, 4
mov edx, 0x1f4
call fcn.00651860
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7c3f40
jmp 0x5e2815