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

Disassembly:
push 0xffffffffffffffff
push 0x50c0ed
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov dword [edi], vtable.t_cuResourceManager.0
lea eax, [edi + 0xbc]
push eax
mov dword [esp + 0x24], 7
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor ebx, ebx
cmp dword [0x5433cc], ebx
je 0x44fda5
mov ecx, dword [edi + 0x1c]
sub ecx, dword [edi + 0x18]
lea esi, [edi + 0xc]
sar ecx, 2
test ecx, ecx
jbe 0x44fc47
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp ebx, edx
jb 0x44fc14
call fcn.004d06e1
mov eax, dword [esi + 0xc]
mov ebp, dword [eax + ebx*4]
lea ecx, [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x44fc37
test ebp, ebp
je 0x44fc37
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
inc ebx
sar ecx, 2
cmp ebx, ecx
jb 0x44fc02
xor ebx, ebx
mov eax, esi
call fcn.00450190
mov edx, dword [edi + 0x4c]
sub edx, dword [edi + 0x48]
lea esi, [edi + 0x3c]
sar edx, 2
xor ebp, ebp
test edx, edx
jbe 0x44fc8d
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebp, eax
jb 0x44fc72
call fcn.004d06e1
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x44fc60
mov eax, esi
call fcn.00450190
mov edx, dword [edi + 0x64]
sub edx, dword [edi + 0x60]
lea esi, [edi + 0x54]
sar edx, 2
xor ebp, ebp
test edx, edx
jbe 0x44fcd5
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebp, eax
jb 0x44fcb8
call fcn.004d06e1
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + ebp*4]
push eax
call fcn.004cf512
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
inc ebp
sar edx, 2
add esp, 4
cmp ebp, edx
jb 0x44fca6
mov eax, esi
call fcn.00450190
mov eax, dword [edi + 0x7c]
sub eax, dword [edi + 0x78]
lea esi, [edi + 0x6c]
sar eax, 2
xor ebp, ebp
test eax, eax
jbe 0x44fd1d
mov edi, edi
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp ebp, ecx
jb 0x44fd02
call fcn.004d06e1
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + ebp*4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x44fcf0
mov eax, esi
call fcn.00450190
mov ecx, dword [edi + 0x94]
sub ecx, dword [edi + 0x90]
lea esi, [edi + 0x84]
sar ecx, 2
xor ebp, ebp
test ecx, ecx
jbe 0x44fd6d
nop
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp ebp, edx
jb 0x44fd52
call fcn.004d06e1
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebp*4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x44fd40
mov eax, esi
call fcn.00450190
mov edx, dword [edi + 0xb4]
mov eax, dword [edx + 4]
lea esi, [edi + 0x9c]
push eax
mov ecx, esi
call fcn.00450420
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
xor ebx, ebx
lea esi, [edi + 0x9c]
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 8
call fcn.00450480
mov byte [esp + 0x20], 6
mov esi, dword [esi]
push esi
call fcn.004cf512
lea esi, [edi + 0x84]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 9
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44fde8
push eax
call fcn.004cf512
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esp + 0x20], 5
mov esi, dword [esi]
push esi
call fcn.004cf512
lea esi, [edi + 0x6c]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0xa
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44fe1d
push eax
call fcn.004cf512
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esp + 0x20], 4
mov esi, dword [esi]
push esi
call fcn.004cf512
lea esi, [edi + 0x54]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0xb
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44fe52
push eax
call fcn.004cf512
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esp + 0x20], 3
mov esi, dword [esi]
push esi
call fcn.004cf512
lea esi, [edi + 0x3c]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0xc
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44fe87
push eax
call fcn.004cf512
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esp + 0x20], 2
mov esi, dword [esi]
push esi
call fcn.004cf512
lea esi, [edi + 0x24]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0xd
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44febc
push eax
call fcn.004cf512
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esp + 0x20], 1
mov esi, dword [esi]
push esi
call fcn.004cf512
lea esi, [edi + 0xc]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0xe
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44fef1
push eax
call fcn.004cf512
add esp, 4
mov byte [esp + 0x20], 0
mov ecx, dword [esi]
push ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.004cf512
add esp, 4
mov dword [edi], vtable.t_cuObject.0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4