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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
test ecx, ecx
mov edi, edx
mov dword [esp + 8], edx
je 0x5daf68
cmp ecx, 1
jne 0x5db1a3
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
test al, 1
jne 0x5db2d9
xor edx, edx
xor esi, esi
mov dword [esp + 0xc], esi
mov esi, edx
lea edi, [edx + edx + 1]
imul esi, edx
mov ebx, eax
shr ebx, 1
and ebx, 0x1f
cmp ebx, 0x1f
jne 0x5dae46
cmp edx, 7
jae 0x5dae21
test edx, edx
je 0x5dae2b
mov eax, esi
pause
dec eax
jne 0x5dae1a
jmp 0x5dae2b
mov ebx, edx
call dword [sym.imp.kernel32.dll_SwitchToThread]
mov edx, ebx
mov eax, dword [esp + 8]
add esi, edi
inc edx
add edi, 2
mov ebx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov eax, ebx
test al, 1
je 0x5dae03
jmp 0x5db286
cmp ebx, 0x1e
jne 0x5dae97
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x5dae9b
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov esi, edx
mov ecx, 0x178
mov edx, 4
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x5db61e
mov edi, eax
push 0x178
push 0
push eax
call fcn.0064ad90
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, esi
jmp 0x5dae9b
mov edi, dword [esp + 0xc]
test ecx, ecx
jne 0x5daeef
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov ecx, 0x178
mov edx, 4
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x5db61e
push 0x178
push 0
push eax
mov esi, eax
call fcn.0064ad90
mov ecx, esi
add esp, 0xc
mov edx, dword [esp + 8]
xor eax, eax
lock cmpxchg dword [edx + 0x44], esi
jne 0x5daf45
mov dword [edx + 4], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
lea ecx, [eax + 2]
mov esi, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x10]
lock cmpxchg dword [ecx + 0x40], edi
je 0x5db57e
cmp edx, 6
mov eax, 6
cmovb eax, edx
test eax, eax
je 0x5daf31
cmp edx, 6
mov eax, 6
cmovb eax, edx
imul eax, eax
pause
dec eax
jne 0x5daf2c
inc edx
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
test al, 1
je 0x5dadf6
jmp 0x5db28a
test edi, edi
je 0x5daf5c
push edi
push 0
push dword [0x8032a8]
mov esi, ecx
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x5daf5e
mov esi, ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5daf32
lea eax, [esp + 0x70]
lea ecx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [eax + 8], 0x3b9aca00
movaps xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x88]
test eax, edx
jne 0x5db26f
xor ebx, ebx
xor esi, esi
xor ecx, ecx
inc esi
mov dword [esp + 0xc], ebx
cmp ecx, 6
mov ebx, 6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmovb ebx, ecx
xor ecx, ecx
dec eax
sub ecx, dword [edi + 0x84]
and eax, edx
imul ebx, ebx
lea esi, [eax + eax*2]
mov dword [esp + 0x84], esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0xd4]
mov dword [esp + 0x88], ecx
mov edi, dword [ecx + esi*4 + 8]
cmp edx, edi
jne 0x5daff6
mov edi, dword [esp + 8]
inc eax
cmp eax, dword [edi + 0x80]
jae 0x5db036
lea esi, [edx + 1]
jmp 0x5db042
mov ecx, dword [esp + 8]
lea eax, [edx + 1]
add edi, dword [ecx + 0x84]
cmp edi, eax
jne 0x5db069
mfence
mov eax, dword [ecx]
mov esi, dword [esp + 0x10]
add eax, dword [ecx + 0x84]
cmp eax, edx
je 0x5db0b5
cmp esi, 6
mov eax, 6
mov edi, ecx
cmovb eax, esi
test eax, eax
je 0x5db08f
pause
dec ebx
jne 0x5db02f
jmp 0x5db08f
mov esi, dword [esp + 0x4c]
and esi, edx
add esi, dword [edi + 0x84]
mov eax, edx
lock cmpxchg dword [edi + 0x40], esi
je 0x5db2ed
mov esi, dword [esp + 0x10]
mov eax, 6
cmp esi, 6
cmovb eax, esi
test eax, eax
je 0x5db08f
pause
dec ebx
jne 0x5db062
jmp 0x5db08f
mov esi, dword [esp + 0x10]
cmp esi, 7
jae 0x5db085
mov edi, dword [esp + 8]
test esi, esi
je 0x5db08f
mov eax, dword [esp + 0xc]
pause
dec eax
jne 0x5db07e
jmp 0x5db08f
call dword [sym.imp.kernel32.dll_SwitchToThread]
mov edi, dword [esp + 8]
inc esi
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x88]
mov ebx, dword [esp + 0xc]
mov ecx, esi
mov esi, dword [esp + 0x14]
add ebx, esi
add esi, 2
test eax, edx
je 0x5daf9c
jmp 0x5db26f
mov eax, dword [esp + 0x78]
cmp eax, 0x3b9aca00
je 0x5db0ff
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], eax
call fcn.005a62b0
cmp eax, esi
mov edi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
sbb edx, ebx
mov edx, dword [esp + 0xc]
jb 0x5db0ff
xor eax, dword [esp + 0x10]
xor edi, ebx
mov ecx, ebx
or edi, eax
jne 0x5db5b0
cmp dword [esp + 0x14], edx
jae 0x5db5b0
call fcn.005c1160
test eax, eax
je 0x5db16a
mov edi, dword [eax]
mov ebx, eax
mov dword [eax], 0
test edi, edi
je 0x5db16a
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x70]
mov edx, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x38]
mov edx, edi
call fcn.005e3e49
mov eax, dword [ebx]
mov dword [ebx], edi
test eax, eax
mov dword [esp + 0x38], eax
je 0x5db161
lock dec dword [eax]
jne 0x5db161
lea ecx, [esp + 0x38]
call fcn.005c3678
mov edi, dword [esp + 8]
jmp 0x5daf84
call fcn.0065a2d0
mov edx, dword [esp + 8]
lea ecx, [esp + 0x50]
mov edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x38]
mov edx, edi
call fcn.005e3e49
lock dec dword [edi]
jne 0x5db161
lea ecx, [esp + 0x28]
jmp 0x5db15c
add edi, 8
lea ebx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0x3b9aca00
mov dword [esp + 0x80], 0
mov ecx, ebx
mov edx, edi
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 8], edi
call fcn.005f8836
cmp dword [ebx], 0
jne 0x5db5c6
mov eax, dword [esp + 0x54]
mov cl, byte [esp + 0x58]
mov esi, dword [eax + 0x28]
mov byte [esp + 0x14], cl
mov dword [esp + 0x10], eax
test esi, esi
je 0x5db23e
call fcn.005bcbb0
test eax, eax
je 0x5db5ff
mov ecx, eax
mov eax, dword [esp + 0x10]
shl esi, 2
lea edi, [esi + esi*2]
xor esi, esi
mov dword [esp + 0xc], ecx
add eax, 0x20
mov edx, dword [eax]
mov dword [esp + 0x4c], eax
mov ebx, dword [edx]
cmp dword [ebx + 0x14], ecx
je 0x5db235
mov ecx, dword [edx + 4]
xor eax, eax
lock cmpxchg dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0xc]
je 0x5db41c
add edx, 0xc
inc esi
add edi, 0xfffffff4
jne 0x5db21a
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x38], 0
je 0x5db32d
mov ecx, dword [ebp + 8]
movzx edx, byte [esp + 0x14]
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ecx, esi
call fcn.005aa9d0
jmp 0x5db3f9
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
xor eax, eax
inc eax
jmp 0x5db3fd
mov esi, dword [esp + 0xc]
xor ebx, ebx
xor ecx, ecx
test esi, esi
je 0x5db2a5
push esi
push 0
push dword [0x8032a8]
mov esi, ecx
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, esi
test ecx, ecx
je 0x5db2d9
lea eax, [ebx + ebx*2]
mov edx, ecx
mov dword [ecx + eax*4 + 4], 1
mov ecx, dword [ebp + 8]
mov dword [edx + eax*4 + 8], ecx
lock or dword [edx + eax*4 + 0xc], 1
mov ecx, dword [esp + 8]
sub ecx, 0xffffff80
call fcn.005e16a0
mov eax, 2
jmp 0x5db414
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
jmp 0x5db40a
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov ecx, dword [ebp + 8]
inc edx
add edi, 0xb0
lea eax, [eax + esi*4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [eax], 1
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax + 8], edx
call fcn.005e16a0
mov eax, 2
jmp 0x5db3fd
call fcn.005c1160
test eax, eax
je 0x5db4b6
mov esi, dword [eax]
mov ebx, eax
mov dword [eax], 0
test esi, esi
je 0x5db51c
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea edi, [esp + 0x50]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x38]
mov dword [edi], 1
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 8], eax
mov al, byte [esp + 0x14]
mov byte [edi + 0xc], al
movzx eax, word [esp + 0x35]
mov word [edi + 0xd], ax
mov al, byte [esp + 0x37]
mov byte [edi + 0xf], al
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [edi + 0x14], edx
mov edx, edi
mov dword [edi + 0x18], ecx
lea ecx, [esp + 0x28]
push esi
call fcn.005e4a14
add esp, 4
mov eax, dword [ebx]
mov dword [ebx], esi
test eax, eax
mov dword [edi], eax
je 0x5db3c4
lock dec dword [eax]
jne 0x5db3c4
lea ecx, [esp + 0x50]
call fcn.005c3678
movsd xmm0, qword [esp + 0x28]
mov eax, dword [esp + 0x30]
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
cmp eax, 3
je 0x5db62f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x5db414
test eax, eax
je 0x5db5ee
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5db414
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edx + 8]
test eax, eax
je 0x5db426
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 8]
add ecx, 0x18
call fcn.005c0ef0
mov edx, dword [esp + 0x4c]
lea edi, [esp + 0x28]
mov ecx, edi
push 0x7f4a34
push esi
call fcn.006146f6
add esp, 8
cmp dword [edi], 0
je 0x5db23e
mov esi, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movzx edx, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x58], esi
mov dword [esp + 0x80], esi
call fcn.005aa9d0
test esi, esi
je 0x5db649
mov eax, dword [ebp + 8]
mov dword [esi], 1
mov dword [esi + 4], eax
mov byte [esi + 8], 1
mov dword [esp + 0x18], 2
mov eax, dword [esp + 0x50]
lock dec dword [eax]
jne 0x5db3f9
lea ecx, [esp + 0x50]
call fcn.005c3678
jmp 0x5db3f9
call fcn.0065a2d0
mov edi, eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x50]
mov bl, byte [esp + 0x37]
lea ecx, [esp + 0x70]
mov dword [edx], 1
mov dword [esp + 0x28], edi
mov dword [edx + 4], eax
mov al, byte [esp + 0x14]
mov dword [edx + 8], esi
lea esi, [esp + 0x38]
mov byte [edx + 0xc], al
movzx eax, word [esp + 0x35]
mov byte [edx + 0xf], bl
mov word [edx + 0xd], ax
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 0x14], esi
mov dword [edx + 0x18], ecx
lea ecx, [esp + 0x18]
push edi
call fcn.005e4a14
add esp, 4
lock dec dword [edi]
jne 0x5db3f9
lea ecx, [esp + 0x28]
jmp 0x5db4ac
call fcn.0065a2d0
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
mov bl, byte [esp + 0x14]
lea edx, [esp + 0x50]
mov edi, eax
mov dword [edx], 1
mov dword [esp + 0x28], edi
mov dword [edx + 4], ecx
lea ecx, [esp + 0x70]
mov dword [edx + 8], esi
mov byte [edx + 0xc], bl
lea esi, [esp + 0x38]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 0x14], esi
mov dword [edx + 0x18], ecx
lea ecx, [esp + 0x18]
push edi
call fcn.005e4a14
add esp, 4
lock dec dword [edi]
jne 0x5db3d8
lea ecx, [esp + 0x28]
call fcn.005c3678
jmp 0x5db3d8
cmp ebx, 0x1e
jne 0x5db5a7
mov ecx, dword [esp + 0xc]
test esi, esi
je 0x5db662
mov eax, dword [esp + 8]
mov ebx, 0x1e
mov dword [eax + 0x44], esi
lock add dword [eax + 0x40], 2
mov dword [ecx], esi
jmp 0x5db2a9
mov ecx, dword [esp + 0xc]
jmp 0x5db28e
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5db3fd
mov eax, dword [esp + 0x54]
mov cl, byte [esp + 0x58]
lea esi, [esp + 0x28]
mov edx, 0x2b
mov dword [esi], eax
mov byte [esi + 4], cl
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x7f4814
push 0x7c4bb8
push esi
jmp 0x5db614
mov ecx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmcmod.rs
mov edx, 0x28
push 0x7f4664
jmp 0x5db658
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadlocal.rs
mov edx, 0x46
push 0x7f49d0
push 0x7c4ac8
push ebx
call fcn.006525c0
add esp, 0xc
ud2
mov ecx, 4
mov edx, 0x178
call fcn.00651860
ud2
call fcn.0065a2d0
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
mov dword [esp + 0x28], eax
push 0x7f4ae8
jmp 0x5db658
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7f4824
call fcn.006522d0
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7f46f0
jmp 0x5db658