Function at 0x517860
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x88], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ebx + 0x60], xmm0
movdqu xmmword [ebx + 0x50], xmm0
movdqu xmmword [ebx + 0x40], xmm0
movdqu xmmword [ebx + 0x30], xmm0
movdqu xmmword [ebx + 0x20], xmm0
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov esi, dword [ecx + 0x10]
inc edx
xor eax, eax
cmp edx, esi
cmove edx, eax
cmp esi, edx
jbe 0x518148
mov ecx, dword [ecx + 0xc]
imul edx, edx, 0x70
movups xmm0, xmmword [ecx + edx]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [ecx + edx + 0x10]
movups xmm1, xmmword [ecx + edx + 0x20]
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx + 0x20], xmm1
movups xmm0, xmmword [ecx + edx + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [ecx + edx + 0x39]
movups xmmword [ebx + 0x39], xmm0
mov esi, dword [ecx + edx + 0x50]
mov dword [ebx + 0x50], esi
mov dword [ecx + edx + 0x50], 0
movzx ebx, byte [ecx + edx + 0x5a]
mov esi, dword [ebp + 8]
mov byte [esi + 0x5a], bl
mov ebx, dword [ebp + 8]
movzx esi, word [ecx + edx + 0x58]
mov word [ebx + 0x58], si
mov esi, dword [ecx + edx + 0x5c]
mov dword [ebx + 0x5c], esi
mov dword [ecx + edx + 0x5c], 0
movsd xmm0, qword [ecx + edx + 0x60]
movsd qword [ebx + 0x60], xmm0
mov esi, dword [ecx + edx + 0x68]
mov dword [ebx + 0x68], esi
mov dword [ecx + edx + 0x68], 0
mov ecx, dword [ecx + edx + 0x6c]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov esi, dword [ecx + 0x10]
inc edx
cmp edx, esi
cmove edx, eax
mov dword [ecx], edx
cmp esi, edx
jbe 0x51814b
mov eax, dword [ecx + 0xc]
imul ecx, edx, 0x70
lea esi, [eax + ecx]
mov eax, dword [eax + ecx + 0x68]
test eax, eax
jne 0x517e6a
mov ebx, dword [esi + 0x5c]
test ebx, ebx
jne 0x517ebb
mov esi, dword [esi + 0x50]
test esi, esi
jne 0x517e81
mov eax, dword [edi]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax]
jne 0x51799c
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x517ee1
dec dword [edi + 8]
mov dword [esp + 0x24], edi
jne 0x517d33
cmp dword [edi + 0x50], 0
jne 0x517b89
mov esi, dword [edi + 0x1c]
cmp dword [edi + 4], 0
je 0x517a83
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [0x646080]
cmp ecx, 0x552d10
jne 0x517e9e
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov eax, 0x7bd05af7
cmp edx, eax
mov ebx, ecx
mov eax, ecx
mov ecx, 0x863
sbb eax, ecx
jge 0x51853f
mov ecx, 0xf4240
mov eax, edx
mul ecx
imul ecx, ebx, 0xf4240
add ecx, edx
push dword [0x6496cc]
push dword [0x6496c8]
push ecx
push eax
call fcn.00586340
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
cmp eax, dword [edi + 0x10]
sbb edx, dword [edi + 0x14]
jl 0x517a83
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, 5
mov eax, 4
cmovae eax, ecx
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], edx
test ecx, ecx
je 0x517a83
lea edx, [eax + 0x10]
xor ebx, ebx
add ebx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x517a71
cmp edx, ebx
jb 0x5180eb
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x517f09
mov dword [esp + 0xc], ebx
mov eax, dword [edi]
mov ecx, dword [esi + 0x18]
mov dword [edi], ecx
mov dword [esi + 0x18], eax
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x1c]
mov dword [edi + 4], ecx
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x20]
mov dword [edi + 8], ecx
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x24]
mov dword [edi + 0xc], ecx
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
movsd xmm0, qword [esi + 0x28]
movsd qword [edi + 0x10], xmm0
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518342
cmp byte [esi + 0xd0], 1
je 0x5182cc
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518151
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 8], 0
sete byte [esi + 0x30]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518172
movzx ecx, byte [esi + 0xa4]
mov byte [esi + 0x33], cl
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51835e
cmp dword [esi + 0x5c], 0
jne 0x51811c
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
cmp dword [ecx + 8], 0x4f3f10
jne 0x517cf9
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518396
cmp byte [esi + 0xa4], 1
jne 0x5180b3
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51837a
movzx eax, byte [esi + 0xc0]
xor al, 1
mov byte [esi + 0x31], al
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [edi + 4], 0
je 0x517c54
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [0x646080]
cmp ecx, 0x552d10
jne 0x517d16
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov eax, 0x7bd05af7
cmp ebx, eax
mov eax, esi
mov ecx, 0x863
sbb eax, ecx
jge 0x5184ae
mov ecx, 0xf4240
mov eax, ebx
mul ecx
imul ecx, esi, 0xf4240
add ecx, edx
push dword [0x6496cc]
push dword [0x6496c8]
push ecx
push eax
call fcn.00586340
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
cmp eax, dword [edi + 0x10]
sbb edx, dword [edi + 0x14]
jl 0x517c54
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, 5
mov eax, 4
cmovae eax, ecx
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], edx
test ecx, ecx
je 0x517c54
lea edx, [eax + 0x10]
xor esi, esi
add esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x517c42
cmp edx, esi
jb 0x5180ba
mov edx, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
cmp dword [edi + 8], 0
jne 0x517d39
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jbe 0x518139
mov edi, ebx
mov ebx, edx
mov esi, edi
shl esi, 4
add ecx, esi
push 0
call fcn.00516750
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
sar ecx, 4
cmp ecx, edi
jbe 0x518139
mov edx, edi
mov ecx, dword [eax + esi + 4]
cmp ecx, dword [eax + esi + 8]
mov edi, dword [esp + 0x24]
jne 0x517ddf
mov esi, edx
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
sar edx, 2
cmp edx, esi
jbe 0x518139
dec dword [ecx + esi*4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
sar edx, 2
cmp edx, esi
jbe 0x518139
cmp dword [ecx + esi*4], 0
jne 0x517ddf
mov ecx, esi
mov edx, 0xfffffffe
rol edx, cl
and dword [eax + 0x14], edx
jmp 0x517ddf
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518492
cmp byte [esi + 0xa4], 0
jne 0x517b65
jmp 0x5180b3
call dword [0x63e1cc]
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 4
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x517c1a
mov edx, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov dword [esp + 0x18], edx
mov eax, dword [edi]
mov ecx, dword [eax]
cmp byte [edi + 0x48], 0
jne 0x517f27
mov edi, dword [eax + 0x10]
inc ecx
xor edx, edx
cmp ecx, edi
cmove ecx, edx
cmp edi, ecx
jbe 0x51814e
mov eax, dword [eax + 0xc]
imul ecx, ecx, 0x70
lea esi, [eax + ecx]
mov dword [esp + 0xc], esi
mov esi, dword [eax + ecx + 0x44]
mov dword [esp + 0x10], esi
mov esi, dword [eax + ecx + 0x18]
mov ecx, dword [eax + ecx + 0x1c]
mov eax, esi
or eax, ecx
mov edi, 0
jne 0x517e0c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jbe 0x518139
shl ebx, 4
add ecx, ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x60]
mov esi, dword [ebx + 0x64]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov edi, dword [esp + 0x24]
mov dword [esp + 0x78], edi
lea eax, [esp + 0x60]
lea edx, [esp + 0x38]
push eax
push edx
call fcn.00516700
mov esi, dword [edi + 0x1c]
movzx eax, byte [0x649570]
test al, al
jne 0x5183b2
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00565ea5
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x28], 0
jne 0x517e61
mov edi, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x14], edi
add edi, 1
mov eax, edx
adc eax, 0x80000000
cmp edi, 2
sbb eax, 0
jb 0x5185e6
add esi, dword [esp + 0x14]
adc ecx, edx
seto byte [esp + 0x14]
mov edi, ecx
sar edi, 0x1f
lea edx, [edi - 0x80000000]
cmp byte [esp + 0x14], 0
cmove edi, esi
cmp byte [esp + 0x14], 0
cmove edx, ecx
jmp 0x517d8a
mov edi, esi
mov edx, ecx
jmp 0x517d8a
lock dec dword [eax]
jne 0x517972
push eax
call fcn.00562bc0
add esp, 4
jmp 0x517972
lock dec dword [esi]
jne 0x517988
mov ecx, dword [esi + 8]
call dword [0x63e1cc]
push esi
call ecx
add esp, 4
jmp 0x517988
call dword [0x63e1cc]
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 4
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x517a49
lock dec dword [ebx + 4]
jne 0x51797d
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
call dword [0x63e1cc]
mov ecx, ebx
push 1
call dword [esp + 0x28]
jmp 0x51797d
mov dword [eax + 0x14], 0
mov ebx, dword [edi]
mov dword [edi], ecx
test ebx, ebx
je 0x51799c
mov ecx, ebx
call fcn.00406710
push ebx
call fcn.00562bc0
add esp, 4
jmp 0x51799c
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x517a95
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x20], esi
jmp 0x517f8c
inc ecx
mov edi, dword [eax + 0x10]
xor esi, esi
cmp ecx, edi
mov edx, ecx
mov dword [esp + 0x20], 0
cmove edx, esi
cmp edi, edx
jbe 0x5185e3
mov esi, dword [eax + 0xc]
mov dword [esp + 0xc], esi
imul edx, edx, 0x70
mov esi, dword [esp + 0xc]
add esi, edx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xc]
mov esi, dword [esi + edx + 0x44]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0xc]
mov esi, dword [esi + edx + 0x18]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xc]
mov esi, dword [esi + edx + 0x1c]
mov edx, dword [esp + 0x10]
or edx, esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], 0
jne 0x517fe1
mov esi, dword [edx + 0x60]
mov dword [esp + 0x10], esi
mov edx, dword [edx + 0x64]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x24]
mov esi, dword [edx + 0x30]
mov dword [esp + 0x14], esi
mov esi, dword [edx + 0x34]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], esi
xor edx, esi
mov esi, dword [esp + 0x10]
xor esi, dword [esp + 0x14]
or esi, edx
je 0x51806b
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
sbb dword [esp + 0xc], edx
jb 0x517d4f
mov edx, dword [esp + 0x18]
jmp 0x517c64
mov dword [esp + 0xc], esi
cmp dword [edx + 0x28], 0
jne 0x517f15
mov esi, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], esi
mov edx, esi
add edx, 1
mov esi, dword [esp + 0x20]
adc esi, 0x80000000
cmp edx, 2
sbb esi, 0
jb 0x518662
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
adc edx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
seto byte [esp + 0x1c]
sar edx, 0x1f
lea esi, [edx - 0x80000000]
mov dword [esp + 0x20], esi
cmp byte [esp + 0x1c], 0
cmove edx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
cmp byte [esp + 0x1c], 0
mov edx, dword [esp + 0x20]
cmove edx, dword [esp + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
jmp 0x517f8c
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov edi, dword [edx + 0x38]
mov ebx, dword [edx + 0x3c]
mov edx, dword [esp + 0x20]
xor edx, ebx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], edi
xor esi, edi
or esi, edx
jne 0x5186d1
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
cmp esi, dword [edx + 0x40]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
jl 0x517d4f
jmp 0x517fd8
xor eax, eax
jmp 0x517b7c
mov ecx, edi
push eax
call fcn.00518710
mov eax, dword [esp + 0x3c]
xor ecx, ecx
dec ecx
mov edx, 0x4c4b40
add edx, dword [esp + 0x38]
adc eax, 0
mov esi, 0x7fffffff
cmovno esi, eax
cmovo edx, ecx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], esi
jmp 0x517c54
mov ecx, edi
push eax
call fcn.00518710
mov eax, dword [esp + 0x3c]
xor ecx, ecx
dec ecx
mov edx, 0x4c4b40
add edx, dword [esp + 0x38]
adc eax, 0
mov ebx, 0x7fffffff
cmovno ebx, eax
cmovo edx, ecx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ebx
jmp 0x517a83
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x5186e2
mov al, byte [esi + 0xa4]
mov edi, dword [esp + 0x24]
jmp 0x517b7c
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x622e92
call fcn.0058fdd0
int3
int3
int3
lea edi, [esp + 0x60]
push edi
call fcn.0055f8a0
add esp, 4
cmp ebx, dword [edi]
jne 0x5186fd
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x24]
jmp 0x517b06
lea edi, [esp + 0x60]
push edi
call fcn.0055f8a0
add esp, 4
cmp ebx, dword [edi]
jne 0x518700
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x24]
jmp 0x517b1c
add ebx, eax
mov ecx, dword [esi + 0xc]
call fcn.00561950
cmp byte [esi + 0xd0], 1
jne 0x5181ad
mov byte [esi + 0xd0], 0
lea edi, [esp + 0x38]
mov ecx, ebx
push edi
call fcn.0053f3d0
lea ebx, [esp + 0x60]
mov ecx, ebx
push edi
call fcn.004f49c0
mov ecx, dword [esi + 0xc]
call fcn.00561950
lea edi, [esi + 0xa8]
mov ecx, edi
push ebx
call fcn.005cddb0
mov ecx, dword [esi + 0xc]
call fcn.00561950
mov dword [esp + 0x10], esp
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x18], eax
call fcn.00561950
cmp byte [esi + 0xc0], 0
je 0x5186c2
mov eax, dword [edi + 0x10]
mov dword [esp + 0x70], eax
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x60], xmm0
mov ebx, dword [esp + 0x18]
mov ecx, ebx
call fcn.005921f0
lea eax, [ebx + 0x30]
cmp byte [ebx + 0x48], 1
jne 0x518646
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
mov esp, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
call fcn.00561950
mov dword [esp + 0x18], esp
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x60]
call fcn.00561950
cmp byte [esi + 0xc0], 0
je 0x5186c2
mov eax, dword [edi + 0x10]
mov dword [esp + 0x70], eax
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x60], xmm0
mov ecx, ebx
call fcn.005921f0
lea eax, [ebx + 0x30]
cmp byte [ebx + 0x48], 1
jne 0x51862e
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
mov esp, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 0xe
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c810]
bt ecx, eax
jae 0x5182c3
push dword [esp + 0x18]
call fcn.004ff570
add esp, 4
mov edi, dword [esp + 0x24]
jmp 0x517af8
xor eax, eax
dec eax
lea ebx, [esp + 0x54]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov ecx, ebx
push dword [edi]
call fcn.005cee50
mov eax, dword [ebx]
mov dword [esp + 0x18], 0
test eax, eax
je 0x51829f
mov ecx, dword [esp + 0x58]
cmp dword [eax + 0x10], ecx
jbe 0x5186fa
mov edi, ecx
mov ebx, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
call fcn.00561950
cmp byte [esi + 0xd0], 0
je 0x5186bd
imul eax, edi, 0x70
mov ecx, dword [ebx + eax + 0x10]
cmp ecx, dword [esi + 0xc8]
mov ecx, dword [ebx + eax + 0x14]
sbb ecx, dword [esi + 0xcc]
jge 0x518193
lea ecx, [esp + 0x54]
call fcn.005cde00
mov eax, dword [esp + 0x54]
jmp 0x5182eb
lea eax, [esp + 0x60]
push eax
call fcn.0055f8a0
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517aeb
int3
lea eax, [esp + 0x60]
push eax
call fcn.0055f8a0
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517b31
int3
lea eax, [esp + 0x60]
push eax
call fcn.0055f8a0
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517b73
int3
lea eax, [esp + 0x60]
push eax
call fcn.0055f8a0
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517b58
int3
mov ecx, dword [esi + 0xc]
call fcn.00561920
test al, al
je 0x517df1
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x5183d7
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
call fcn.00561950
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x64]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
call fcn.00561950
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
call fcn.00561950
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x10], eax
mov ebx, dword [esi + 0x70]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esp + 0x5c], 0x124
mov al, byte [0x649570]
test al, al
je 0x517df1
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x18]
sub ebx, dword [esp + 0x10]
sar ebx, 4
imul ecx, ebx, 0xb6db6db7
mov ebx, dword [esp + 0x24]
add ebx, ecx
add ebx, edx
movzx edi, al
push dword [esi + 4]
call fcn.005ceaf0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [ecx], eax
lea eax, [esp + 0x60]
mov dword [eax], ebx
lea edx, [esp + 0x38]
mov dword [edx], 0x625997
xor esi, esi
lea ebx, [esp + 0x5c]
push eax
push edx
push esi
push 0x43
push 0x625718
push esi
push ecx
push ebx
push edi
call fcn.005ceb20
add esp, 0x24
jmp 0x517df1
lea eax, [esp + 0x60]
push eax
call fcn.0055f8a0
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517d04
int3
mov eax, dword [0x6496c8]
mov dword [esp + 0xc], eax
mov ecx, dword [0x6496cc]
mov dword [esp + 0x18], ecx
push ecx
push eax
push esi
push ebx
call fcn.00586340
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mul dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x18]
add edx, ecx
mov eax, dword [esp + 0x20]
imul ecx, eax, 0xf4240
mov dword [esp + 0x14], ecx
imul eax, dword [esp + 0xc]
add eax, edx
sub ebx, dword [esp + 0x1c]
sbb esi, eax
mov ecx, 0xf4240
mov eax, dword [esp + 0x10]
mul ecx
mov dword [esp + 0x10], eax
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov eax, ebx
mul ecx
imul ecx, esi, 0xf4240
add edx, ecx
push dword [esp + 0x18]
push dword [esp + 0x10]
push edx
push eax
call fcn.00586340
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x14]
jmp 0x517c12
mov ecx, dword [0x6496c8]
mov dword [esp + 0xc], ecx
mov eax, dword [0x6496cc]
mov dword [esp + 0x18], eax
push eax
push ecx
mov dword [esp + 0x18], ebx
push ebx
push edx
mov dword [esp + 0x24], edx
call fcn.00586340
mov dword [esp + 0x28], edx
mov ebx, eax
mov edx, dword [esp + 0xc]
mul edx
mov dword [esp + 0x20], eax
mov eax, ebx
mov ecx, ebx
imul ecx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x28]
imul ebx, ecx, 0xf4240
mov dword [esp + 0x1c], ebx
imul ecx, dword [esp + 0xc]
add ecx, edx
mov edx, ecx
mov ebx, dword [esp + 0x14]
sub ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
sbb ecx, edx
mov edx, 0xf4240
mul edx
mov dword [esp + 0x10], eax
add edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, ebx
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esp + 0x18]
push dword [esp + 0x10]
push edx
push eax
call fcn.00586340
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x14]
jmp 0x517a41
int3
mov dword [esp + 0x1c], esi
xor eax, eax
inc eax
add dword [esp + 0x1c], eax
mov eax, ecx
adc eax, 0x80000000
mov edi, eax
mov dword [esp + 0x20], 0
xor eax, eax
inc eax
cmp eax, dword [esp + 0x1c]
sbb dword [esp + 0x20], edi
setb byte [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, eax
xor esi, eax
xor ecx, edx
or ecx, esi
sete cl
or cl, byte [esp + 0x1c]
jne 0x517d8a
int3
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
mov byte [ebx + 0x48], 1
jmp 0x518293
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x18]
mov byte [eax + 0x48], 1
jmp 0x518239
xor edx, edx
inc edx
mov esi, dword [esp + 0x10]
add esi, edx
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
adc dword [esp + 0x1c], 0x80000000
mov dword [esp + 0x2c], 0
xor esi, esi
inc esi
cmp esi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
sbb esi, dword [esp + 0x1c]
setb byte [esp + 0x1c]
mov esi, dword [esp + 0x10]
xor esi, dword [esp + 0x28]
xor edx, dword [esp + 0x20]
or edx, esi
sete dh
or dh, byte [esp + 0x1c]
mov edx, dword [esp + 0x14]
jne 0x517f8c
int3
call fcn.0058fdd0
push str....._third_partylibc_srcincludeoptional:800:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
push 0x622e92
call fcn.0058fdd0
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x28], edx
sbb dword [esp + 0x20], ebx
jmp 0x5180a0
lea edi, [esp + 0x60]
push edi
call fcn.0055f8a0
add esp, 4
cmp ebx, dword [edi]
je 0x51812a
int3
int3
int3
int3