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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, dword [ecx + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword [ecx + 0xc]
lock inc dword [esi]
jle 0x5df2c1
mov dword [esp + 0xc], eax
mov ecx, 0x100
mov edx, 0x40
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x5df2c5
movaps xmm0, xmmword [0x6616f0]
mov ebx, eax
xor eax, eax
xor ecx, ecx
lea edi, [esp + 0x48]
inc ecx
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x80], eax
mov byte [ebx + 0x84], al
mov dword [ebx + 0x88], 4
mov dword [ebx + 0x8c], eax
movaps xmmword [ebx + 0x90], xmm0
mov byte [ebx + 0xa0], 1
mov dword [ebx + 0xc0], ecx
mov dword [ebx + 0xc4], ecx
mov byte [ebx + 0xc8], al
mov eax, dword [esp + 0xc]
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
mov eax, dword [esp + 8]
mov byte [edi + 0x10], al
mov dword [edi], ecx
mov dword [edi + 4], ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ebx
cmp dword [ecx + 0x10], eax
jne 0x5ded60
mov esi, ebx
push edi
call fcn.005e1e4e
add esp, 4
push edi
call fcn.005e2841
add esp, 4
jmp 0x5dede5
mov al, byte [0x803894]
mov ecx, 0x14
mov edx, 4
call fcn.004889b0
test eax, eax
je 0x5df2f9
mov ebx, eax
mov eax, dword [esp + 0x58]
mov ecx, 8
mov edx, 4
mov dword [ebx + 0x10], eax
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x5df305
mov dword [eax], ebx
mov edi, eax
mov dword [eax + 4], 0x7c4544
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x14]
call fcn.005c27df
push 0
push edi
push dword [eax]
push esi
call dword [sym.imp.user32.dll_PostMessageW]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x5df316
lea ecx, [esp + 0x34]
mov eax, esi
mov ebx, 0x3b9aca00
xor edx, edx
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [ecx], esi
lea ecx, [esp + 0x70]
add eax, 0xc4
mov dword [esp + 0x50], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x30], edx
mov dword [edi], ecx
lea edx, [esi + 0x40]
lea ecx, [esi + 0x88]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
mov dword [esp + 4], ecx
mov ecx, dword [ecx + 4]
mov ebx, eax
shr ebx, 1
mov edx, ebx
and edx, 0x1f
cmp edx, 0x1f
jne 0x5dee7e
mov ebx, edi
cmp edi, 6
ja 0x5def1e
xor eax, eax
inc eax
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5dee6c
jmp 0x5def24
lea esi, [eax + 2]
test al, 1
mov dword [esp + 8], esi
jne 0x5deebd
mov dword [esp + 0xc], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x40], ecx
mfence
mov ecx, dword [edx + 0x40]
mov edx, ecx
shr edx, 1
cmp ebx, edx
je 0x5def3f
xor ecx, eax
xor edx, edx
cmp ecx, 0x40
mov ecx, dword [esp + 0x40]
setae dl
or dword [esp + 8], edx
mov edx, dword [esp + 0xc]
test ecx, ecx
mov ebx, edi
je 0x5def07
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
lock cmpxchg dword [esi], edi
je 0x5df05a
mov ecx, dword [esp + 4]
mov dword [esp + 8], eax
cmp ebx, 6
mov edi, dword [ecx + 4]
mov ecx, 6
cmovb ecx, ebx
xor edx, edx
inc edx
mov eax, edx
pause
inc edx
shr eax, cl
test eax, eax
je 0x5deeee
mov eax, dword [esp + 8]
cmp ebx, 7
mov ecx, edi
setb dl
jmp 0x5def33
cmp ebx, 6
ja 0x5def1e
xor eax, eax
inc eax
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5def0f
jmp 0x5def24
call dword [sym.imp.kernel32.dll_SwitchToThread]
mov ecx, dword [esp + 4]
cmp ebx, 0xb
setb dl
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
movzx edx, dl
add ebx, edx
mov edi, ebx
jmp 0x5dee50
test cl, 1
jne 0x5df2b1
mov ebx, dword [esp + 0x18]
cmp ebx, 0xb
jne 0x5df014
mov eax, dword [esp + 0x50]
cmp eax, 0x3b9aca00
je 0x5def9f
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.005a62b0
cmp eax, esi
mov edi, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
sbb edx, ebx
mov edx, dword [esp + 4]
jb 0x5def9f
xor eax, dword [esp + 8]
xor edi, ebx
mov ecx, ebx
or edi, eax
jne 0x5df342
cmp dword [esp + 0xc], edx
jae 0x5df342
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x28], eax
call fcn.004aeb14
test eax, eax
je 0x5df03b
mov esi, dword [eax]
mov edi, eax
mov dword [eax], 0
test esi, esi
je 0x5df03b
lea ecx, [esp + 0x20]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.005d16e3
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
mov dword [esp + 0x10], eax
je 0x5df007
lock dec dword [eax]
jne 0x5df007
lea ecx, [esp + 0x10]
call fcn.004ae9ee
mov dword [esp + 0x18], 0
jmp 0x5dee39
cmp ebx, 6
ja 0x5df02b
xor eax, eax
inc eax
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5df01c
jmp 0x5df031
call dword [sym.imp.kernel32.dll_SwitchToThread]
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x5dee39
call fcn.00652908
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
mov edi, eax
mov dword [esp + 0x10], eax
call fcn.005d16e3
lock dec dword [edi]
je 0x5deffe
jmp 0x5df007
cmp edx, 0x1e
jne 0x5df08d
mov esi, dword [esp + 4]
mov ebx, ecx
mov dword [esp + 0xc], edx
call fcn.005d1a05
mov ecx, dword [eax + 0x1f0]
and edi, 0xfffffffe
xor edx, edx
mov dword [esi + 4], eax
test ecx, ecx
mov ecx, ebx
setne dl
lea edx, [edi + edx + 2]
mov dword [esi], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x28]
test esi, esi
je 0x5df2d1
mov edi, dword [eax + 0x2c]
mov ebx, edi
shl ebx, 4
lea ecx, [esi + ebx]
call fcn.005d19c3
mov eax, dword [esi + ebx + 8]
inc edi
xor ecx, ecx
cmp edi, 0x1f
mov dword [esp + 0x28], eax
movsd xmm0, qword [esi + ebx]
movsd qword [esp + 0x20], xmm0
jne 0x5df0fc
mov eax, ecx
shl eax, 4
mov edx, dword [esi + eax + 0xc]
test dl, 2
jne 0x5df0f4
lea edx, [esi + eax + 0xc]
mov eax, dword [edx]
mov edi, eax
or edi, 4
lock cmpxchg dword [edx], edi
jne 0x5df0e5
test al, 2
je 0x5df127
inc ecx
cmp ecx, 0x1e
jne 0x5df0d1
jmp 0x5df118
lea ecx, [esi + ebx + 0xc]
mov eax, dword [ecx]
mov edx, eax
or edx, 2
lock cmpxchg dword [ecx], edx
jne 0x5df102
test al, 4
je 0x5df127
cmp edi, 0x1d
mov ecx, edi
jbe 0x5df0d1
push esi
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x64], xmm0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5df151
cmp dword [esp + 0x68], 0
je 0x5df151
push eax
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x3c]
lock dec dword [eax]
mov esi, dword [esp + 0x14]
jne 0x5df2a9
mov eax, dword [esp + 0x30]
lock bts dword [eax], 0
jb 0x5df27c
mov ecx, dword [eax]
xor ebx, ebx
mov eax, ecx
not eax
test al, 0x3e
jne 0x5df1b2
xor ebx, ebx
xor esi, esi
inc esi
cmp ebx, 6
ja 0x5df198
mov eax, esi
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5df189
jmp 0x5df19e
call dword [sym.imp.kernel32.dll_SwitchToThread]
mov eax, dword [esp + 0x30]
cmp ebx, 0xb
adc ebx, 0
mov ecx, dword [eax]
mov eax, ecx
not eax
test al, 0x3e
je 0x5df182
mov eax, dword [esp + 0x14]
shr ecx, 1
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
shr esi, 1
cmp esi, ecx
je 0x5df1fb
test edi, edi
jne 0x5df1fb
cmp ebx, 6
ja 0x5df1e6
xor eax, eax
inc eax
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x5df1d7
jmp 0x5df1ec
call dword [sym.imp.kernel32.dll_SwitchToThread]
mov eax, dword [esp + 0x14]
cmp ebx, 0xb
adc ebx, 0
mov edi, dword [eax + 4]
jmp 0x5df1cb
cmp esi, dword [esp + 8]
je 0x5df255
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
and esi, 0x1f
cmp esi, 0x1f
jne 0x5df22b
mov ecx, edi
call fcn.005d1a05
mov esi, dword [edi + 0x1f0]
push edi
push 0
push dword [0x8032a8]
call ebx
mov edi, esi
jmp 0x5df242
shl esi, 4
lea ecx, [edi + esi]
call fcn.005d19c3
mov ecx, dword [edi + esi]
mov edx, dword [edi + esi + 4]
call fcn.005ce26b
mov esi, dword [esp + 4]
add esi, 2
mov dword [esp + 4], esi
shr esi, 1
cmp esi, dword [esp + 8]
jne 0x5df207
test edi, edi
je 0x5df268
push edi
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x14]
and eax, 0xfffffffe
mov dword [esi + 4], 0
mov dword [esi], eax
mov al, 1
xchg byte [esi + 0xc8], al
test al, al
je 0x5df2a9
mov ecx, esi
call fcn.005d1c54
mov ecx, dword [esp + 0x38]
call fcn.005d1acb
push dword [esi - 4]
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
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x28], 0
jmp 0x5df097
ud2
mov ecx, 0x40
mov edx, 0x100
jmp 0x5df30f
mov byte [esp + 0x61], 1
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x7c48bc
push 0x7c4b18
lea eax, [esp + 0x78]
push eax
call fcn.006525c0
add esp, 0xc
ud2
mov ecx, 4
mov edx, 0x14
jmp 0x5df30f
mov ecx, 4
mov edx, 8
call fcn.00651860
ud2
lea ecx, [esp + 0x70]
mov edx, 0x7f4bb8
xor eax, eax
mov dword [ecx], str.PostMessage_failed___is_the_messages_queue_full__fK
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], eax
mov dword [ecx + 8], 0x7f59e0
mov dword [ecx + 0xc], eax
call fcn.00652150
ud2
mov byte [esp + 0x61], 0
jmp 0x5df2d6