Function at 0x58b360
Capabilities:
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 esi, esp
mov ebx, ecx
lea edi, [ebp + 8]
mov eax, dword [0x808040]
xor eax, ebp
mov dword [esi + 0x88], eax
cmp byte [ebp + 0x7c], 1
mov dword [esi + 0xc], ecx
jne 0x58b3a2
mov ecx, dword [ebx + 8]
push edi
call fcn.00574d20
mov ebx, dword [esi + 0xc]
cmp dword [edi + 0x3c], 0
jne 0x58b811
mov ecx, dword [ebx + 0xc]
call fcn.0058fda0
mov eax, edi
mov ebx, esp
sub esp, 0x70
mov edi, esp
mov ecx, edi
push eax
call fcn.00592010
cmp dword [edi + 0x50], 0
je 0x58b772
mov eax, dword [esi + 0xc]
lea ecx, [eax + 0x68]
cmp byte [edi + 0x59], 1
je 0x58b775
lea eax, [esi + 0x58]
push edi
push eax
call fcn.0058d7f0
mov ecx, edi
call fcn.00592060
mov esp, ebx
lea ebx, [ebp + 8]
mov edi, dword [ebx + 0x70]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
cmp dword [eax + 0x4c], 0x58d300
jne 0x58b6d8
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
cmp dword [eax + 0x18], 0x58c080
mov dword [esi + 0x24], edi
je 0x58b450
lea eax, [esi + 0x30]
push eax
mov edi, ecx
call fcn.0058c080
jmp 0x58b500
mov byte [esi + 0x30], 0
xor eax, eax
jmp 0x58b4fa
call fcn.0058d2e0
mov ecx, dword [esi + 0xc]
test al, al
jne 0x58b482
jmp 0x58b42a
call fcn.0058c4e0
mov edx, dword [esi + 0xc]
jmp 0x58b4d4
mov ecx, dword [ecx + 0xc]
call fcn.0058fda0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x6c]
cmp eax, dword [ecx + 0x70]
je 0x58b42a
mov eax, dword [ecx]
cmp dword [eax + 8], 0x58d2e0
jne 0x58b435
mov ecx, dword [ecx + 0xc]
call fcn.0058fda0
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x9c], 0
je 0x58b42a
mov ecx, dword [ecx + 0xc]
call fcn.0058fda0
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0x6c]
cmp edi, dword [eax + 0x70]
je 0x58b780
mov ecx, dword [eax + 0xc]
call fcn.0058fda0
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], 0
cmp dword [ecx + 0x78], 0
jne 0x58b8f4
mov ebx, dword [edi + 0x28]
mov eax, dword [ecx]
cmp dword [eax + 0x24], 0x58c4e0
jne 0x58b443
mov ecx, dword [ecx + 0xc]
call fcn.0058fda0
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x64]
mov al, byte [eax + 0x20]
xor ecx, ecx
cmp ebx, 2
cmovne ecx, ebx
mov edx, dword [edx + 8]
cmp al, byte [edx + 0x35]
cmovbe ecx, ebx
movdqu xmm0, xmmword [edi + 0x18]
movdqa xmmword [esi + 0x30], xmm0
mov eax, dword [esi + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov al, 1
mov byte [esi + 0x48], al
mov edi, dword [esi + 0xc]
lea ebx, [esi + 0x49]
mov ecx, dword [edi + 0xc]
call fcn.0058fda0
cmp dword [edi + 0x5c], 0
mov ecx, edi
jne 0x58b6f2
mov eax, dword [esi + 0x30]
mov dword [esi + 0x14], eax
mov edi, dword [esi + 0x34]
mov eax, dword [ebx + 3]
mov dword [esi + 0x83], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x18], eax
mov eax, dword [ebx]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x28], eax
mov bl, byte [esi + 0x48]
mov eax, dword [esi + 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x1c], eax
mov ecx, dword [ecx + 0xc]
call fcn.0058fda0
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x108]
mov byte [esi + 0x13], bl
test bl, 1
je 0x58b6e3
test al, al
je 0x58b6e3
mov eax, dword [edx + 0xf0]
xor eax, dword [esi + 0x14]
mov ecx, dword [edx + 0xf4]
xor ecx, edi
or ecx, eax
jne 0x58b5b6
mov eax, dword [edx + 0xf8]
xor eax, dword [esi + 0x28]
mov ecx, dword [edx + 0xfc]
xor ecx, dword [esi + 0x18]
or ecx, eax
jne 0x58b5b6
mov eax, dword [esi + 0x20]
cmp dword [edx + 0x100], eax
jne 0x58b5b6
mov eax, dword [esi + 0x1c]
cmp dword [edx + 0x104], eax
je 0x58b6a3
mov ecx, dword [edx + 0xc]
call fcn.0058fda0
mov eax, dword [esi + 0xc]
mov dword [eax + 0xf4], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0xf0], ecx
mov eax, dword [esi + 0xc]
mov dword [esi + 0x2c], edi
mov ecx, dword [esi + 0x18]
mov dword [eax + 0xfc], ecx
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x28]
mov dword [eax + 0xf8], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x100], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x104], ecx
mov eax, dword [esi + 0xc]
mov bl, byte [esi + 0x13]
mov byte [eax + 0x108], bl
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x83]
mov edx, dword [esi + 0xc]
mov dword [edx + 0x109], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10c], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
call fcn.0058fda0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x58]
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], edi
mov eax, dword [esi + 0x20]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x6c], eax
mov byte [esi + 0x70], bl
mov eax, dword [esi + 0x80]
mov dword [esi + 0x71], eax
mov eax, dword [esi + 0x83]
mov dword [esi + 0x74], 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 + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.0058fea0
mov edx, dword [esi + 0xc]
lea ebx, [ebp + 8]
mov eax, dword [0x788e74]
movzx eax, byte [eax + 0xe6]
test al, al
jne 0x58b782
mov ecx, ebx
call fcn.00592060
mov ecx, dword [esi + 0x88]
xor ecx, ebp
call fcn.005c6b46
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x78
push edi
call fcn.0058d300
mov edx, dword [esi + 0xc]
jmp 0x58b6a6
mov cl, byte [esi + 0x13]
and cl, 1
cmp cl, al
je 0x58b6a3
jmp 0x58b5b6
call fcn.0058d2e0
mov ecx, dword [esi + 0xc]
test al, al
je 0x58b517
mov ecx, dword [ecx + 0xc]
call fcn.0058fda0
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0x5c]
mov ecx, dword [esi + 0xc]
call fcn.00503730
mov byte [esi + 0x18], al
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [esi + 0x14], ecx
call dword [0x8010bc]
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 + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
lea eax, [esi + 0x58]
mov dword [esp], eax
mov ecx, edi
call dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
movdqu xmm0, xmmword [esi + 0x58]
movups xmm1, xmmword [esi + 0x68]
movaps xmmword [esi + 0x40], xmm1
movdqa xmmword [esi + 0x30], xmm0
jmp 0x58b517
int3
mov eax, dword [esi + 0xc]
inc dword [eax + 0x78]
jmp 0x58b3d5
ud2
mov ecx, dword [edx + 0xc]
call fcn.0058fd40
mov ecx, dword [esi + 0xc]
test al, al
je 0x58b6ba
lea eax, [ecx + 0x14]
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x58b7ac
mov ecx, edi
call fcn.0054c5e0
mov ebx, dword [esi + 0xc]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
call fcn.0058fda0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x64]
mov eax, dword [eax + 8]
mov dword [esi + 0x18], eax
call fcn.0058fda0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 8]
mov dword [esi + 0x14], eax
call fcn.0058fda0
mov eax, dword [ebx + 0x6c]
mov dword [esi + 0x1c], eax
mov ebx, dword [ebx + 0x70]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esi + 0x7c], 0xe6
mov eax, dword [0x788e74]
mov al, byte [eax + 0xe6]
test al, al
jne 0x58b90f
lea ebx, [ebp + 8]
jmp 0x58b6ba
mov ecx, dword [ebx + 0xc]
call fcn.0058fda0
mov ebx, dword [esi + 0xc]
cmp byte [ebx + 0x120], 1
jne 0x58b3a2
mov eax, dword [0x788e74]
mov al, byte [eax + 0xda]
test al, al
je 0x58b3a2
mov ecx, dword [ebx + 0xc]
call fcn.0058fda0
mov ebx, dword [esi + 0xc]
cmp byte [ebx + 0x9c], 0
jne 0x58b3a2
mov ecx, dword [ebx + 0xc]
call fcn.0058fda0
mov ebx, dword [esi + 0xc]
cmp byte [ebx + 0x128], 1
jne 0x58b3a2
xor eax, eax
dec eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x208]
lea edi, [esi + 0x58]
push edi
call fcn.005897b0
mov ecx, dword [ebx + 0xc]
call fcn.0058fda0
cmp byte [ebx + 0x120], 0
je 0x58b997
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0xc]
sub eax, dword [edx + 0x118]
mov ecx, dword [esi + 0x5c]
sbb ecx, dword [edx + 0x11c]
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 + 0x7c], 0xda
mov eax, dword [0x788e74]
mov al, byte [eax + 0xda]
test al, al
jne 0x58b96a
lea edi, [ebp + 8]
mov ebx, dword [esi + 0xc]
jmp 0x58b3a2
call fcn.0058c4e0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 8]
xor ebx, ebx
cmp al, byte [edx + 0x35]
setbe bl
mov dword [esi + 0x14], ebx
jmp 0x58b4b5
mov edx, dword [esi + 0x18]
add edx, dword [esi + 0x20]
sub ebx, dword [esi + 0x1c]
sar ebx, 4
imul ecx, ebx, 0xb6db6db7
mov ebx, dword [esi + 0x14]
add ebx, ecx
add ebx, edx
movzx edi, al
mov ecx, dword [esi + 0xc]
call fcn.006e8140
lea ecx, [esi + 0x80]
mov dword [ecx], eax
mov dword [esi + 0x58], ebx
lea eax, [esi + 0x30]
mov dword [eax], 0x778c43
xor edx, edx
lea ebx, [esi + 0x58]
push ebx
push eax
push edx
push 0x43
push 0x782280
push edx
push ecx
lea eax, [esi + 0x7c]
push eax
push edi
call fcn.00504960
add esp, 0x24
jmp 0x58b809
movzx ecx, al
lea eax, [esi + 0x30]
mov dword [esi + 0x58], eax
lea eax, [ebp + 8]
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x80]
mov dword [eax], str.task_posted_to_disabled_queue
lea edx, [esi + 0x7c]
push edi
push eax
call fcn.006e9710
add esp, 8
jmp 0x58b8e9
call fcn.005fb170
int3