Function at 0x517b40
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 0x518428
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 0x51842b
mov eax, dword [ecx + 0xc]
imul ecx, edx, 0x70
lea esi, [eax + ecx]
mov eax, dword [eax + ecx + 0x68]
test eax, eax
jne 0x51814a
mov ebx, dword [esi + 0x5c]
test ebx, ebx
jne 0x51819b
mov esi, dword [esi + 0x50]
test esi, esi
jne 0x518161
mov eax, dword [edi]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax]
jne 0x517c7c
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x5181c1
dec dword [edi + 8]
mov dword [esp + 0x24], edi
jne 0x518013
cmp dword [edi + 0x50], 0
jne 0x517e69
mov esi, dword [edi + 0x1c]
cmp dword [edi + 4], 0
je 0x517d63
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [0x646080]
cmp ecx, 0x5536d0
jne 0x51817e
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 0x51881f
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.005866e0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
cmp eax, dword [edi + 0x10]
sbb edx, dword [edi + 0x14]
jl 0x517d63
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 0x517d63
lea edx, [eax + 0x10]
xor ebx, ebx
add ebx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x517d51
cmp edx, ebx
jb 0x5183cb
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5181e9
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 0x518622
cmp byte [esi + 0xd0], 1
je 0x5185ac
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518431
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 8], 0
sete byte [esi + 0x30]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518452
movzx ecx, byte [esi + 0xa4]
mov byte [esi + 0x33], cl
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51863e
cmp dword [esi + 0x5c], 0
jne 0x5183fc
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
cmp dword [ecx + 8], 0x4f3ec0
jne 0x517fd9
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518676
cmp byte [esi + 0xa4], 1
jne 0x518393
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51865a
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 0x517f34
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [0x646080]
cmp ecx, 0x5536d0
jne 0x517ff6
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 0x51878e
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.005866e0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
cmp eax, dword [edi + 0x10]
sbb edx, dword [edi + 0x14]
jl 0x517f34
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 0x517f34
lea edx, [eax + 0x10]
xor esi, esi
add esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x517f22
cmp edx, esi
jb 0x51839a
mov edx, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
cmp dword [edi + 8], 0
jne 0x518019
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jbe 0x518419
mov edi, ebx
mov ebx, edx
mov esi, edi
shl esi, 4
add ecx, esi
push 0
call fcn.00516a30
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
sar ecx, 4
cmp ecx, edi
jbe 0x518419
mov edx, edi
mov ecx, dword [eax + esi + 4]
cmp ecx, dword [eax + esi + 8]
mov edi, dword [esp + 0x24]
jne 0x5180bf
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 0x518419
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 0x518419
cmp dword [ecx + esi*4], 0
jne 0x5180bf
mov ecx, esi
mov edx, 0xfffffffe
rol edx, cl
and dword [eax + 0x14], edx
jmp 0x5180bf
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x518772
cmp byte [esi + 0xa4], 0
jne 0x517e45
jmp 0x518393
call dword [0x63e19c]
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 4
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x517efa
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 0x518207
mov edi, dword [eax + 0x10]
inc ecx
xor edx, edx
cmp ecx, edi
cmove ecx, edx
cmp edi, ecx
jbe 0x51842e
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 0x5180ec
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 0x518419
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.005169e0
mov esi, dword [edi + 0x1c]
movzx eax, byte [0x649570]
test al, al
jne 0x518692
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00566245
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 0x518141
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 0x5188c6
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 0x51806a
mov edi, esi
mov edx, ecx
jmp 0x51806a
lock dec dword [eax]
jne 0x517c52
push eax
call fcn.00562f60
add esp, 4
jmp 0x517c52
lock dec dword [esi]
jne 0x517c68
mov ecx, dword [esi + 8]
call dword [0x63e19c]
push esi
call ecx
add esp, 4
jmp 0x517c68
call dword [0x63e19c]
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 4
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x517d29
lock dec dword [ebx + 4]
jne 0x517c5d
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
call dword [0x63e19c]
mov ecx, ebx
push 1
call dword [esp + 0x28]
jmp 0x517c5d
mov dword [eax + 0x14], 0
mov ebx, dword [edi]
mov dword [edi], ecx
test ebx, ebx
je 0x517c7c
mov ecx, ebx
call fcn.00406710
push ebx
call fcn.00562f60
add esp, 4
jmp 0x517c7c
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x517d75
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x20], esi
jmp 0x51826c
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 0x5188c3
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 0x5182c1
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 0x51834b
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
sbb dword [esp + 0xc], edx
jb 0x51802f
mov edx, dword [esp + 0x18]
jmp 0x517f44
mov dword [esp + 0xc], esi
cmp dword [edx + 0x28], 0
jne 0x5181f5
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 0x518942
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 0x51826c
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 0x5189b1
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 0x51802f
jmp 0x5182b8
xor eax, eax
jmp 0x517e5c
mov ecx, edi
push eax
call fcn.005189f0
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 0x517f34
mov ecx, edi
push eax
call fcn.005189f0
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 0x517d63
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x5189c2
mov al, byte [esi + 0xa4]
mov edi, dword [esp + 0x24]
jmp 0x517e5c
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x622e92
call fcn.00590170
int3
int3
int3
lea edi, [esp + 0x60]
push edi
call fcn.0055fc40
add esp, 4
cmp ebx, dword [edi]
jne 0x5189dd
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x24]
jmp 0x517de6
lea edi, [esp + 0x60]
push edi
call fcn.0055fc40
add esp, 4
cmp ebx, dword [edi]
jne 0x5189e0
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x24]
jmp 0x517dfc
add ebx, eax
mov ecx, dword [esi + 0xc]
call fcn.00561cf0
cmp byte [esi + 0xd0], 1
jne 0x51848d
mov byte [esi + 0xd0], 0
lea edi, [esp + 0x38]
mov ecx, ebx
push edi
call fcn.0053ec10
lea ebx, [esp + 0x60]
mov ecx, ebx
push edi
call fcn.004f4d60
mov ecx, dword [esi + 0xc]
call fcn.00561cf0
lea edi, [esi + 0xa8]
mov ecx, edi
push ebx
call fcn.005ce130
mov ecx, dword [esi + 0xc]
call fcn.00561cf0
mov dword [esp + 0x10], esp
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x18], eax
call fcn.00561cf0
cmp byte [esi + 0xc0], 0
je 0x5189a2
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.00592590
lea eax, [ebx + 0x30]
cmp byte [ebx + 0x48], 1
jne 0x518926
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.00561cf0
mov dword [esp + 0x18], esp
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x60]
call fcn.00561cf0
cmp byte [esi + 0xc0], 0
je 0x5189a2
mov eax, dword [edi + 0x10]
mov dword [esp + 0x70], eax
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x60], xmm0
mov ecx, ebx
call fcn.00592590
lea eax, [ebx + 0x30]
cmp byte [ebx + 0x48], 1
jne 0x51890e
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 0x5185a3
push dword [esp + 0x18]
call fcn.004ff910
add esp, 4
mov edi, dword [esp + 0x24]
jmp 0x517dd8
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.005cf1d0
mov eax, dword [ebx]
mov dword [esp + 0x18], 0
test eax, eax
je 0x51857f
mov ecx, dword [esp + 0x58]
cmp dword [eax + 0x10], ecx
jbe 0x5189da
mov edi, ecx
mov ebx, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
call fcn.00561cf0
cmp byte [esi + 0xd0], 0
je 0x51899d
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 0x518473
lea ecx, [esp + 0x54]
call fcn.005ce180
mov eax, dword [esp + 0x54]
jmp 0x5185cb
lea eax, [esp + 0x60]
push eax
call fcn.0055fc40
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517dcb
int3
lea eax, [esp + 0x60]
push eax
call fcn.0055fc40
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517e11
int3
lea eax, [esp + 0x60]
push eax
call fcn.0055fc40
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517e53
int3
lea eax, [esp + 0x60]
push eax
call fcn.0055fc40
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517e38
int3
mov ecx, dword [esi + 0xc]
call fcn.00561cc0
test al, al
je 0x5180d1
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x5186b7
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.00561cf0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x64]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
call fcn.00561cf0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
call fcn.00561cf0
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 0x5180d1
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.005cee70
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.005ceea0
add esp, 0x24
jmp 0x5180d1
lea eax, [esp + 0x60]
push eax
call fcn.0055fc40
add esp, 4
lea eax, [esp + 0x60]
cmp ebx, dword [eax]
je 0x517fe4
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.005866e0
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.005866e0
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x14]
jmp 0x517ef2
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.005866e0
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.005866e0
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x14]
jmp 0x517d21
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 0x51806a
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 0x518573
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 0x518519
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 0x51826c
int3
call fcn.00590170
push str....._third_partylibc_srcincludeoptional:800:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
push 0x622e92
call fcn.00590170
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x28], edx
sbb dword [esp + 0x20], ebx
jmp 0x518380
lea edi, [esp + 0x60]
push edi
call fcn.0055fc40
add esp, 4
cmp ebx, dword [edi]
je 0x51840a
int3
int3
int3
int3