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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
cmp dword [ecx], 2
je 0x5f00d7
mov eax, dword [ecx + 8]
mov esi, ecx
cmp eax, 2
je 0x5f00d0
test eax, eax
mov dword [esp + 0x2c], esi
je 0x5ef2fc
cmp dword [esi + 0x20], 0
je 0x5f024a
mov esi, dword [esi + 0x24]
mov cl, 1
xor eax, eax
lock cmpxchg byte [esi + 0xdc], cl
lea edi, [esi + 0xdc]
jne 0x5f00df
cmp byte [esi + 0xf4], 0
je 0x5ef3aa
xor ecx, ecx
mov al, 1
lock cmpxchg byte [edi], cl
je 0x5ef4b7
mov ecx, edi
call fcn.006545f5
jmp 0x5ef4b7
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x5c]
push dword [esi + 0x24]
call fcn.00604009
add esp, 4
cmp dword [esi + 0x20], 0
jne 0x5f0280
mov ecx, esi
xor esi, esi
xchg dword [ecx + 0x1c], esi
test esi, esi
je 0x5f00f8
mov eax, dword [ecx + 0x24]
lock inc dword [eax]
jle 0x5f0260
xor edx, edx
add ecx, 0xc
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 4
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
xor ecx, ecx
call fcn.00603994
test eax, eax
je 0x5ef386
cmp dword [eax], 0x7fffffff
jae 0x5f02b3
cmp dword [eax + 4], 2
jne 0x5ef3f6
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [eax + 0x24]
add edx, 8
call fcn.00606c74
lea edi, [esp + 0x68]
mov dword [edi + 0xc], esi
mov dword [edi + 8], 0
jmp 0x5ef499
mov byte [esi + 0xf4], 1
xor ecx, ecx
mov al, 1
lock cmpxchg byte [esi + 0xdc], cl
jne 0x5f0143
mov edi, dword [esi + 0xcc]
test edi, edi
je 0x5ef4b7
mov ebx, dword [esi + 0xc8]
add esi, 0x18
shl edi, 3
add ebx, 4
mov ecx, dword [ebx]
mov edx, esi
call fcn.00605350
add ebx, 8
add edi, 0xfffffff8
jne 0x5ef3e0
jmp 0x5ef4b7
lea eax, [esp + 0x30]
lea esi, [esp + 0x68]
mov ecx, 9
mov edi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [eax], 0
jne 0x5f02bf
cmp dword [esp + 0x38], 0
jne 0x5f02d8
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
test esi, esi
je 0x5f02df
xor ecx, ecx
mov dword [esp + 0x38], 0
call fcn.00603994
test eax, eax
je 0x5f02f8
mov edi, eax
mov ebx, dword [eax + 0x28]
lea eax, [esp + 0x30]
mov ecx, esi
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x24]
add edx, 8
call fcn.00606c74
mov dword [edi + 0x28], ebx
cmp dword [esp + 0x38], 0
jne 0x5f0317
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5ef48d
call fcn.0060477b
mov eax, dword [esp + 0x38]
inc eax
jmp 0x5ef48f
xor eax, eax
lea edi, [esp + 0x30]
mov dword [edi + 0xc], esi
mov dword [edi + 8], eax
mov ecx, edi
call fcn.0060933e
mov ecx, edi
call fcn.00604428
cmp dword [esp + 0x5c], 3
je 0x5ef4b7
lea ecx, [esp + 0x5c]
call fcn.00430cc4
mov esi, dword [esp + 0x2c]
cmp dword [esi + 8], 0
jne 0x5ef4cf
xor ecx, ecx
xchg dword [esi + 0x1c], ecx
test ecx, ecx
je 0x5ef4cf
call fcn.0060477b
lea ecx, [esi + 0x20]
call fcn.005eec5d
mov edi, dword [esi + 0x28]
mov cl, 1
xor eax, eax
mov ebx, esi
lock cmpxchg byte [edi + 0x28], cl
lea esi, [edi + 0x28]
jne 0x5ef85a
cmp byte [edi + 0x78], 0
lea edx, [ebx + 0x28]
je 0x5ef515
xor ecx, ecx
mov al, 1
lock cmpxchg byte [esi], cl
je 0x5f0080
mov ecx, esi
mov esi, edx
call fcn.006545f5
mov edx, esi
jmp 0x5f0080
mov byte [edi + 0x78], 1
mov eax, dword [edi + 0x64]
test eax, eax
je 0x5ef531
lock dec dword [eax]
jne 0x5ef531
mov ecx, dword [edi + 0x64]
mov ebx, edx
call fcn.00602a08
mov edx, ebx
mov dword [edi + 0x64], 0
mov dword [esp + 0xac], edx
mov ecx, dword [edx]
mov edx, dword [ecx + 0x90]
test edx, edx
jne 0x5f0127
mov eax, dword [edi + 0x70]
mov dword [esp + 0xa0], eax
movq xmm0, qword [edi + 0x68]
movq qword [esp + 0x98], xmm0
mov dword [edi + 0x68], 0
call fcn.005c1420
test eax, eax
je 0x5f02ff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
movq xmm0, qword [eax + 8]
movsd xmm3, qword [0x7f5258]
mov ebx, ecx
add ebx, 1
mov dword [eax], ebx
mov ebx, edx
adc ebx, 0
mov dword [eax + 4], ebx
mov al, 1
movsd xmm1, qword [edi + 0x58]
movsd qword [esp + 0xd8], xmm1
movsd xmm1, qword [edi + 0x50]
movsd qword [esp + 0xd0], xmm1
movsd xmm2, qword [edi + 0x48]
movsd xmm1, qword [edi + 0x40]
movsd qword [esp + 0xc8], xmm2
movsd xmm2, qword [0x7f5250]
movsd qword [esp + 0xc0], xmm1
movsd qword [edi + 0x48], xmm3
movsd qword [edi + 0x40], xmm2
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], edx
movq qword [edi + 0x58], xmm0
xor ecx, ecx
lock cmpxchg byte [edi + 0x28], cl
jne 0x5f0137
xor ecx, ecx
call fcn.00603994
test eax, eax
je 0x5ef615
cmp byte [eax + 0x3a], 2
jne 0x5f014f
call fcn.00604155
test eax, eax
je 0x5ef6be
mov eax, dword [eax]
lock inc dword [eax]
mov ecx, dword [esp + 0x2c]
jle 0x5f0260
lea edx, [esp + 0x30]
lea edi, [esp + 0x68]
lea esi, [ecx + 0x2c]
add eax, 8
mov dword [edx], 0x7c9464
mov dword [edx + 4], eax
mov dword [edi], edx
xor ecx, ecx
call fcn.00603994
test eax, eax
je 0x5ef687
mov cl, byte [eax + 0x39]
mov bh, byte [eax + 0x38]
mov edx, edi
mov word [eax + 0x38], 0x8001
mov byte [esp + 4], cl
mov ecx, esi
call fcn.00607378
xor ecx, ecx
mov bl, al
call fcn.00603994
test eax, eax
je 0x5ef692
mov cl, byte [esp + 4]
mov byte [eax + 0x38], bh
mov byte [eax + 0x39], cl
jmp 0x5ef692
mov ecx, esi
mov edx, edi
call fcn.00607378
mov ebx, eax
cmp bl, 2
jne 0x5ef6b0
call fcn.00604155
test eax, eax
je 0x5f01f1
mov ecx, dword [eax]
add ecx, 8
call fcn.00605cc5
jmp 0x5ef64a
mov eax, dword [esp + 0x30]
push dword [esp + 0x34]
call dword [eax + 0xc]
add esp, 4
cmp dword [esp + 0x98], 0
je 0x5ef700
lea ecx, [esp + 0x98]
call fcn.00603777
test eax, eax
je 0x5ef700
mov esi, eax
mov edi, edx
push eax
call dword [edx]
add esp, 4
cmp dword [edi + 4], 0
je 0x5ef700
cmp dword [edi + 8], 9
jb 0x5ef6f1
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xcc]
movdqa xmm0, xmmword [eax]
test esi, esi
je 0x5ef752
lea edx, [esi + 1]
mov dword [esp + 4], 0
cmp edx, 0xfffffff
ja 0x5ef748
mov ebx, edx
add esi, 0x11
shl ebx, 4
add esi, ebx
jb 0x5ef748
cmp esi, 0x7ffffff1
jb 0x5f00eb
mov edi, eax
sub edi, ebx
mov ebx, dword [esp + 4]
jmp 0x5ef757
xor ebx, ebx
xor edx, edx
inc edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
add edx, eax
lea esi, [eax + 0x10]
pmovmskb edi, xmm0
mov dword [esp + 0x74], eax
test ecx, ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edx
mov edx, edi
not edx
mov word [esp + 0x80], dx
mov dword [esp + 0x84], ecx
je 0x5ef84c
cmp di, 0xffff
jne 0x5ef7bb
movdqa xmm0, xmmword [esi]
add eax, 0xffffff00
add esi, 0x10
pmovmskb edx, xmm0
cmp edx, 0xffff
je 0x5ef799
not edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], eax
lea esi, [edx - 1]
dec ecx
and esi, edx
bsf edx, edx
shl edx, 4
mov word [esp + 0x80], si
mov dword [esp + 0x84], ecx
sub eax, edx
mov edi, dword [eax - 0xc]
test edi, edi
je 0x5ef84c
xor edx, edx
mov ebx, 4
dec edx
inc ecx
cmove ecx, edx
cmp ecx, 5
cmovae ebx, ecx
cmp ebx, 0x7ffffff
ja 0x5f0296
mov esi, ebx
shl esi, 4
test esi, esi
js 0x5f0296
mov edx, dword [eax - 0x10]
mov ecx, dword [eax - 4]
mov dword [esp + 4], edx
mov edx, dword [eax - 8]
je 0x5ef866
mov al, byte [0x803894]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov ecx, esi
mov edx, 4
call fcn.004889b0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5ef86b
mov ecx, 4
mov edx, esi
call fcn.00651860
ud2
lea ecx, [esp + 0x68]
call fcn.00603147
jmp 0x5f0079
mov ecx, esi
call fcn.0065481c
jmp 0x5ef4ee
mov eax, 4
mov esi, dword [esp + 4]
mov dword [esp + 0x54], 0
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x5c]
xor edx, edx
movsd xmm1, qword [esp + 0x70]
movq xmm0, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x68]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], 1
inc edx
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [esp + 0x78]
movq qword [esp + 0x48], xmm0
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x40], xmm1
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 4], ecx
movzx ecx, word [esp + 0x48]
cmp dword [esp + 4], 0
mov ebx, edx
mov dword [esp + 0x14], edx
je 0x5ef9dd
test cx, cx
je 0x5ef90a
dec dword [esp + 4]
lea edx, [ecx - 1]
and edx, ecx
test edi, edi
mov word [esp + 0x48], dx
jne 0x5ef93b
jmp 0x5ef9eb
movdqa xmm0, xmmword [esi]
add edi, 0xffffff00
add esi, 0x10
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x5ef90a
not ecx
dec dword [esp + 4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
lea edx, [ecx - 1]
and edx, ecx
mov word [esp + 0x48], dx
mov dword [esp + 0xc], eax
bsf eax, ecx
mov ecx, edi
mov dword [esp + 8], edx
shl eax, 4
sub ecx, eax
mov eax, dword [ecx - 0xc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x5ef9e7
mov ebx, dword [ecx - 0x10]
mov dword [esp + 0x28], ebx
mov ebx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
cmp ebx, dword [esp + 0x60]
je 0x5ef9b7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov ecx, ebx
dec dword [esp + 0x54]
inc ebx
shl ecx, 4
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx + 0xc], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx + 8], edx
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ebx
mov edx, ebx
jmp 0x5ef8dd
mov eax, dword [esp + 4]
mov ecx, 0xffffffff
mov edx, ebx
inc eax
cmove eax, ecx
lea ecx, [esp + 0x5c]
push eax
call fcn.0065fffd
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
jmp 0x5ef97b
mov dword [esp + 4], 0
jmp 0x5ef9eb
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x30]
mov dword [ecx + 0x1c], eax
call fcn.00603147
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, ebx
cmp ebx, 0x15
mov dword [esp + 0x24], eax
mov dword [esp + 0xa8], esi
jae 0x5efa3c
cmp edi, 1
jbe 0x5effd1
mov esi, dword [esp + 0x24]
mov edx, edi
mov ecx, esi
push 1
call fcn.006071a5
add esp, 4
shl edi, 4
add edi, esi
mov ebx, edi
jmp 0x5effe0
mov al, byte [0x803894]
lea ecx, [edi*8]
mov edx, 4
and ecx, 0x7ffffff0
call fcn.004889b0
test eax, eax
mov dword [esp + 8], eax
je 0x5f0323
mov al, byte [0x803894]
mov ecx, 0x80
mov edx, 4
call fcn.004889b0
test eax, eax
je 0x5f0337
mov ebx, eax
mov eax, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x90], 0x10
lea ecx, [eax + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x8c], ecx
mov ecx, eax
mov eax, edi
mov edx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], esi
mov edi, ecx
sub eax, ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
shl edi, 4
cmp eax, 2
lea ecx, [ecx + edi]
mov dword [esp + 0xc], ecx
jae 0x5efb26
mov ecx, edx
mov edi, edx
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov esi, ecx
sub esi, edx
jb 0x5f0214
cmp ecx, edi
ja 0x5f0214
jae 0x5efb5b
cmp eax, 0xa
jae 0x5efb5b
lea esi, [edx + 0xa]
cmp esi, edi
cmovae esi, edi
mov dword [esp + 0x58], esi
sub esi, edx
jb 0x5f0225
mov ecx, dword [esp + 0xc]
cmp eax, 1
mov edx, esi
adc eax, 0
push eax
call fcn.006071a5
add esp, 4
mov edx, dword [esp + 4]
jmp 0x5efb5f
mov ebx, dword [ecx + 0x10]
mov edx, dword [ecx]
cmp ebx, edx
mov dword [esp + 0x1c], ebx
jae 0x5efe6d
cmp eax, 2
jne 0x5efe8d
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, 2
lea ecx, [esi + 2]
mov edx, esi
jmp 0x5eff16
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x28], eax
jne 0x5efbc9
mov ecx, eax
mov ebx, eax
mov al, byte [0x803894]
mov edx, 4
shl ecx, 4
call fcn.004889b0
test eax, eax
je 0x5f0234
mov edi, eax
lea eax, [ebx + ebx]
shl ebx, 3
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x14]
push ebx
push edi
call fcn.0064a810
add esp, 0xc
push ebx
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, edi
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [ebx + eax*8], esi
mov esi, eax
mov dword [ebx + eax*8 + 4], edx
inc esi
cmp esi, 2
jb 0x5efe5c
mov eax, dword [ebx + esi*8 - 8]
mov ecx, dword [ebx + esi*8 - 4]
add ecx, eax
cmp ecx, edi
je 0x5efc33
mov edx, dword [ebx + esi*8 - 0x10]
cmp edx, eax
jbe 0x5efc33
cmp esi, 2
jbe 0x5efe5c
lea ecx, [esi - 3]
mov edi, esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + esi*8 - 0x18]
lea esi, [edx + eax]
cmp ecx, esi
jbe 0x5efc45
cmp edi, 3
mov esi, edi
jbe 0x5eff97
add edx, ecx
cmp dword [ebx + esi*8 - 0x20], edx
mov ebx, dword [esp + 0x1c]
jbe 0x5efc4b
jmp 0x5effa0
cmp esi, 3
jb 0x5efc4f
mov ecx, dword [esp + 0x10]
lea ebx, [esi - 3]
mov ecx, dword [ecx + esi*8 - 0x18]
jmp 0x5efc4b
mov ebx, dword [esp + 0x1c]
mov esi, edi
cmp ecx, eax
jb 0x5efc52
lea ebx, [esi - 2]
cmp esi, ebx
jbe 0x5f0197
lea eax, [ebx + 1]
cmp esi, eax
jbe 0x5f01a2
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ebx*8 + 8]
mov edi, dword [edx + ebx*8 + 0xc]
mov ecx, dword [edx + ebx*8 + 4]
add edi, eax
mov edx, edi
sub edx, ecx
mov dword [esp + 0x20], edx
jb 0x5f01ce
cmp edi, dword [esp + 0x14]
ja 0x5f01dc
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0xbc], ecx
shl ecx, 4
mov dword [esp + 0x1c], ebx
shl edi, 4
add ecx, dword [esp + 0x24]
mov dword [esp + 4], edi
lea eax, [eax + ebx*8]
mov esi, dword [eax]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov ebx, esi
sub eax, esi
mov dword [esp + 0xb0], esi
shl ebx, 4
cmp eax, esi
lea edi, [ecx + ebx]
jae 0x5efd77
mov ebx, eax
mov dword [esp + 0x20], eax
shl ebx, 4
push ebx
push edi
push dword [esp + 0x10]
call fcn.0064a810
add esp, 0xc
add ebx, dword [esp + 8]
test esi, esi
jle 0x5efd6c
cmp dword [esp + 0x20], 0
jle 0x5efd6c
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [edi - 0x10]
mov esi, edi
mov edi, 0
mov eax, ebx
mov ebx, 0
cmp ecx, edx
sbb edi, edi
cmp ecx, edx
adc ebx, 0xffffffff
shl edi, 4
shl ebx, 4
add edi, esi
add ebx, eax
cmp ecx, edx
mov ecx, dword [esp + 4]
mov eax, ebx
cmovb eax, edi
cmp edi, dword [esp + 0xc]
movq xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movq qword [ecx], xmm0
jbe 0x5efd6c
add ecx, 0xfffffff0
cmp ebx, dword [esp + 8]
ja 0x5efd15
mov eax, dword [esp + 8]
mov ecx, edi
jmp 0x5efdf7
push ebx
push ecx
push dword [esp + 0x10]
call fcn.0064a810
add esp, 0xc
add ebx, dword [esp + 8]
test esi, esi
jle 0x5efdef
cmp dword [esp + 0x20], esi
jle 0x5efdef
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
add ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov edx, dword [edi]
mov esi, eax
xor eax, eax
xor ecx, ecx
cmp edx, dword [esi]
mov edx, esi
cmovb edx, edi
setae al
movq xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
setb dl
shl eax, 4
add eax, esi
mov esi, dword [esp + 0xc]
movsd qword [esi + 8], xmm1
movq qword [esi], xmm0
add esi, 0x10
cmp eax, ebx
mov dword [esp + 0xc], esi
jae 0x5efdf3
mov cl, dl
mov edx, dword [esp + 4]
shl ecx, 4
add edi, ecx
cmp edi, edx
jb 0x5efda3
jmp 0x5efdf3
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
sub ebx, eax
lea esi, [edi - 1]
push ebx
push eax
push ecx
call fcn.0064a810
add esp, 0xc
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xb4]
add eax, dword [esp + 0xb0]
mov dword [ebx + ecx*8 + 8], eax
mov eax, dword [esp + 0xbc]
mov dword [ebx + ecx*8 + 0xc], eax
not ecx
lea eax, [edx + 8]
add ecx, edi
shl ecx, 3
push ecx
push eax
push edx
call fcn.0064a810
add esp, 0xc
mov edi, dword [esp + 0x14]
cmp esi, 1
ja 0x5efbe4
xor esi, esi
inc esi
mov eax, dword [esp + 0x58]
cmp eax, edi
jb 0x5efaa9
jmp 0x5effad
cmp eax, 2
jne 0x5efec2
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, 2
lea ecx, [esi + 2]
mov edx, esi
jmp 0x5efade
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 4]
add edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x1c]
mov ebx, 2
add edx, ecx
mov ecx, esi
mov esi, dword [edi]
cmp esi, ecx
jae 0x5efef7
lea ecx, [edx + ebx + 1]
inc ebx
add edi, 0x10
cmp ecx, 1
jne 0x5efeab
jmp 0x5efef5
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 4]
add edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x1c]
mov ebx, 2
add edx, ecx
mov ecx, esi
mov esi, dword [edi]
cmp esi, ecx
jb 0x5efef7
lea ecx, [edx + ebx + 1]
inc ebx
add edi, 0x10
cmp ecx, 1
jne 0x5efee0
mov ebx, eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp eax, dword [esp + 0x20]
lea ecx, [ebx + edx]
mov eax, ebx
mov ebx, dword [esp + 0x10]
jae 0x5efade
cmp edx, ecx
ja 0x5f0264
cmp ecx, edi
ja 0x5f0274
cmp eax, 2
jb 0x5efade
mov esi, edx
mov edi, dword [esp + 0xc]
mov edx, eax
add esi, eax
shr edx, 1
shl esi, 4
add esi, dword [esp + 0x94]
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
add edi, 0x10
movq xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [esi + 8], xmm1
movq qword [esi], xmm0
add esi, 0xfffffff0
dec edx
jne 0x5eff45
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x5efada
mov edi, dword [esp + 0x14]
jmp 0x5efe5c
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x5efe5c
xor esi, esi
push ebx
push esi
push dword [0x8032a8]
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, edi
mov edi, eax
call eax
push dword [esp + 8]
push esi
push dword [0x8032a8]
call edi
mov edi, ebx
mov esi, dword [esp + 0x24]
mov ebx, edi
shl ebx, 4
add ebx, esi
test edi, edi
je 0x5f0046
mov esi, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x5f0043
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], edx
call fcn.00603777
test eax, eax
je 0x5f0036
mov ebx, eax
mov edi, edx
push eax
call dword [edx]
add esp, 4
cmp dword [edi + 4], 0
je 0x5f0036
cmp dword [edi + 8], 9
jb 0x5f0027
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esp + 4]
add esi, 0x10
cmp esi, ebx
jne 0x5effe8
jmp 0x5f005d
add esi, 0x10
sub ebx, esi
je 0x5f005d
shr ebx, 4
add esi, 4
mov ecx, esi
call fcn.00602a6d
add esi, 0x10
dec ebx
jne 0x5f0050
cmp dword [esp + 0xa8], 0
je 0x5f0079
push dword [esp + 0x24]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
lock dec dword [eax]
jne 0x5f008e
mov ecx, edx
call fcn.006028f5
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x5f00d0
mov eax, dword [ecx + 0x18]
mov edx, eax
or edx, 4
lock cmpxchg dword [ecx + 0x18], edx
jne 0x5f009c
and eax, 0xa
cmp eax, 8
jne 0x5f00bc
mov eax, dword [ecx + 8]
push dword [ecx + 0xc]
call dword [eax + 8]
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5f00d0
lock dec dword [eax]
jne 0x5f00d0
mov ecx, dword [esi + 0x2c]
call fcn.00602bc9
mov ecx, esi
call fcn.005eec5d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call fcn.0065481c
jmp 0x5ef2d5
mov dword [esp + 4], 0x10
jmp 0x5ef748
mov eax, dword [0x803890]
test eax, 0x7fffffff
je 0x5f0111
call fcn.0065a0d0
test al, al
je 0x5ef4a7
lea ecx, [esp + 0x30]
mov edx, 0x7c994c
xor eax, eax
mov dword [ecx], 0x7c98c8
jmp 0x5f01b3
add ecx, 0x90
call fcn.006542ee
jmp 0x5ef54f
mov ecx, esi
call fcn.006545f5
jmp 0x5ef600
mov ecx, edi
call fcn.006545f5
jmp 0x5ef3c3
mov eax, dword [0x803890]
test eax, 0x7fffffff
je 0x5f029d
call fcn.0065a0d0
test al, al
jne 0x5f029d
lea ecx, [esp + 0xc0]
call fcn.00602a9c
cmp dword [esp + 0x98], 0
je 0x5f0079
lea ecx, [esp + 0x98]
call fcn.00602a6d
jmp 0x5f0079
lea ecx, [esp + 0x30]
mov edx, 0x7c8c08
jmp 0x5f01ab
lea ecx, [esp + 0x30]
mov edx, 0x7c8c18
xor eax, eax
mov dword [ecx], str.Index_out_of_bounds
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 edx, edi
push 0x7c8c28
call fcn.006524b0
jmp 0x5f01ec
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0x7c8c28
call fcn.00652260
add esp, 4
ud2
lea eax, [esp + 0x1b]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x7c9454
push 0x7c8cf4
push eax
call fcn.006525c0
add esp, 0xc
ud2
mov ecx, str.assertion_failed:_end___start__end___len
mov edx, 0x2c
push 0x7c8c94
jmp 0x5f0243
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x58]
push 0x7c8ca4
jmp 0x5f01d5
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7c8c58
call fcn.006522d0
jmp 0x5f01ec
lea ecx, [esp + 0x30]
mov edx, 0x7c9f5c
xor eax, eax
mov dword [ecx], str.expected_MultiThread_scheduler
jmp 0x5f01b3
ud2
mov eax, edx
mov edx, ecx
mov ecx, eax
push 0x7c8bf8
jmp 0x5f01d5
mov edx, edi
push 0x7c8bf8
jmp 0x5f01e7
lea ecx, [esp + 0x30]
mov edx, 0x7c9ffc
xor eax, eax
mov dword [ecx], str.not_a_CurrentThread_handle
jmp 0x5f01b3
call fcn.00498870
ud2
lea ecx, [esp + 0x30]
mov edx, 0x7caf40
xor eax, eax
mov dword [ecx], 0x7caf38
jmp 0x5f01b3
mov ecx, 0x7c94e4
call fcn.00652570
ud2
lea ecx, [esp + 0xc0]
mov edx, 0x7c99b8
xor eax, eax
mov dword [ecx], str.expected__CurrentThread::Context_
jmp 0x5f01b3
mov ecx, 0x7c99c8
jmp 0x5f031c
mov ecx, str.core_missing
mov edx, 0xc
push 0x7c99d8
call fcn.00652640
jmp 0x5f01ec
mov ecx, esi
call fcn.0060477b
lea eax, [esp + 0x1b]
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
jmp 0x5f0204
mov ecx, 0x7c99e8
call fcn.00652520
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7c8c38
jmp 0x5f0243
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7c8c48
jmp 0x5f0243