Function at 0x50e2e0
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 edi, ecx
lea edx, [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esi + 0x78], eax
cmp byte [ebp + 0x7c], 0
mov dword [esi + 4], ecx
je 0x50e439
mov eax, dword [edi + 8]
mov ebx, dword [eax + 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 8]
cmp edi, 0x563fd0
jne 0x50e419
mov dword [esi + 0x2c], 0x92
movzx eax, byte [0x6494ce]
test al, al
jne 0x50ea02
cmp dword [edx + 0x2c], 0
mov edi, dword [esi + 4]
jne 0x50e42f
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x160]
test eax, eax
jne 0x50e3a8
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x15c]
test eax, eax
je 0x50e42f
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 0x50e3b6
cmp dword [eax + 0x38], 0
setne al
mov byte [edx + 0x48], al
jmp 0x50e42f
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x40], ecx
mov eax, dword [eax + 8]
mov dword [edx + 0x3c], eax
jmp 0x50e360
mov al, 1
mov byte [edx + 0x48], al
jmp 0x50e42f
lock dec dword [edi]
jne 0x50e4f2
mov ecx, dword [edi + 8]
call dword [0x63e64c]
push edi
call ecx
lea eax, [ebp + 8]
add esp, 4
jmp 0x50e4f2
mov byte [esi + 0x30], 0
xor edx, edx
dec edx
xor ecx, ecx
mov eax, edx
mov dword [esi + 8], edx
mov dword [esi + 0x10], edx
jmp 0x50e58c
lock dec dword [eax]
jne 0x50e4d9
push eax
call fcn.00564ea0
add esp, 4
jmp 0x50e4d9
lock dec dword [edi + 4]
jne 0x50e4e7
jmp 0x50e76e
mov ecx, edi
call dword [0x63e64c]
mov ecx, ebx
lea eax, [ebp + 8]
push eax
call edi
lea edx, [ebp + 8]
mov edi, dword [esi + 4]
cmp dword [edx + 0x3c], 0
jne 0x50e952
mov dword [esi], esp
push eax
sub esp, 0x6c
mov ebx, esp
movups xmm0, xmmword [edx]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmm1, xmmword [edx + 0x20]
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx + 0x20], xmm1
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [edx + 0x39]
movups xmmword [ebx + 0x39], xmm0
mov eax, dword [edx + 0x50]
mov dword [ebx + 0x50], eax
mov dword [edx + 0x50], 0
movzx ecx, byte [edx + 0x5a]
mov byte [ebx + 0x5a], cl
movzx ecx, word [edx + 0x58]
mov word [ebx + 0x58], cx
mov ecx, dword [edx + 0x5c]
mov dword [ebx + 0x5c], ecx
mov dword [edx + 0x5c], 0
movq xmm0, qword [edx + 0x60]
movq qword [ebx + 0x60], xmm0
mov ecx, dword [edx + 0x68]
mov dword [ebx + 0x68], ecx
mov dword [edx + 0x68], 0
mov ecx, dword [edx + 0x6c]
mov dword [ebx + 0x6c], ecx
test eax, eax
je 0x50e8bb
lea ecx, [edi + 0x68]
cmp byte [ebx + 0x59], 0
jne 0x50e8be
lea edx, [esi + 0x58]
push ebx
call fcn.0050eaf0
add esp, 4
mov eax, dword [ebx + 0x68]
test eax, eax
jne 0x50e3f3
mov edi, dword [ebx + 0x5c]
test edi, edi
lea eax, [ebp + 8]
jne 0x50e40a
mov edi, dword [ebx + 0x50]
test edi, edi
jne 0x50e3bd
mov esp, dword [esi]
mov eax, dword [eax + 0x70]
mov dword [esi + 0x18], eax
mov edi, dword [esi + 4]
mov eax, dword [edi]
cmp dword [eax + 0x4c], 0x535dc0
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
cmp dword [eax + 0x18], 0x4ee1e0
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x70]
je 0x50e3dd
cmp byte [edi + 0xa4], 0
je 0x50e3dd
cmp dword [edi + 0x78], 0
mov ecx, dword [edi + 0x64]
mov ebx, dword [ecx + 0x20]
jne 0x50e8c6
mov edx, dword [edi + 8]
movzx ecx, byte [edx + 0x35]
mov dword [esi], 0
mov edi, dword [eax + 0x28]
xor edx, edx
cmp edi, 2
cmovne edx, edi
cmp cl, bl
cmovae edx, edi
mov ecx, dword [eax + 0x18]
mov edi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edi
mov dword [esi + 8], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esi]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov cl, 1
mov edi, dword [esi + 4]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x48], cl
mov ebx, dword [edi + 0x5c]
test ebx, ebx
mov dword [esi], eax
jne 0x50e81d
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
movzx ecx, byte [eax + 0x110]
mov eax, dword [esi + 0xc]
test al, al
je 0x50e711
test cl, cl
je 0x50e711
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 0xf8]
xor ecx, edi
mov eax, dword [ebx + 0xfc]
xor eax, dword [esi + 0x14]
or eax, ecx
jne 0x50e609
mov eax, dword [ebx + 0x100]
xor eax, dword [esi + 8]
mov ecx, dword [ebx + 0x104]
xor ecx, dword [esi + 0x10]
or ecx, eax
jne 0x50e609
mov eax, dword [esi]
cmp dword [ebx + 0x108], eax
jne 0x50e609
cmp dword [ebx + 0x10c], edx
je 0x50e6bb
mov dword [esi + 0x1c], edi
mov dword [ebx + 0xf8], edi
mov eax, dword [esi + 0x14]
mov dword [ebx + 0xfc], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x100], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x104], eax
mov dword [esi + 0x20], edx
mov edi, dword [esi]
mov dword [ebx + 0x108], edi
mov dword [ebx + 0x10c], edx
mov edx, dword [esi + 0xc]
mov byte [ebx + 0x110], dl
lea edi, [esi + 0x49]
mov ecx, dword [edi]
mov edx, dword [edi + 3]
mov dword [ebx + 0x111], ecx
mov dword [ebx + 0x114], edx
mov edx, dword [ebx + 0x58]
mov dword [esi + 0x24], edx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x64], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x60], eax
mov eax, dword [esi]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xc]
mov byte [esi + 0x70], al
mov eax, dword [edi + 3]
mov dword [esi + 0x74], eax
mov eax, dword [edi]
mov dword [esi + 0x71], eax
sub esp, 0x28
movdqu xmm0, xmmword [esi + 0x58]
movups xmm1, xmmword [esi + 0x68]
movups xmmword [esp + 0x18], xmm1
movdqu xmmword [esp + 8], xmm0
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov ecx, dword [esi + 0x24]
call fcn.0050f670
movzx eax, byte [0x64955e]
test al, al
lea ecx, [ebp + 8]
jne 0x50e8da
mov eax, dword [ecx + 0x68]
test eax, eax
jne 0x50e6fe
mov edi, dword [ecx + 0x5c]
test edi, edi
jne 0x50e6f6
mov edi, dword [ecx + 0x50]
test edi, edi
jne 0x50e722
mov ecx, dword [esi + 0x78]
xor ecx, ebp
call fcn.00568175
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x78
lock dec dword [edi + 4]
jne 0x50e6db
jmp 0x50e738
lock dec dword [eax]
jne 0x50e6d4
push eax
call fcn.00564ea0
lea ecx, [ebp + 8]
add esp, 4
jmp 0x50e6d4
test al, al
setne al
cmp al, cl
mov ebx, dword [esi + 4]
je 0x50e6bb
jmp 0x50e609
lock dec dword [edi]
jne 0x50e6e2
mov ecx, dword [edi + 8]
call dword [0x63e64c]
push edi
call ecx
add esp, 4
jmp 0x50e6e2
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp dword [ecx + 8], 0x5b9470
test eax, eax
je 0x50e751
lock dec dword [eax]
je 0x50e8ad
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x50e75d
lock dec dword [ebx]
je 0x50e7a4
push edi
call fcn.00564ea0
add esp, 4
lea ecx, [ebp + 8]
jmp 0x50e6db
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp dword [ecx + 8], 0x5b9470
test eax, eax
je 0x50e787
lock dec dword [eax]
je 0x50e89f
mov eax, dword [edi + 8]
test eax, eax
je 0x50e793
lock dec dword [eax]
je 0x50e7db
push edi
call fcn.00564ea0
add esp, 4
lea eax, [ebp + 8]
jmp 0x50e4e7
mov eax, dword [ebx + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x50ea52
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 4]
call fcn.00407270
push ebx
call fcn.00564ea0
add esp, 4
jmp 0x50e75d
mov dword [esi + 0xc], eax
mov eax, dword [eax + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x50ea44
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10], 0
lea ecx, [eax + 4]
call fcn.00407270
push dword [esi + 0xc]
call fcn.00564ea0
add esp, 4
jmp 0x50e793
cmp byte [edi + 0xa4], 0
je 0x50e59f
mov ecx, dword [esi + 4]
call fcn.0043f3c0
mov byte [esi], al
mov eax, dword [ebx]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x63e64c]
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]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
lea eax, [esi + 0x58]
mov dword [esp], eax
mov ecx, ebx
call edi
movdqu xmm0, xmmword [esi + 0x58]
movups xmm1, xmmword [esi + 0x68]
movaps xmmword [esi + 0x40], xmm1
movdqa xmmword [esi + 0x30], xmm0
mov eax, dword [esi + 0x38]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x40]
mov dword [esi], eax
mov edx, dword [esi + 0x44]
mov al, byte [esi + 0x48]
mov dword [esi + 0xc], eax
jmp 0x50e59f
push eax
call fcn.00564ea0
add esp, 4
jmp 0x50e787
push eax
call fcn.00564ea0
add esp, 4
jmp 0x50e751
int3
inc dword [edi + 0x78]
jmp 0x50e4c2
mov edx, dword [edi + 8]
mov cl, byte [edx + 0x35]
xor edx, edx
cmp cl, bl
setae dl
mov dword [esi], edx
jmp 0x50e551
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebp + 8]
cmp edi, eax
jne 0x50e6cd
mov eax, dword [esi + 4]
lea edi, [eax + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x50e90c
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x64]
mov ecx, dword [ecx + 8]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [edx + 0x70]
mov dword [esi + 0x14], eax
mov ebx, dword [edx + 0x6c]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esi + 0x28], 0x122
mov al, byte [0x64955e]
test al, al
jne 0x50ea60
lea ecx, [ebp + 8]
jmp 0x50e6cd
cmp byte [edi + 0x128], 0
je 0x50e439
mov al, byte [0x649552]
test al, al
je 0x50e439
cmp byte [edi + 0xa4], 0
jne 0x50e439
cmp byte [edi + 0x130], 0
je 0x50e439
xor eax, eax
dec eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x218]
mov ebx, edi
lea edi, [esi + 0x58]
push edi
call fcn.00562740
cmp byte [ebx + 0x128], 0
je 0x50eae9
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 4]
sub eax, dword [edx + 0x120]
mov ecx, dword [esi + 0x5c]
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 + 0x28], 0x116
mov al, byte [0x649552]
test al, al
jne 0x50eabf
lea edx, [ebp + 8]
mov edi, dword [esi + 4]
jmp 0x50e439
mov ecx, dword [edx + 0x44]
xor ecx, dword [0x648784]
lea edx, [esi + 0x58]
mov dword [edx + 4], ecx
add ebx, 0x14c
xor ebx, dword [0x648780]
movzx eax, al
mov dword [edx], ebx
lea ecx, [esi + 0x30]
mov dword [ecx], str.SequenceManager_PostTask
lea edi, [esi + 0x2c]
push edx
push 3
push ecx
push edi
push eax
call fcn.005c0c80
lea edx, [ebp + 8]
add esp, 0x14
jmp 0x50e33a
push eax
call fcn.004f0f10
add esp, 4
jmp 0x50e7fb
push eax
call fcn.004f0f10
add esp, 4
jmp 0x50e7c1
mov edx, dword [esi + 0xc]
add edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
sub ecx, ebx
sar ecx, 4
imul ecx, ecx, 0xb6db6db7
mov ebx, dword [esi]
add ebx, ecx
add ebx, edx
movzx edi, al
mov eax, dword [esi + 4]
push dword [eax + 4]
call fcn.005d0150
add esp, 4
lea ecx, [esi + 0x2c]
mov dword [ecx], eax
mov dword [esi + 0x58], ebx
lea eax, [esi + 0x30]
mov dword [eax], 0x626b4f
xor edx, edx
lea ebx, [esi + 0x58]
push ebx
push eax
push edx
push 0x43
push 0x626958
push edx
push ecx
lea eax, [esi + 0x28]
push eax
push edi
call fcn.005d0180
add esp, 0x24
jmp 0x50e94a
movzx ecx, al
lea eax, [esi + 0x30]
mov dword [esi + 0x58], eax
lea eax, [ebp + 8]
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x2c]
mov dword [eax], str.task_posted_to_disabled_queue
lea edx, [esi + 0x28]
push edi
push eax
call fcn.005d07b0
add esp, 8
jmp 0x50e9f7
call fcn.00591ed0
int3