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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562280
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
cmp dword [ebx + 4], 1
mov dword [ebp - 0x4c], vtable.nfapi::AutoLock.0
mov dword [ebp - 0x48], 0x5d377c
push 0x5d377c
jne 0x4480f9
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebx + 0xc]
mov dword [ebp - 4], 0
push dword [ebx + 8]
push dword [0x5d3770]
call fcn.0044c5c0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 0xc
test eax, eax
je 0x44851d
test byte [ebx + 0x10], 1
lea esi, [eax - 8]
je 0x447ce2
push 0x5d377c
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
lea eax, [esi + 0x48]
push eax
push dword [ebx + 0xc]
mov byte [ebp - 4], 1
mov edx, dword [ecx]
push dword [ebx + 8]
call dword [edx + 0xc]
push 0x5d377c
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x10]
shr eax, 0x13
test al, 1
je 0x447dd7
push 0x5d377c
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
lea edx, [esi + 0x48]
push edx
push dword [ebx + 0xc]
mov byte [ebp - 4], 2
mov eax, dword [ecx]
push dword [ebx + 8]
call dword [eax + 8]
push 0x5d377c
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [esi + 0x48], 0x40
jne 0x44851d
push 0
push 0x53
call fcn.0044c6e0
mov edx, eax
add esp, 8
mov dword [ebp - 0x30], edx
test edx, edx
je 0x44851d
mov ecx, dword [ebx + 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 0xc]
mov dword [edx + 8], ecx
mov dword [edx], 0x13
mov dword [edx + 0xc], 0x43
movdqu xmm0, xmmword [esi + 0x48]
push edx
movdqu xmmword [edx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x58]
movdqu xmmword [edx + 0x20], xmm0
movdqu xmm0, xmmword [esi + 0x68]
movdqu xmmword [edx + 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x78]
movdqu xmmword [edx + 0x40], xmm0
mov ax, word [esi + 0x88]
mov word [edx + 0x50], ax
mov al, byte [esi + 0x8a]
mov byte [edx + 0x52], al
call fcn.0044a4d0
push 0
push dword [ebp - 0x30]
call fcn.0044c790
add esp, 0xc
test byte [esi + 0x48], 1
je 0x447dd7
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.0044a7a0
push esi
call fcn.00447840
add esp, 0xc
jmp 0x44851d
mov eax, dword [ebx + 0x10]
shr eax, 2
test al, 1
je 0x447eb9
lea eax, [esi + 0x14]
cmp dword [eax], eax
je 0x447eb9
lea ebx, [esi + 0x14]
mov edi, dword [ebx]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
jb 0x447e10
sub eax, ecx
mov dword [esi + 0x1c], eax
jmp 0x447e17
mov dword [esi + 0x1c], 0
test byte [esi + 0x8b], 0x10
push 0x5d377c
je 0x447e5d
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x14]
lea eax, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push 2
call fcn.0044a9a0
add esp, 0x14
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
jmp 0x447e94
mov dword [ebp - 0x38], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x34], 0x5d377c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x14]
mov ecx, dword [0x5d3660]
lea eax, [edi + 0x18]
push eax
push dword [edi + 0x10]
mov byte [ebp - 4], 4
mov edx, dword [ecx]
push dword [edi + 0xc]
call dword [edx + 0x14]
mov dword [ebp - 0x38], vtable.nfapi::AutoUnlock.0
push 0x5d377c
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push edi
call fcn.0044c790
add esp, 8
cmp dword [ebx], ebx
jne 0x447df3
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x10]
shr eax, 3
test al, 1
je 0x447f9b
lea eax, [esi + 0x20]
cmp dword [eax], eax
je 0x447f9b
lea ebx, [esi + 0x20]
mov edi, dword [ebx]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
jb 0x447ef2
sub eax, ecx
mov dword [esi + 0x28], eax
jmp 0x447ef9
mov dword [esi + 0x28], 0
test byte [esi + 0x8b], 0x10
push 0x5d377c
je 0x447f3f
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x14]
lea eax, [edi + 0x18]
mov byte [ebp - 4], 5
push eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push 3
call fcn.0044a9a0
add esp, 0x14
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
jmp 0x447f76
mov dword [ebp - 0x38], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x34], 0x5d377c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x14]
mov ecx, dword [0x5d3660]
lea eax, [edi + 0x18]
push eax
push dword [edi + 0x10]
mov byte [ebp - 4], 6
mov edx, dword [ecx]
push dword [edi + 0xc]
call dword [edx + 0x18]
mov dword [ebp - 0x38], vtable.nfapi::AutoUnlock.0
push 0x5d377c
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push edi
call fcn.0044c790
add esp, 8
cmp dword [ebx], ebx
jne 0x447ed5
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
shr eax, 4
test al, 1
je 0x447ff4
test byte [esi + 0x8b], 8
jne 0x447ff4
lea eax, [esi + 0x2c]
cmp dword [eax], eax
jne 0x447ff4
push 0x5d377c
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
push dword [ebx + 0xc]
mov byte [ebp - 4], 7
push dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0x5d377c
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x10]
shr eax, 5
test al, 1
je 0x448047
test byte [esi + 0x8b], 8
jne 0x448047
lea eax, [esi + 0x38]
cmp dword [eax], eax
jne 0x448047
push 0x5d377c
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
push dword [ebx + 0xc]
mov byte [ebp - 4], 8
push dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
push 0x5d377c
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x40], 0x40000
ja 0x448081
cmp dword [esi + 0x34], 0x40000
ja 0x448081
cmp dword [esi + 0x28], 0x40000
ja 0x448081
cmp dword [esi + 0x1c], 0x40000
ja 0x448081
mov eax, dword [esi + 0x8b]
shl eax, 0x1e
sar eax, 0x1f
push eax
push esi
call fcn.0044ace0
add esp, 8
mov eax, dword [ebx + 0x10]
shr eax, 1
test al, 1
je 0x44851d
mov eax, dword [esi + 0x8b]
test al, al
js 0x44851d
or eax, 0x80
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
push 0x5d377c
mov dword [esi + 0x8b], eax
mov dword [ebp - 0x28], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
lea eax, [esi + 0x48]
push eax
push dword [ebx + 0xc]
mov byte [ebp - 4], 9
mov edx, dword [ecx]
push dword [ebx + 8]
call dword [edx + 0x10]
push 0x5d377c
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.0044a680
add esp, 0xc
jmp 0x44851d
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebx + 0xc]
mov dword [ebp - 4], 0xa
push dword [ebx + 8]
push dword [0x5d3778]
call fcn.0044c5c0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 0xc
test eax, eax
je 0x44851d
lea esi, [eax - 8]
mov eax, dword [ebx + 0x10]
shr eax, 8
mov dword [ebp - 0x30], esi
test al, 1
je 0x448175
push 0x5d377c
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
lea eax, [esi + 0x44]
push eax
push dword [ebx + 0xc]
mov byte [ebp - 4], 0xb
mov edx, dword [ecx]
push dword [ebx + 8]
call dword [edx + 0x24]
push 0x5d377c
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x10]
shr eax, 0x14
test al, 1
je 0x448243
push 0x5d377c
mov dword [ebp - 0x2c], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x28], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
lea edx, [esi + 0x66]
push edx
push dword [ebx + 0xc]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
push dword [ebx + 8]
call dword [eax + 0x28]
push 0x5d377c
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [esi + 0x66], 0x40
jne 0x44851d
push 0
push 0x52
call fcn.0044c6e0
mov edi, eax
add esp, 8
test edi, edi
je 0x448517
mov ecx, dword [ebx + 8]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 0xc]
mov dword [edi + 8], ecx
mov dword [edi], 0x14
mov dword [edi + 0xc], 0x42
movdqu xmm0, xmmword [esi + 0x66]
push edi
movdqu xmmword [edi + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x76]
movdqu xmmword [edi + 0x20], xmm0
movdqu xmm0, xmmword [esi + 0x86]
movdqu xmmword [edi + 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x96]
movdqu xmmword [edi + 0x40], xmm0
mov ax, word [esi + 0xa6]
mov word [edi + 0x50], ax
call fcn.0044a4d0
push 0
push edi
call fcn.0044c790
add esp, 0xc
mov eax, dword [ebx + 0x10]
shr eax, 0xa
test al, 1
je 0x448303
lea eax, [esi + 0x14]
mov dword [ebp - 0x28], eax
cmp dword [eax], eax
je 0x448303
mov dword [ebp - 0x40], 0x5d377c
mov dword [ebp - 0x44], vtable.nfapi::AutoUnlock.0
lea ecx, [ecx]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [edx + 0x14]
cmp eax, ecx
jb 0x448290
sub eax, ecx
mov dword [esi + 0x1c], eax
jmp 0x448297
mov dword [esi + 0x1c], 0
mov edi, dword [edx + 0x38]
lea ebx, [edx + 0x34]
mov esi, dword [edx + 0x14]
add edi, 0x3c
add edi, edx
mov ecx, edx
sub ecx, edi
add ecx, 0x18
push 0x5d377c
add esi, ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5d3660]
push ebx
push esi
mov esi, dword [ebp - 0x34]
mov eax, dword [ecx]
push edi
mov byte [ebp - 4], 0xd
lea edx, [esi + 0x18]
push edx
push dword [esi + 0x10]
push dword [esi + 0xc]
call dword [eax + 0x30]
push 0
push esi
call fcn.0044c790
add esp, 8
mov byte [ebp - 4], 0xa
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
cmp dword [eax], eax
jne 0x448270
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x10]
shr eax, 0xb
test al, 1
je 0x4483c3
lea eax, [esi + 0x20]
mov dword [ebp - 0x34], eax
cmp dword [eax], eax
je 0x4483c3
mov dword [ebp - 0x40], 0x5d377c
mov dword [ebp - 0x44], vtable.nfapi::AutoUnlock.0
lea ecx, [ecx]
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [edx + 0x14]
cmp eax, ecx
jb 0x448350
sub eax, ecx
mov dword [esi + 0x28], eax
jmp 0x448357
mov dword [esi + 0x28], 0
mov edi, dword [edx + 0x38]
lea ebx, [edx + 0x34]
mov esi, dword [edx + 0x14]
add edi, 0x3c
add edi, edx
mov ecx, edx
sub ecx, edi
add ecx, 0x18
push 0x5d377c
add esi, ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5d3660]
push ebx
push esi
mov esi, dword [ebp - 0x28]
mov eax, dword [ecx]
push edi
mov byte [ebp - 4], 0xe
lea edx, [esi + 0x18]
push edx
push dword [esi + 0x10]
push dword [esi + 0xc]
call dword [eax + 0x34]
push 0
push esi
call fcn.0044c790
add esp, 8
mov byte [ebp - 4], 0xa
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
cmp dword [eax], eax
jne 0x448330
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
shr eax, 0xc
test al, 1
je 0x448416
lea eax, [esi + 0x2c]
cmp dword [eax], eax
jne 0x448416
push 0x5d377c
mov dword [ebp - 0x44], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x40], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
push dword [ebx + 0xc]
mov byte [ebp - 4], 0xf
push dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x38]
push 0x5d377c
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x10]
shr eax, 0xd
test al, 1
je 0x448460
lea eax, [esi + 0x38]
cmp dword [eax], eax
jne 0x448460
push 0x5d377c
mov dword [ebp - 0x44], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x40], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
push dword [ebx + 0xc]
mov byte [ebp - 4], 0x10
push dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x3c]
push 0x5d377c
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x40], 0x40000
ja 0x44849a
cmp dword [esi + 0x34], 0x40000
ja 0x44849a
cmp dword [esi + 0x28], 0x40000
ja 0x44849a
cmp dword [esi + 0x1c], 0x40000
ja 0x44849a
mov eax, dword [esi + 0xa8]
shl eax, 0x1e
sar eax, 0x1f
push eax
push esi
call fcn.0044b100
add esp, 8
mov eax, dword [ebx + 0x10]
shr eax, 9
test al, 1
je 0x44851d
push 0x5d377c
mov dword [ebp - 0x44], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x40], 0x5d377c
call edi
mov ecx, dword [0x5d3660]
lea eax, [esi + 0x44]
push eax
push dword [ebx + 0xc]
mov byte [ebp - 4], 0x11
mov edx, dword [ecx]
push dword [ebx + 8]
call dword [edx + 0x2c]
push 0x5d377c
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
mov ecx, 0x5d3810
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x18], 0
call fcn.0044b3c0
push dword [0x5d3850]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x44851d
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5d377c
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret