Function at 0x4faff0
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 edi, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0x88], eax
mov ecx, dword [ecx + 8]
call fcn.00502530
mov esi, dword [edi + 0x24]
mov al, byte [esi + 0x69]
or al, byte [0x60bbe0]
setne byte [esp + 4]
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x10]
movdqa xmmword [ebx + 0x60], xmm0
movdqa xmmword [ebx + 0x50], xmm0
movdqa xmmword [ebx + 0x40], xmm0
movdqa xmmword [ebx + 0x30], xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
mov dword [ebx + 0x70], 0xffffffff
mov ecx, ebx
call fcn.004f99e0
mov dword [ebx + 0xc], esi
lea eax, [esp + 0x44]
lea ecx, [esp + 0x6c]
pxor xmm0, xmm0
movdqa xmmword [ecx - 0x4c], xmm0
movdqa xmmword [ecx - 0x3c], xmm0
mov byte [ecx - 0x2c], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0x14], eax
mov byte [ecx], 1
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ecx
mov eax, dword [edi + 0x24]
add eax, 0x14
mov dword [esp], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4fb2b2
lea esi, [esp + 8]
push esi
call fcn.004e89f0
add esp, 4
movsd xmm0, qword [esi]
movsd qword [edi + 0x1c], xmm0
cmp byte [edi + 0x2e], 0
jne 0x4fb10d
cmp byte [edi + 0x14], 0
je 0x4fb418
mov eax, dword [ebp + 8]
cmp byte [edi + 0x15], 0
jne 0x4fb0df
mov ecx, dword [edi + 0x24]
inc dword [ecx + 0xb4]
cmp eax, 1
sete al
mov cl, byte [esp + 4]
or cl, al
cmp cl, 1
je 0x4fb328
mov eax, dword [edi + 0x24]
inc dword [eax + 0xb0]
mov edi, dword [edi + 0x24]
cmp byte [edi + 0xc8], 0
je 0x4fb1bd
push dword [esp]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4fb21d
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4fb2bf
cmp byte [esp + 0x40], 0
jne 0x4fb3dd
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
cmp ebx, esi
jne 0x4fb3a7
test ebx, ebx
je 0x4fb16c
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4fb40a
cmp ebx, eax
jne 0x4fb40a
mov byte [eax + 0x28], 0
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x4fb272
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4fb379
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4fb292
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4fb256
lea ecx, [esp + 0x10]
call fcn.004f9a00
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00504596
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, dword [edi + 0xac]
mov ecx, edi
call fcn.004f9b40
add eax, esi
cmp eax, dword [edi + 0xa4]
ja 0x4fb395
mov esi, dword [edi + 0xa8]
mov ecx, edi
call fcn.004f9b40
mov ebx, eax
mov ecx, edi
call fcn.004f9bb0
add ebx, esi
add eax, ebx
inc eax
cmp eax, dword [edi + 0xa0]
jbe 0x4fb10d
cmp dword [edi + 0xb0], 0
jle 0x4fb10d
mov al, 1
mov byte [esp + 0x40], al
mov byte [edi + 0xc8], al
jmp 0x4fb10d
call fcn.00502520
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp edi, ebx
je 0x4fb122
mov esi, dword [edi]
test esi, esi
je 0x4fb41a
lock inc dword [esi + 4]
mov ecx, esi
call fcn.00502520
lock dec dword [esi + 4]
je 0x4fb426
add edi, 4
jmp 0x4fb22a
lock dec dword [ecx + 4]
jne 0x4fb19c
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4fb19c
mov edi, dword [esp + 0x38]
mov eax, esi
cmp edi, esi
jne 0x4fb46e
mov dword [esp + 0x38], esi
push eax
call fcn.00503da5
add esp, 4
jmp 0x4fb178
mov edi, dword [esp + 0x28]
mov eax, esi
cmp edi, esi
jne 0x4fb49a
mov dword [esp + 0x28], esi
push eax
call fcn.00503da5
add esp, 4
jmp 0x4fb190
mov ecx, dword [esp]
call fcn.004e8450
jmp 0x4fb0a7
mov eax, dword [esp + 0x1c]
push dword [eax + 0x60]
call fcn.004b2be0
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0xd8], 0
jne 0x4fb43a
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
cmp edi, ebx
je 0x4fb12e
mov esi, dword [edi]
test esi, esi
je 0x4fb2f6
lock inc dword [esi + 4]
mov eax, dword [esp + 0x1c]
mov ecx, esi
push dword [eax + 0x60]
call fcn.004b2be0
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0xd8], 0
jne 0x4fb44a
test esi, esi
je 0x4fb323
lock dec dword [esi + 4]
je 0x4fb45a
add edi, 4
jmp 0x4fb2e4
mov byte [edi + 0x2c], 1
mov ebx, dword [edi + 0x24]
inc dword [ebx + 0xa0]
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.00502f50
test al, al
jne 0x4fb355
mov eax, dword [ebx + 0xa8]
cmp eax, dword [ebx + 0xa0]
jae 0x4fb3eb
xor eax, eax
mov word [ebx + 0x3c], ax
mov esi, dword [edi + 0x24]
mov eax, dword [esi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x10]
push eax
call ebx
jmp 0x4fb0fd
lock dec dword [ecx + 4]
jne 0x4fb184
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4fb184
cmp dword [edi + 0xb4], 0
jle 0x4fb1d8
jmp 0x4fb20c
mov ecx, dword [ebx]
mov dword [esp + 4], ecx
mov eax, dword [ebx + 4]
mov dword [esp], eax
mov eax, dword [ecx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esp + 4]
push dword [esp]
call edi
add ebx, 8
cmp ebx, esi
jne 0x4fb3a7
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x78], ebx
jmp 0x4fb149
mov ecx, dword [esp + 0x1c]
call fcn.0049ace0
jmp 0x4fb139
mov ecx, esi
call fcn.00502f30
mov ecx, esi
movzx esi, byte [eax]
call fcn.00502f30
movzx eax, byte [eax + 1]
shl eax, 8
or eax, esi
jmp 0x4fb357
push ebx
call fcn.00503da5
add esp, 4
jmp 0x4fb16c
ud2
xor ecx, ecx
call fcn.00502520
jmp 0x4fb251
add esi, 4
add esi, 0xfffffffc
mov ecx, esi
push 1
call fcn.004b2fd0
jmp 0x4fb251
add ecx, 0xdc
call fcn.004ed160
jmp 0x4fb2dc
add ecx, 0xdc
call fcn.004ed160
jmp 0x4fb315
add esi, 4
add esi, 0xfffffffc
mov ecx, esi
push 1
call fcn.004b2fd0
jmp 0x4fb323
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
test ecx, ecx
je 0x4fb47e
lock dec dword [ecx + 4]
je 0x4fb48b
cmp edi, esi
jne 0x4fb46e
mov eax, dword [esp + 0x34]
jmp 0x4fb280
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4fb47e
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
test ecx, ecx
je 0x4fb4aa
lock dec dword [ecx + 4]
je 0x4fb4b7
cmp edi, esi
jne 0x4fb49a
mov eax, dword [esp + 0x24]
jmp 0x4fb2a0
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4fb4aa