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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov dword [esp + 8], ecx
lea esi, [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x98], eax
cmp byte [esi + 0x60], 0
je 0x461143
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push dword [eax]
push esi
call fcn.00481840
cmp dword [esi + 0x38], 0
jne 0x4613f2
cmp byte [esi + 0x46], 0
je 0x461153
mov eax, dword [esp + 8]
inc dword [eax + 0x80]
mov edi, dword [esp + 8]
lea esi, [edi + 0x70]
mov ebx, dword [edi + 0x74]
cmp ebx, dword [edi + 0x78]
jae 0x46149d
mov ecx, ebx
lea eax, [ebp + 8]
push eax
call fcn.00485460
add ebx, 0x58
mov dword [edi + 0x74], ebx
mov ecx, dword [esi]
mov eax, ebx
mov dword [esp + 0xc], ecx
sub eax, ecx
cmp eax, 0x59
jl 0x46122a
mov ecx, 0xba2e8ba3
mul ecx
shr edx, 6
lea eax, [edx - 2]
shr eax, 0x1f
lea edi, [edx + eax]
add edi, 0xfffffffe
sar edi, 1
imul esi, edi, 0x58
add esi, dword [esp + 0xc]
add ebx, 0xffffffa8
mov ecx, esi
push ebx
call fcn.00487c10
test al, al
je 0x46122a
xor eax, eax
dec eax
lea ecx, [esp + 0x40]
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 ebx
call fcn.00485460
mov ecx, ebx
mov ebx, esi
push esi
call fcn.004854d0
test edi, edi
je 0x461217
lea eax, [edi - 1]
shr eax, 0x1f
add edi, eax
dec edi
sar edi, 1
imul esi, edi, 0x58
add esi, dword [esp + 0xc]
mov ecx, esi
lea eax, [esp + 0x40]
push eax
call fcn.00487c10
test al, al
jne 0x4611e7
mov ecx, ebx
lea esi, [esp + 0x40]
push esi
call fcn.004854d0
mov ecx, esi
call fcn.004854a0
xor eax, eax
dec eax
lea ecx, [esp + 0x20]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx], xmm0
lea eax, [ebp + 8]
push dword [eax + 0x5c]
push dword [eax + 0x58]
call fcn.00484f30
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x70]
mov al, 1
cmp ecx, dword [edx + 0x74]
je 0x4613eb
mov dword [esp + 0x10], 0
cmp byte [edx + 0xac], 0
je 0x46166b
cmp dword [edx + 0x80], 0
je 0x461291
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x6c]
xor edx, edx
cmp byte [eax + 0x20], 5
setb dl
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x18]
mov dword [esp + 0xc], eax
mov esi, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x14], eax
mov bl, 1
xor eax, eax
mov ecx, dword [esp + 8]
mov cl, byte [ecx + 0xe8]
test cl, cl
setne dl
xor dl, bl
jne 0x4613c7
test cl, cl
je 0x4613c7
je 0x461672
test bl, bl
je 0x461675
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0xf0]
xor eax, dword [esp + 0xc]
mov ecx, dword [ecx + 0xf4]
xor ecx, esi
or ecx, eax
je 0x46139e
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], esi
mov eax, dword [esp + 0x14]
mov dword [edi + 0xf8], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0xfc], eax
cmp dword [edi + 0x64], 0
jne 0x4614b0
mov ecx, dword [edi + 0x60]
mov byte [esp + 0x40], bl
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
sub esp, 0x20
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x14], xmm0
movdqu xmm0, xmmword [esp + 0x60]
movdqu xmmword [esp + 4], xmm0
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp], edi
call fcn.00483dc0
test byte [0x5227d0], 9
jne 0x46154a
lea ecx, [ebp + 8]
call fcn.004854a0
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.0048a678
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0xf8]
jne 0x4612f1
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0xfc], ecx
je 0x461371
jmp 0x4612f1
test dl, dl
je 0x461371
test al, al
je 0x46150e
test cl, cl
mov edi, dword [esp + 8]
je 0x461323
mov byte [edi + 0xe8], 0
jmp 0x461323
xor ebx, ebx
jmp 0x4612a6
mov eax, dword [esp + 8]
cmp byte [eax + 0x108], 0
je 0x461143
test byte [0x522734], 9
je 0x461143
mov eax, dword [esp + 8]
cmp byte [eax + 0xac], 0
jne 0x461143
mov eax, dword [esp + 8]
cmp byte [eax + 0x118], 0
je 0x461143
mov ebx, dword [esp + 8]
mov edi, dword [ebx]
xor eax, eax
dec eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x60]
mov eax, dword [ecx]
lea esi, [esp + 0x20]
push esi
call dword [eax + 8]
cmp byte [ebx + 0x108], 1
jne 0x4616b3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
sub eax, dword [edx + 0x110]
mov ecx, dword [esp + 0x24]
sbb ecx, dword [edx + 0x114]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], edi
lea eax, [ebp + 8]
mov dword [esp + 0x38], eax
test byte [0x522734], 0x19
jne 0x461692
lea esi, [ebp + 8]
jmp 0x461143
mov ecx, esi
lea eax, [ebp + 8]
push eax
call fcn.00483c90
mov ebx, dword [edi + 0x74]
jmp 0x461177
mov eax, dword [edi + 0x68]
cmp dword [eax + 8], 0
jne 0x461323
mov eax, dword [edi + 0x6c]
cmp dword [eax + 8], 0
jne 0x461323
lea eax, [edi + 0x10]
mov dword [esp + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x461678
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esp + 0x1c], 0
jne 0x461323
mov ecx, dword [edi + 0x64]
mov eax, dword [ecx]
push esi
push dword [esp + 0x10]
call dword [eax + 4]
jmp 0x461323
test cl, cl
jne 0x4612f1
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], esi
mov eax, dword [esp + 0x14]
mov dword [edi + 0xf8], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0xfc], eax
mov byte [edi + 0xe8], 1
jmp 0x461319
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
mov esi, dword [eax + 4]
call fcn.00470b00
cmp esi, eax
jne 0x46137e
mov eax, dword [esp + 8]
lea ebx, [eax + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x461686
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x68]
mov ecx, dword [edx + 0x6c]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov edi, dword [edx + 0x74]
mov esi, dword [edx + 0x70]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test byte [0x5227d0], 0x19
je 0x46137e
sub edi, esi
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x10]
sar edi, 3
imul eax, edi, 0xba2e8ba3
add ebx, eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
call fcn.00470b00
mov dword [esp + 0xc], eax
lea esi, [esp + 0x38]
xor eax, eax
dec eax
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call fcn.00470f50
add esp, 4
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x40]
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
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5227d0
mov dword [esp], 0x43
call fcn.00474ee0
add esp, 0x30
mov ecx, edi
call fcn.00475ef0
jmp 0x46137e
xor ebx, ebx
jmp 0x4612a6
int3
int3
mov ecx, dword [esp + 0x18]
call fcn.00470630
jmp 0x4614e0
mov ecx, ebx
call fcn.00470630
jmp 0x461577
lea eax, [esp + 0x38]
lea edi, [esp + 0x40]
mov ecx, str.task_posted_to_disabled_queue
xor edx, edx
push eax
push edi
push esi
push 0
call fcn.004f71f0
add esp, 0x10
jmp 0x461495
int3