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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov ebx, ecx
lea edx, [ebp + 8]
mov eax, dword [0x646040]
xor eax, ebp
mov dword [esi + 0x78], eax
cmp byte [ebp + 0x7c], 1
mov dword [esi + 0xc], ecx
jne 0x5191e5
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 8]
cmp edi, 0x5625c0
jne 0x5196ee
mov dword [esi + 0x70], 0x91
movzx eax, byte [0x64b4dd]
test al, al
jne 0x519f9e
cmp dword [edx + 0x2c], 0
mov ebx, dword [esi + 0xc]
jne 0x5191db
mov eax, dword [0x64984c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x160]
test eax, eax
je 0x519198
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x40], ecx
mov eax, dword [eax + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [0x64984c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x15c]
test eax, eax
je 0x5191db
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x2c], ecx
movsd xmm0, qword [eax + 0x2c]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x38], ecx
movsd qword [edx + 0x30], xmm0
cmp byte [eax + 0x48], 0
jne 0x5196e7
cmp dword [eax + 0x38], 0
setne al
mov byte [edx + 0x48], al
cmp dword [edx + 0x3c], 0
jne 0x519e48
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x519cd0
mov dword [esi + 8], esp
push eax
sub esp, 0x6c
mov edi, esp
movups xmm0, xmmword [edx]
movups xmmword [edi], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmm1, xmmword [edx + 0x20]
movups xmmword [edi + 0x10], xmm0
movups xmmword [edi + 0x20], xmm1
movups xmm0, xmmword [edx + 0x30]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [edx + 0x39]
movups xmmword [edi + 0x39], xmm0
mov eax, dword [edx + 0x50]
mov dword [edi + 0x50], eax
mov dword [edx + 0x50], 0
movzx ecx, byte [edx + 0x5a]
mov byte [edi + 0x5a], cl
movzx ecx, word [edx + 0x58]
mov word [edi + 0x58], cx
mov ecx, dword [edx + 0x5c]
mov dword [edi + 0x5c], ecx
mov dword [edx + 0x5c], 0
movq xmm0, qword [edx + 0x60]
movq qword [edi + 0x60], xmm0
mov ecx, dword [edx + 0x68]
mov dword [edi + 0x68], ecx
mov dword [edx + 0x68], 0
mov ecx, dword [edx + 0x6c]
mov dword [edi + 0x6c], ecx
test eax, eax
je 0x519c9a
lea ecx, [ebx + 0x68]
cmp byte [edi + 0x59], 1
je 0x519c9d
lea edx, [esi + 0x50]
push edi
call fcn.0051a370
add esp, 4
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x5195f1
mov ebx, dword [edi + 0x5c]
test ebx, ebx
lea edx, [ebp + 8]
jne 0x519590
mov edi, dword [edi + 0x50]
test edi, edi
jne 0x519608
mov esp, dword [esi + 8]
mov eax, dword [edx + 0x70]
mov dword [esi + 0x24], eax
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
cmp dword [eax + 0x4c], 0x52a8b0
jne 0x5197e8
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
cmp dword [eax + 0x18], 0x4f2cd0
jne 0x519631
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x519dde
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x70]
je 0x5195ad
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
cmp dword [eax + 8], 0x4f2f30
mov edi, dword [ecx + 8]
jne 0x5195cb
test edi, edi
jne 0x519f43
cmp byte [ebx + 0xa4], 0
je 0x5195ad
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x519dcd
mov ecx, dword [ebx + 0x6c]
cmp ecx, dword [ebx + 0x70]
je 0x519ca5
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
mov dword [esi + 8], ecx
jne 0x519e0e
xor edx, edx
cmp dword [ebx + 0x78], 0
mov edi, ebx
jne 0x519f57
mov ebx, dword [ecx + 0x28]
mov eax, dword [edi]
cmp dword [eax + 0x24], 0x562590
mov eax, dword [edi + 0xc]
mov edi, dword [eax + 8]
mov dword [esi + 4], edx
jne 0x519583
test edi, edi
jne 0x519e22
xor eax, eax
cmp ebx, 2
cmovne eax, ebx
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 8]
mov cl, byte [ecx + 0x35]
mov edx, dword [edi + 0x64]
cmp cl, byte [edx + 0x20]
cmovae eax, ebx
mov ebx, edi
mov ecx, dword [esi + 8]
movdqu xmm0, xmmword [ecx + 0x18]
movdqa xmmword [esi + 0x30], xmm0
mov ecx, dword [esi + 4]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov al, 1
lea edx, [ebp + 8]
mov byte [esi + 0x48], al
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x519cb4
cmp dword [ebx + 0x5c], 0
jne 0x519a7e
mov ecx, dword [esi + 0x30]
mov dword [esi + 8], ecx
lea edi, [esi + 0x49]
mov ecx, dword [edi + 3]
mov dword [esi + 0x73], ecx
mov ecx, dword [esi + 0x34]
mov dword [esi + 4], ecx
mov ecx, dword [edi]
mov dword [esi + 0x70], ecx
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x20], ecx
mov ch, byte [esi + 0x48]
mov edi, dword [esi + 0x38]
mov dword [esi + 0x10], edi
mov edi, dword [esi + 0x40]
mov dword [esi + 0x14], edi
mov edi, dword [esi + 0x44]
mov dword [esi + 0x18], edi
mov edi, dword [eax + 8]
test edi, edi
jne 0x519db5
mov ebx, dword [esi + 0xc]
movzx eax, byte [ebx + 0x110]
mov cl, ch
and cl, al
cmp cl, 1
mov byte [esi + 0x1c], ch
jne 0x51959f
mov eax, dword [ebx + 0xf8]
xor eax, dword [esi + 8]
mov ecx, dword [ebx + 0xfc]
xor ecx, dword [esi + 4]
or ecx, eax
mov edi, dword [esi + 0x20]
jne 0x519477
mov eax, dword [ebx + 0x100]
xor eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x104]
xor ecx, edi
or ecx, eax
jne 0x519477
mov eax, dword [esi + 0x14]
cmp dword [ebx + 0x108], eax
jne 0x519477
mov eax, dword [esi + 0x18]
cmp dword [ebx + 0x10c], eax
je 0x519540
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x519ce4
mov ecx, dword [esi + 8]
mov dword [ebx + 0xf8], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 0xfc], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebx + 0x100], ecx
mov edi, dword [esi + 0x20]
mov dword [ebx + 0x104], edi
mov ecx, dword [esi + 0x14]
mov dword [ebx + 0x108], ecx
mov ecx, dword [esi + 0x18]
mov dword [ebx + 0x10c], ecx
mov cl, byte [esi + 0x1c]
mov byte [ebx + 0x110], cl
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x73]
mov dword [ebx + 0x111], ecx
mov dword [ebx + 0x114], edx
mov eax, dword [eax + 8]
test eax, eax
jne 0x519e33
mov ecx, dword [ebx + 0x58]
mov eax, dword [esi + 4]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x50], eax
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x10]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x64], eax
mov al, byte [esi + 0x1c]
mov byte [esi + 0x68], al
mov eax, dword [esi + 0x70]
mov dword [esi + 0x69], eax
mov eax, dword [esi + 0x73]
mov dword [esi + 0x6c], eax
sub esp, 0x28
movdqu xmm0, xmmword [esi + 0x50]
movups xmm1, xmmword [esi + 0x60]
movups xmmword [esp + 0x18], xmm1
movdqu xmmword [esp + 8], xmm0
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0051ae90
lea edx, [ebp + 8]
movzx eax, byte [0x64b570]
test al, al
jne 0x519cfd
mov eax, dword [edx + 0x68]
test eax, eax
jne 0x5195b8
mov edi, dword [edx + 0x5c]
test edi, edi
jne 0x519578
mov edi, dword [edx + 0x50]
test edi, edi
jne 0x5195d8
mov ecx, dword [esi + 0x78]
xor ecx, ebp
call fcn.00567335
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x78
lock dec dword [edi + 4]
jne 0x51955d
jmp 0x519bb0
test edi, edi
je 0x519383
jmp 0x51a0d2
lock dec dword [ebx + 4]
jne 0x5192a2
jmp 0x519c16
mov cl, ch
and cl, 1
cmp cl, al
je 0x519540
jmp 0x519477
mov byte [esi + 0x30], 0
xor eax, eax
jmp 0x5193ba
lock dec dword [eax]
jne 0x519556
push eax
call fcn.00564050
lea edx, [ebp + 8]
add esp, 4
jmp 0x519556
test edi, edi
je 0x51931a
jmp 0x51a0f7
lock dec dword [edi]
jne 0x519564
mov ecx, dword [edi + 8]
call dword [0x6401dc]
push edi
call ecx
add esp, 4
jmp 0x519564
lock dec dword [eax]
jne 0x519294
push eax
call fcn.00564050
add esp, 4
jmp 0x519294
lock dec dword [edi]
jne 0x5192ad
mov ecx, dword [edi + 8]
call dword [0x6401dc]
push edi
call ecx
lea edx, [ebp + 8]
add esp, 4
jmp 0x5192ad
test edi, edi
je 0x519664
jmp 0x51a195
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x519ff1
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x70]
je 0x5195ad
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
cmp dword [eax + 8], 0x4f2f30
mov edi, dword [ecx + 8]
jne 0x519628
test edi, edi
jne 0x51a0a4
cmp byte [ebx + 0xa4], 0
je 0x5195ad
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x519fe0
mov ecx, dword [ebx + 0x6c]
cmp ecx, dword [ebx + 0x70]
je 0x519ca5
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
mov dword [esi + 8], ecx
jne 0x51a02a
xor edx, edx
cmp dword [ebx + 0x78], 0
mov edi, ebx
jne 0x51a0b8
mov ebx, dword [ecx + 0x28]
mov eax, dword [edi]
cmp dword [eax + 0x24], 0x562590
mov eax, dword [edi + 0xc]
mov edi, dword [eax + 8]
mov dword [esi + 4], edx
jne 0x5196ce
test edi, edi
je 0x519383
jmp 0x51a053
test edi, edi
je 0x519383
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519383
int3
mov al, 1
jmp 0x5191d8
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
lea eax, [ebp + 8]
push eax
call edi
lea edx, [ebp + 8]
mov ebx, dword [esi + 0xc]
jmp 0x5191db
test edi, edi
je 0x519745
jmp 0x51a1ce
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a11c
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x70]
je 0x5197b9
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
cmp dword [eax + 8], 0x4f2f30
mov edi, dword [ecx + 8]
jne 0x519709
test edi, edi
jne 0x51a170
cmp byte [ebx + 0xa4], 0
je 0x5197b9
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a10b
mov edi, dword [ebx + 0x6c]
cmp edi, dword [ebx + 0x70]
je 0x519ca5
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
test eax, eax
jne 0x51a130
xor ecx, ecx
cmp dword [ebx + 0x78], 0
jne 0x51a156
mov eax, dword [edi + 0x28]
mov dword [esi + 4], eax
mov eax, dword [ebx]
cmp dword [eax + 0x24], 0x562590
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + 8]
mov dword [esi + 8], ecx
mov dword [esi + 0x10], edi
jne 0x5197ac
test ebx, ebx
je 0x51989c
jmp 0x51a145
test ebx, ebx
je 0x51989c
jmp 0x51a1bd
mov byte [esi + 0x30], 0
xor eax, eax
dec eax
mov ecx, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], eax
xor eax, eax
jmp 0x5198f7
test ebx, ebx
je 0x51989c
jmp 0x51a184
test edi, edi
je 0x519832
jmp 0x51a1a9
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
cmp dword [eax + 0x18], 0x4f2cd0
jne 0x519712
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a016
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x70]
je 0x5197b9
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
cmp dword [eax + 8], 0x4f2f30
mov edi, dword [ecx + 8]
jne 0x5197df
test edi, edi
jne 0x51a0e3
cmp byte [ebx + 0xa4], 0
je 0x5197b9
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a005
mov edi, dword [ebx + 0x6c]
cmp edi, dword [ebx + 0x70]
je 0x519ca5
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
test eax, eax
jne 0x51a03e
xor ecx, ecx
cmp dword [ebx + 0x78], 0
jne 0x51a08a
mov edx, dword [edi + 0x28]
mov eax, dword [ebx]
cmp dword [eax + 0x24], 0x562590
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + 8]
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edi
jne 0x5197d2
test ebx, ebx
jne 0x51a064
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 8]
mov al, byte [eax + 0x35]
xor edx, edx
mov edi, dword [esi + 4]
cmp edi, 2
cmovne edx, edi
mov ecx, dword [ebx + 0x64]
cmp al, byte [ecx + 0x20]
cmovae edx, edi
mov edi, dword [esi + 0x10]
mov eax, dword [edi + 0x18]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x24]
mov edi, dword [edi + 0x20]
mov ecx, dword [esi + 4]
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 8]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x44], edx
mov al, 1
lea edx, [ebp + 8]
mov dword [esi + 4], eax
mov byte [esi + 0x48], al
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
mov dword [esi + 8], ecx
jne 0x519df2
cmp dword [ebx + 0x5c], 0
jne 0x519b08
lea edi, [esi + 0x49]
mov ecx, dword [edi + 3]
mov dword [esi + 0x73], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi]
mov dword [esi + 0x70], ecx
mov edi, dword [esi + 0x34]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x519f8a
mov ebx, dword [esi + 0xc]
mov al, byte [ebx + 0x110]
mov ecx, dword [esi + 4]
and cl, al
cmp cl, 1
mov dword [esi + 0x20], edi
jne 0x519a6b
mov eax, dword [ebx + 0xf8]
xor eax, dword [esi + 0x14]
mov ecx, dword [ebx + 0xfc]
xor ecx, edi
or ecx, eax
mov edi, dword [esi + 0x10]
jne 0x519999
mov eax, dword [ebx + 0x100]
xor eax, dword [esi + 0x18]
mov ecx, dword [ebx + 0x104]
xor ecx, dword [esi + 0x1c]
or ecx, eax
jne 0x519999
mov eax, dword [esi + 8]
cmp dword [ebx + 0x108], eax
jne 0x519999
cmp dword [ebx + 0x10c], edi
je 0x519540
mov eax, dword [ebx + 0xc]
mov edi, ebx
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x519f71
mov ecx, dword [esi + 0x14]
mov dword [edi + 0xf8], ecx
mov ecx, dword [esi + 0x20]
mov dword [edi + 0xfc], ecx
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x100], ecx
mov ebx, dword [esi + 0x1c]
mov dword [edi + 0x104], ebx
mov ecx, dword [esi + 8]
mov dword [edi + 0x108], ecx
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10c], ecx
mov ecx, dword [esi + 4]
mov byte [edi + 0x110], cl
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x73]
mov dword [edi + 0x111], ecx
mov dword [edi + 0x114], edx
mov eax, dword [eax + 8]
test eax, eax
jne 0x51a075
mov ecx, dword [edi + 0x58]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x50], eax
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 4]
mov byte [esi + 0x68], al
mov eax, dword [esi + 0x70]
mov dword [esi + 0x69], eax
mov eax, dword [esi + 0x73]
mov dword [esi + 0x6c], eax
sub esp, 0x28
movdqu xmm0, xmmword [esi + 0x50]
movups xmm1, xmmword [esi + 0x60]
movups xmmword [esp + 0x18], xmm1
movdqu xmmword [esp + 8], xmm0
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0051ae90
lea edx, [ebp + 8]
mov ebx, edi
jmp 0x519540
mov ecx, dword [esi + 4]
and cl, 1
cmp cl, al
je 0x519540
jmp 0x519999
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a1e2
cmp byte [ebx + 0xa4], 1
jne 0x5193d5
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a1fe
mov edi, dword [ebx + 0x5c]
mov ecx, ebx
call fcn.00440ab0
mov byte [esi + 4], al
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
call dword [0x6401dc]
sub esp, 0x2c
movaps xmm0, xmmword [esi + 0x30]
movaps xmm1, xmmword [esi + 0x40]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, byte [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
lea eax, [esi + 0x50]
mov dword [esp], eax
mov ecx, edi
call dword [esi + 8]
movdqu xmm0, xmmword [esi + 0x50]
movups xmm1, xmmword [esi + 0x60]
movaps xmmword [esi + 0x40], xmm1
movdqa xmmword [esi + 0x30], xmm0
mov eax, dword [ebx + 0xc]
lea edx, [ebp + 8]
jmp 0x5193d5
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a20f
cmp byte [ebx + 0xa4], 1
jne 0x519918
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a22b
mov edi, dword [ebx + 0x5c]
mov ecx, ebx
call fcn.00440ab0
mov byte [esi + 4], al
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
call dword [0x6401dc]
sub esp, 0x2c
movaps xmm0, xmmword [esi + 0x30]
movaps xmm1, xmmword [esi + 0x40]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, byte [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
lea eax, [esi + 0x50]
mov dword [esp], eax
mov ecx, edi
call dword [esi + 8]
movdqu xmm0, xmmword [esi + 0x50]
movups xmm1, xmmword [esi + 0x60]
movaps xmmword [esi + 0x40], xmm1
movdqa xmmword [esi + 0x30], xmm0
mov eax, dword [esi + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x10], eax
mov al, byte [esi + 0x48]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xc]
lea edx, [ebp + 8]
jmp 0x519918
mov eax, dword [edi]
mov ebx, dword [eax + 4]
cmp dword [eax + 8], 0x5b7be0
jne 0x519bc6
cmp ebx, 0x41d210
je 0x519bdc
mov ecx, ebx
call dword [0x6401dc]
mov ecx, edi
push 1
call ebx
lea edx, [ebp + 8]
jmp 0x51955d
mov eax, dword [edi + 0xc]
test eax, eax
je 0x519bec
lock dec dword [eax]
je 0x519c8c
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x519bf8
lock dec dword [ebx]
je 0x519c03
push edi
call fcn.00564050
add esp, 4
jmp 0x519bd4
lea ecx, [ebx + 8]
call fcn.0052e110
push ebx
call fcn.00564050
add esp, 4
jmp 0x519bf8
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
cmp dword [eax + 8], 0x5b7be0
jne 0x519c2c
cmp ecx, 0x41d210
je 0x519c44
mov dword [esi + 4], ecx
call dword [0x6401dc]
mov ecx, ebx
push 1
call dword [esi + 4]
lea edx, [ebp + 8]
jmp 0x5192a2
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x519c50
lock dec dword [eax]
je 0x519c81
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x519c5e
mov eax, ecx
lock dec dword [ecx]
je 0x519c69
push ebx
call fcn.00564050
add esp, 4
jmp 0x519c3c
mov dword [esi + 4], eax
lea ecx, [eax + 8]
call fcn.0052e110
push dword [esi + 4]
call fcn.00564050
add esp, 4
jmp 0x519c5e
push eax
call fcn.00564050
add esp, 4
jmp 0x519c50
push eax
call fcn.00564050
add esp, 4
jmp 0x519bec
int3
inc dword [ebx + 0x78]
jmp 0x51927d
push str....._third_partylibc_srcinclude_vector:618:_assertion__empty___failed:_front___called_on_an_empty_vector_n
push 0x624e92
call fcn.005912b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x51a2cc
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
lea edx, [ebp + 8]
jmp 0x5193cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x5191f3
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x51a2cf
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
jmp 0x519485
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test ebx, ebx
sete cl
cmp eax, edi
setne dl
or dl, cl
je 0x51a2c9
cmp edi, eax
lea edx, [ebp + 8]
mov eax, dword [esi + 0xc]
jne 0x51954f
lea edi, [eax + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x519d41
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x20]
mov dword [esi + 8], ecx
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51a2de
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x64]
mov ecx, dword [ecx + 8]
mov dword [esi + 4], ecx
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51a2eb
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x60]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x10], ecx
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51a2f8
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x6c]
mov dword [esi + 0x14], ecx
mov ebx, dword [eax + 0x70]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esi + 0x2c], 0x124
mov al, byte [0x64b570]
test al, al
jne 0x51a23c
lea edx, [ebp + 8]
jmp 0x51954f
mov bl, ch
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ch, bl
lea edx, [ebp + 8]
cmp edi, eax
je 0x519415
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519335
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x5192f1
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x51a2d2
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
lea edx, [ebp + 8]
jmp 0x51990e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 8]
cmp edi, eax
je 0x519352
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519383
int3
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x28], eax
je 0x5194e1
int3
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a309
mov ebx, dword [esi + 0xc]
cmp byte [ebx + 0x128], 1
lea edx, [ebp + 8]
jne 0x5191e5
mov al, byte [0x64b564]
test al, al
je 0x5191e5
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a31a
mov ebx, dword [esi + 0xc]
cmp byte [ebx + 0xa4], 0
lea edx, [ebp + 8]
jne 0x5191e5
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x51a32b
mov ebx, dword [esi + 0xc]
cmp byte [ebx + 0x130], 1
lea edx, [ebp + 8]
jne 0x5191e5
xor eax, eax
dec eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x220]
lea edi, [esi + 0x50]
push edi
call fcn.00560f50
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51a33c
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x128], 0
je 0x51a2c4
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0xc]
sub eax, dword [edx + 0x120]
mov ecx, dword [esi + 0x54]
sbb ecx, dword [edx + 0x124]
seto bl
mov edx, ecx
sar edx, 0x1f
test bl, bl
cmovne eax, edx
add edx, 0x80000000
test bl, bl
cmove edx, ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov dword [esi + 0x2c], 0x118
mov al, byte [0x64b564]
test al, al
jne 0x51a29a
lea edx, [ebp + 8]
mov ebx, dword [esi + 0xc]
jmp 0x5191e5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x51931a
int3
mov ecx, edi
call fcn.00562590
mov ecx, dword [edi + 8]
xor edx, edx
cmp al, byte [ecx + 0x35]
mov ecx, dword [esi + 8]
setbe dl
jmp 0x519360
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
jne 0x51a2d5
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
jmp 0x5199a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp ebx, eax
je 0x51993a
int3
mov ecx, dword [edx + 0x44]
xor ecx, dword [0x64a794]
lea edx, [esi + 0x50]
mov dword [edx + 4], ecx
add ebx, 0x144
xor ebx, dword [0x64a790]
movzx eax, al
mov dword [edx], ebx
lea ecx, [esi + 0x30]
mov dword [ecx], str.SequenceManager_PostTask
lea edi, [esi + 0x70]
push edx
push 3
push ecx
push edi
push eax
call fcn.005bfa90
lea edx, [ebp + 8]
add esp, 0x14
jmp 0x51916a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x51967f
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x51963f
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x51984d
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519811
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 8]
cmp edi, eax
je 0x51969c
int3
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
je 0x519867
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519383
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x51989c
int3
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x28], eax
je 0x519a05
int3
mov ecx, ebx
call fcn.00562590
mov ecx, dword [ebx + 8]
cmp al, byte [ecx + 0x35]
mov ecx, 0
setbe cl
jmp 0x519873
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519664
int3
mov ecx, edi
call fcn.00562590
mov ecx, dword [edi + 8]
xor edx, edx
cmp al, byte [ecx + 0x35]
mov ecx, dword [esi + 8]
setbe dl
jmp 0x5196aa
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519383
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519832
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x51931a
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x51975c
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519720
int3
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
je 0x519776
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x51989c
int3
mov ecx, ebx
call fcn.00562590
mov ecx, dword [ebx + 8]
cmp al, byte [ecx + 0x35]
mov ecx, 0
setbe cl
jmp 0x519782
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519745
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x51989c
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519664
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519832
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x51989c
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp + 8]
cmp edi, eax
je 0x519745
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x51a2d8
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
lea edx, [ebp + 8]
jmp 0x519a89
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519aa1
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x51a2db
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
lea edx, [ebp + 8]
jmp 0x519b13
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519b2b
int3
mov edx, dword [esi + 4]
add edx, dword [esi + 8]
sub ebx, dword [esi + 0x14]
sar ebx, 4
imul ecx, ebx, 0xb6db6db7
mov ebx, dword [esi + 0x10]
add ebx, ecx
add ebx, edx
movzx edi, al
mov eax, dword [esi + 0xc]
push dword [eax + 4]
call fcn.005d02a0
add esp, 4
lea ecx, [esi + 0x70]
mov dword [ecx], eax
mov dword [esi + 0x50], ebx
lea eax, [esi + 0x30]
mov dword [eax], 0x6279a7
xor edx, edx
lea ebx, [esi + 0x50]
push ebx
push eax
push edx
push 0x43
push 0x627728
push edx
push ecx
lea eax, [esi + 0x2c]
push eax
push edi
call fcn.005d02d0
add esp, 0x24
jmp 0x519dad
movzx ecx, al
lea eax, [esi + 0x30]
mov dword [esi + 0x50], eax
lea eax, [ebp + 8]
mov dword [esi + 0x54], eax
lea eax, [esi + 0x70]
mov dword [eax], str.task_posted_to_disabled_queue
lea edx, [esi + 0x2c]
push edi
push eax
call fcn.005d0760
add esp, 8
jmp 0x519f38
call fcn.005912b0
int3
int3
int3
int3
int3
int3
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x51a34d
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x51a358
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x519d86
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519e56
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519e84
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x519ea5
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x519ee1
int3
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
jmp 0x519d58
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
jmp 0x519d6f