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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, esp
mov dword [esi + 0xc], ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esi + 0xe8], eax
cmp dword [ebp + 8], 0
je 0x486b4c
lea edi, [ebp + 8]
lea ecx, [edi + 0x18]
call fcn.00470f00
cmp eax, 0x20
sbb edx, 0
setl al
movzx eax, al
mov dword [esi + 0x18], eax
cmp dword [edi + 0x30], 0
jne 0x486a3b
xor edi, edi
dec edi
lea eax, [esi + 0x30]
mov dword [eax + 4], edi
mov dword [eax], edi
mov ebx, dword [esi + 0xc]
mov ecx, dword [ebx + 4]
push eax
call fcn.00483360
lea edx, [esi + 0x28]
mov dword [edx], edi
mov dword [esi + 0x14], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
lea eax, [ebp + 8]
mov edx, dword [eax + 0x18]
mov edi, dword [eax + 0x1c]
mov eax, edx
xor ecx, ecx
inc ecx
add eax, ecx
mov ecx, edi
mov ebx, 0x80000000
adc ecx, ebx
cmp eax, 2
sbb ecx, 0
lea eax, [esi + 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jb 0x486b4f
add ecx, edx
adc eax, edi
seto dl
mov edi, eax
sar edi, 0x1f
mov ebx, edi
xor ebx, 0x80000000
test dl, dl
cmove edi, ecx
mov dword [esi + 8], edi
test dl, dl
cmove ebx, eax
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
call fcn.00483320
test al, al
je 0x486557
movsd xmm0, qword [esi + 0x28]
lea eax, [ebp + 8]
movsd qword [eax + 0x28], xmm0
mov dword [esi + 0x20], esp
sub esp, 0x64
mov ebx, esp
mov dword [esi + 0x1c], esp
movq xmm0, qword [esi + 0x28]
movq qword [ebx + 0x58], xmm0
sub esp, 0x4c
mov edi, esp
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x30], eax
mov ecx, edi
lea eax, [ebp + 8]
push eax
call fcn.00488ec0
mov eax, dword [esi + 0x18]
mov dword [edi + 0x48], eax
mov ecx, ebx
call fcn.00488c80
mov esp, dword [esi + 0x1c]
mov byte [ebx + 0x60], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push dword [eax]
push ebx
call fcn.00483350
xor eax, eax
cmp dword [ebx + 0x38], eax
mov dword [esi + 0x18], ebx
jne 0x48689e
cmp byte [ebx + 0x49], 0
je 0x4865db
mov eax, dword [esi + 0xc]
inc dword [eax + 0x88]
mov ebx, dword [esi + 0xc]
lea eax, [ebx + 0x78]
mov dword [esi + 8], eax
mov edi, dword [ebx + 0x7c]
cmp edi, dword [ebx + 0x80]
jae 0x48694b
mov ecx, edi
push dword [esi + 0x18]
call fcn.00488d70
add edi, 0x58
mov dword [ebx + 0x7c], edi
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, edi
mov dword [esi + 8], ecx
sub eax, ecx
cmp eax, 0x59
jl 0x4866af
mov ecx, 0xba2e8ba3
mul ecx
mov ebx, edx
shr ebx, 6
add ebx, 0xfffffffe
shr ebx, 1
imul ecx, ebx, 0x58
add ecx, dword [esi + 8]
add edi, 0xffffffa8
mov dword [esi + 0x10], ecx
push edi
call fcn.00485980
test al, al
je 0x4866af
xor eax, eax
dec eax
lea ecx, [esi + 0x60]
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x50], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
push edi
call fcn.00488d70
mov ecx, edi
mov edi, dword [esi + 0x10]
push edi
call fcn.00488de0
test ebx, ebx
je 0x48669d
lea eax, [ebx - 1]
shr eax, 0x1f
add ebx, eax
dec ebx
sar ebx, 1
imul ecx, ebx, 0x58
add ecx, dword [esi + 8]
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x60]
push eax
call fcn.00485980
test al, al
jne 0x48666d
mov ecx, edi
lea edi, [esi + 0x60]
push edi
call fcn.00488de0
mov ecx, edi
call fcn.00488db0
pcmpeqd xmm0, xmm0
lea ecx, [esi + 0x40]
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov eax, dword [esi + 0x18]
push dword [eax + 0x5c]
push dword [eax + 0x58]
call fcn.00488890
mov eax, dword [0x519b29]
mov dword [esi + 0x38], eax
mov eax, dword [0x519b2c]
mov dword [esi + 0x3b], eax
mov eax, dword [0x519b44]
mov dword [esi + 0xe0], eax
movq xmm0, qword [0x519b3c]
movq qword [esi + 0xd8], xmm0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x78]
cmp eax, dword [ecx + 0x7c]
je 0x48693b
mov dword [esi + 8], 0
cmp byte [ecx + 0xb4], 0
je 0x486ca9
cmp dword [ecx + 0x88], 0
je 0x486736
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x74]
xor edx, edx
cmp byte [ecx + 0x20], 5
setb dl
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x24]
mov dword [esi + 0x14], eax
mov bl, 1
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0x6c]
test edi, edi
jne 0x48695e
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0xf8]
test cl, cl
setne dl
test bl, bl
setne al
xor al, dl
jne 0x486894
test cl, cl
je 0x486894
test bl, bl
je 0x486cbc
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x100]
xor eax, dword [esi + 0x10]
mov ecx, dword [ecx + 0x104]
xor ecx, dword [esi + 0x14]
or ecx, eax
jne 0x4867a8
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp dword [eax + 0x108], ecx
je 0x48685d
mov edx, dword [esi + 0xc]
mov byte [edx + 0xf8], bl
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3b]
mov dword [edx + 0xfc], ecx
mov dword [edx + 0xf9], eax
mov ecx, dword [esi + 0x10]
mov dword [edx + 0x100], ecx
mov edi, dword [esi + 0x14]
mov dword [edx + 0x104], edi
mov dword [esi + 0x24], ebx
mov ebx, dword [esi + 8]
mov dword [edx + 0x108], ebx
mov eax, dword [esi + 0xe0]
mov dword [edx + 0x114], eax
movsd xmm0, qword [esi + 0xd8]
movsd qword [edx + 0x10c], xmm0
mov eax, dword [edx + 0x68]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
mov byte [esi + 0x60], al
mov eax, dword [esi + 0x38]
mov dword [esi + 0x61], eax
mov eax, dword [esi + 0x3b]
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], ebx
mov eax, dword [esi + 0xe0]
mov dword [esi + 0x7c], eax
movsd xmm0, qword [esi + 0xd8]
movsd qword [esi + 0x74], xmm0
sub esp, 0x28
movdqu xmm0, xmmword [esi + 0x60]
movups xmm1, xmmword [esi + 0x70]
movups xmmword [esp + 0x14], xmm1
movdqu xmmword [esp + 4], xmm0
lea eax, [esi + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp], edx
mov ecx, dword [esi + 0x1c]
call fcn.00487840
test byte [0x52381c], 9
jne 0x486b89
mov ecx, dword [esi + 0x18]
call fcn.00488db0
mov esp, dword [esi + 0x20]
lea ecx, [ebp + 8]
call fcn.00488d40
mov ecx, dword [esi + 0xe8]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x34
test al, al
jne 0x4867a8
jmp 0x48685d
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x120], 0
je 0x4865cc
test byte [0x523780], 9
je 0x4865cc
mov eax, dword [esi + 0xc]
cmp byte [eax + 0xb4], 0
jne 0x4865cc
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x138], 0
je 0x4865cc
mov edi, dword [esi + 0xc]
mov ebx, dword [edi]
mov ecx, dword [edi + 0x68]
mov eax, dword [ecx]
lea edx, [esi + 0x60]
push edx
call dword [eax + 8]
cmp byte [edi + 0x120], 0
je 0x486d3e
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0xc]
sub eax, dword [edx + 0x128]
mov ecx, dword [esi + 0x64]
sbb ecx, dword [edx + 0x12c]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x18]
mov dword [esi + 0xd8], eax
test byte [0x523780], 0x19
jne 0x486d0c
mov ebx, dword [esi + 0x18]
jmp 0x4865cc
xor ebx, ebx
xor eax, eax
dec eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
jmp 0x486744
mov ecx, dword [esi + 8]
push dword [esi + 0x18]
call fcn.00487720
mov edi, dword [ebx + 0x7c]
jmp 0x486603
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0xb4], 0
je 0x486752
call fcn.004648a0
mov byte [esi + 0xb8], bl
mov ecx, dword [0x519b29]
mov dword [esi + 0xb9], ecx
mov ecx, dword [0x519b2c]
mov dword [esi + 0xbc], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc4], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc0], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0xc8], ecx
movsd xmm0, qword [0x519b3c]
movsd qword [esi + 0xcc], xmm0
mov ecx, dword [0x519b44]
mov dword [esi + 0xd4], ecx
mov edx, dword [edi]
sub esp, 0x2c
movups xmm0, xmmword [esi + 0xb8]
movups xmm1, xmmword [esi + 0xc8]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, al
mov dword [esp + 0x28], eax
lea eax, [esi + 0x40]
mov dword [esp + 4], eax
lea ebx, [esi + 0x60]
mov dword [esp], ebx
mov ecx, edi
call dword [edx + 8]
mov ecx, ebx
mov bl, byte [ebx]
mov eax, dword [ecx + 1]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x3b], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0xe0], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x10], eax
movq xmm0, qword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov dword [esi + 8], eax
movq qword [esi + 0xd8], xmm0
jmp 0x486752
xor eax, eax
dec eax
lea edx, [esi + 0x60]
mov dword [edx + 4], eax
mov dword [edx], eax
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 4]
push edx
call fcn.00483360
lea ebx, [edi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x486cec
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
lea edi, [esi + 0xb8]
push edi
call dword [eax + 8]
mov eax, dword [edi]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esi + 8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea eax, [ebp + 8]
mov ebx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov eax, ebx
xor edi, edi
inc edi
add eax, edi
mov ecx, edx
mov edi, 0x80000000
adc ecx, edi
cmp eax, 2
sbb ecx, 0
jb 0x486cbe
add ebx, dword [esi + 0x14]
adc edx, dword [esi + 8]
seto al
mov ecx, edx
sar ecx, 0x1f
mov edi, ecx
xor edi, 0x80000000
test al, al
cmovne ebx, ecx
test al, al
cmovne edx, edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x10], edx
mov ebx, dword [esi + 0xc]
mov ecx, dword [ebx + 4]
call fcn.00483320
test al, al
jne 0x486b3b
mov dword [esi + 0x14], esp
sub esp, 0x58
mov dword [esi + 0x1c], esp
mov dword [esi + 8], esp
sub esp, 0x4c
mov edi, esp
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x30], eax
mov ecx, edi
lea eax, [ebp + 8]
push eax
call fcn.00488ec0
mov eax, dword [esi + 0x18]
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 0x1c]
call fcn.00488c80
mov esp, dword [esi + 8]
mov ecx, ebx
call fcn.004644d0
mov esp, dword [esi + 0x14]
jmp 0x486875
lea eax, [ebp + 8]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x2c], ecx
jmp 0x486adf
int3
mov dword [esi + 0x10], edi
mov dword [esi + 8], edx
mov edx, ecx
xor edi, edi
inc edi
add edx, edi
mov ebx, 0x80000000
adc ebx, eax
mov dword [esi + 0x20], 0
xor edi, edi
inc edi
cmp edi, edx
sbb dword [esi + 0x20], ebx
jb 0x48653b
xor ecx, dword [esi + 8]
xor eax, dword [esi + 0x10]
or eax, ecx
je 0x48653b
int3
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov edi, dword [eax + 4]
call fcn.00471720
cmp edi, eax
jne 0x48686a
mov eax, dword [esi + 0xc]
lea edi, [eax + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x486d00
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x28]
mov dword [esi + 8], eax
mov eax, dword [edx + 0x70]
mov ecx, dword [edx + 0x74]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x14], ecx
mov eax, dword [eax + 8]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x7c]
mov dword [esi + 0x1c], eax
mov ebx, dword [edx + 0x78]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test byte [0x52381c], 0x19
je 0x48686a
mov eax, dword [esi + 0x1c]
sub eax, ebx
mov ebx, dword [esi + 0x14]
add ebx, dword [esi + 8]
add ebx, dword [esi + 0x10]
sar eax, 3
imul eax, eax, 0xba2e8ba3
add ebx, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
call fcn.00471720
mov dword [esi + 0x14], eax
xor eax, eax
dec eax
lea ecx, [esi + 0xb8]
mov dword [ecx + 4], eax
mov dword [ecx], eax
push ecx
call fcn.00471b70
add esp, 4
pcmpeqd xmm0, xmm0
lea edi, [esi + 0x60]
movdqa xmmword [edi], xmm0
movdqa xmmword [edi + 0x10], xmm0
mov word [edi], 0x301
mov dword [edi + 4], str.value
mov eax, ebx
sar eax, 0x1f
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], ebx
sub esp, 0x30
lea eax, [esi + 0xb8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov eax, dword [esi + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x52381c
mov dword [esp], 0x43
call fcn.00475e40
add esp, 0x30
mov ecx, edi
call fcn.00476d80
jmp 0x48686a
xor eax, eax
dec eax
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
jmp 0x486744
ud2
mov dword [esi + 0x10], edx
mov eax, dword [esi + 0x14]
xor edx, edx
inc edx
add eax, edx
adc edi, dword [esi + 8]
xor ecx, ecx
cmp edx, eax
sbb ecx, edi
jb 0x486cf8
mov eax, dword [esi + 0x14]
xor eax, ebx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x10]
xor ecx, edx
or ecx, eax
je 0x486aca
int3
mov ecx, ebx
call fcn.00471200
jmp 0x486a64
mov edx, dword [esi + 0x10]
jmp 0x486aca
mov ecx, edi
call fcn.00471200
jmp 0x486bb4
lea eax, [esi + 0x40]
mov dword [esi + 0x60], eax
lea eax, [esi + 0xb8]
mov dword [esi + 0x64], eax
lea eax, [esi + 0xd8]
mov dword [esi + 0x68], eax
mov ecx, str.task_posted_to_disabled_queue
xor edx, edx
lea eax, [esi + 0x60]
push eax
push 0
call fcn.004fa030
add esp, 8
jmp 0x486933
call fcn.004b7b30
int3