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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 4], ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esi + 0xc8], eax
inc dword [ecx + 8]
lea eax, [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0xffffffff
mov byte [esi + 0x30], 0
cmp dword [eax], 0
jne 0x4fac3b
xor eax, eax
dec eax
lea edi, [esi + 0x50]
mov dword [edi + 0x70], eax
movdqa xmmword [edi + 0x60], xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x28]
mov ecx, edi
call fcn.004f99e0
mov dword [edi + 0xc], ebx
mov ebx, dword [esi + 4]
lea eax, [esi + 0x84]
lea ecx, [esi + 0xac]
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
lea ecx, [esi + 0x10]
xor eax, eax
dec eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx], xmm0
call fcn.004f9a40
mov eax, dword [ebx + 0x28]
add eax, 0x14
mov dword [esi + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4fad31
cmp byte [ebx + 0x32], 0
jne 0x4fae44
cmp byte [ebx + 0x18], 0
je 0x4fae92
mov eax, ebx
mov ebx, dword [ebx + 0x28]
mov al, byte [eax + 0x19]
dec dword [ebx + 0xa8]
test al, al
jne 0x4faaef
dec dword [ebx + 0xac]
lea edi, [ebx + 0x1c]
mov ecx, edi
call fcn.00502f50
test al, al
jne 0x4fab0f
mov eax, dword [ebx + 0xa8]
cmp eax, dword [ebx + 0xa0]
jae 0x4fad0e
xor eax, eax
mov word [ebx + 0x3c], ax
xor eax, eax
mov ecx, dword [esi + 4]
mov byte [ecx + 0x1c], al
mov byte [ecx + 0x18], al
cmp byte [esi + 0x30], al
jne 0x4fabf2
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea ecx, [esi + 0x10]
call fcn.004f9a60
mov ecx, dword [esi + 0x60]
test ecx, ecx
jne 0x4facb4
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x4fad7a
cmp byte [esi + 0x80], 0
jne 0x4fae37
mov edi, dword [esi + 0xb4]
mov ebx, dword [esi + 0xb8]
cmp edi, ebx
jne 0x4fadfd
test edi, edi
je 0x4fab95
mov dword [esi + 0xb8], edi
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4fae84
cmp edi, eax
jne 0x4fae84
mov byte [eax + 0x28], 0
mov edi, dword [esi + 0x74]
test edi, edi
jne 0x4fad3e
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x4fade1
mov edi, dword [esi + 0x64]
test edi, edi
jne 0x4fad5c
mov ecx, dword [esi + 0x60]
test ecx, ecx
jne 0x4facf2
lea ecx, [esi + 0x50]
call fcn.004f9a00
cmp byte [esi + 0x30], 0
jne 0x4fac9d
lea ecx, [ebp + 8]
call fcn.004fc860
mov ecx, dword [esi + 0xc8]
xor ecx, ebp
call fcn.00504596
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esi + 8], esp
sub esp, 0x14
mov edi, esp
cmp byte [esi + 0x30], 0
je 0x4fae94
mov ebx, dword [ecx + 0x28]
lea ecx, [edi + 8]
lea eax, [esi + 0x34]
push eax
call fcn.004fc830
mov ecx, edi
add ecx, 0x10
lea eax, [esi + 0x3c]
push eax
call fcn.004d5680
lea eax, [esi + 0x50]
mov dword [edi], eax
lea eax, [esi + 0x10]
mov dword [edi + 4], eax
mov ecx, ebx
call fcn.004f9c20
mov esp, dword [esi + 8]
jmp 0x4fab29
mov edi, esp
push eax
sub esp, 8
mov ebx, esp
lea ecx, [ebx + 4]
lea eax, [ebp + 8]
push eax
call fcn.004fc830
lea eax, [esi + 0x50]
mov dword [ebx], eax
mov ebx, eax
call fcn.004fca60
add esp, 0xc
mov esp, edi
cmp byte [esi + 0x30], 0
jne 0x4fae99
lea ecx, [esi + 0x34]
push ebx
call fcn.004fc830
lea edi, [esi + 0x3c]
lea eax, [esi + 0x58]
mov ecx, edi
push eax
call fcn.004d5680
mov byte [edi - 0xc], 1
lea ecx, [esi + 0x58]
call fcn.004fc780
mov ecx, ebx
call fcn.004fc860
pcmpeqd xmm0, xmm0
jmp 0x4faa24
lea edi, [esi + 0x34]
lea ecx, [esi + 0x3c]
call fcn.004fc780
mov ecx, edi
call fcn.004fc860
jmp 0x4fabd3
call fcn.00502520
mov ebx, dword [esi + 0x64]
mov edi, dword [esi + 0x68]
cmp ebx, edi
je 0x4fab45
mov eax, dword [ebx]
test eax, eax
je 0x4faeb4
lock inc dword [eax + 4]
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
call fcn.00502520
mov ecx, dword [esi + 4]
lock dec dword [ecx + 4]
je 0x4faec0
add ebx, 4
jmp 0x4facbf
lock dec dword [ecx + 4]
jne 0x4fabc1
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4fabc1
mov ecx, edi
call fcn.00502f30
movzx eax, byte [eax]
mov dword [esi + 8], eax
mov ecx, edi
call fcn.00502f30
movzx eax, byte [eax + 1]
shl eax, 8
add eax, dword [esi + 8]
jmp 0x4fab11
mov ecx, dword [esi + 0xc]
call fcn.004e8450
jmp 0x4faac3
mov ebx, dword [esi + 0x78]
mov eax, edi
cmp ebx, edi
jne 0x4faf04
mov dword [esi + 0x78], edi
push eax
call fcn.00503da5
add esp, 4
jmp 0x4faba0
mov ebx, dword [esi + 0x68]
mov eax, edi
cmp ebx, edi
jne 0x4faf2f
mov dword [esi + 0x68], edi
push eax
call fcn.00503da5
add esp, 4
jmp 0x4fabb6
mov eax, dword [esi + 0x5c]
push dword [eax + 0x60]
call fcn.004b2be0
mov ecx, dword [esi + 0x5c]
cmp byte [ecx + 0xd8], 0
jne 0x4faed2
mov ebx, dword [esi + 0x74]
mov edi, dword [esi + 0x78]
cmp ebx, edi
je 0x4fab50
mov ecx, dword [ebx]
test ecx, ecx
je 0x4fadad
lock inc dword [ecx + 4]
mov eax, dword [esi + 0x5c]
mov dword [esi + 4], ecx
push dword [eax + 0x60]
call fcn.004b2be0
mov ecx, dword [esi + 0x5c]
cmp byte [ecx + 0xd8], 0
jne 0x4faee2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4faddc
lock dec dword [ecx + 4]
je 0x4faef2
add ebx, 4
jmp 0x4fad9b
lock dec dword [ecx + 4]
jne 0x4fabab
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4fabab
mov ecx, dword [edi]
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 0x14]
mov dword [esi + 8], ecx
call dword [section..00cfg]
mov ecx, dword [esi + 0xc]
push dword [esi + 4]
call dword [esi + 8]
add edi, 8
cmp edi, ebx
jne 0x4fadfd
mov edi, dword [esi + 0xb4]
mov dword [esi + 0xb8], edi
jmp 0x4fab71
mov ecx, dword [esi + 0x5c]
call fcn.0049ace0
jmp 0x4fab5d
mov ecx, dword [ebx + 0x28]
dec dword [ecx + 0xa0]
call fcn.0049ab00
cmp byte [ebx + 0x18], 0
je 0x4fae92
mov eax, dword [esi + 4]
cmp byte [eax + 0x19], 0
jne 0x4fae72
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x28]
dec dword [ecx + 0xa4]
call fcn.0049ab00
mov ebx, dword [esi + 4]
mov word [ebx + 0x30], 0
mov byte [ebx + 0x32], 0
jmp 0x4faacd
push edi
call fcn.00503da5
add esp, 4
jmp 0x4fab95
ud2
call fcn.00536040
lea edi, [esi + 0x3c]
mov ecx, edi
call fcn.004fc780
lea ecx, [esi + 0x34]
call fcn.004fc860
mov byte [edi - 0xc], 0
jmp 0x4fac6a
xor ecx, ecx
call fcn.00502520
jmp 0x4faced
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4faced
add ecx, 0xdc
call fcn.004ed160
jmp 0x4fad95
add ecx, 0xdc
call fcn.004ed160
jmp 0x4fadcb
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4faddc
mov ecx, dword [ebx - 4]
add ebx, 0xfffffffc
test ecx, ecx
je 0x4faf14
lock dec dword [ecx + 4]
je 0x4faf20
cmp ebx, edi
jne 0x4faf04
mov eax, dword [esi + 0x74]
jmp 0x4fad4b
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4faf14
mov ecx, dword [ebx - 4]
add ebx, 0xfffffffc
test ecx, ecx
je 0x4faf3f
lock dec dword [ecx + 4]
je 0x4faf4b
cmp ebx, edi
jne 0x4faf2f
mov eax, dword [esi + 0x64]
jmp 0x4fad69
add ecx, 4
add ecx, 0xfffffffc
push 1
call fcn.004b2fd0
jmp 0x4faf3f