Function at 0x440f20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476849
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x49d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 1
call fcn.004412d0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], vtable.CVolObject.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], vtable.CVolMem.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0x80
mov dword [ebp - 4], 3
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x24], eax
test ecx, ecx
jne 0x440fd3
mov dword [ebp - 0x10], eax
inc eax
mov dword [ebx + 0x24], eax
lea edi, [ebx + 0x2c]
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x440ff8
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401750
je 0x440fef
lea ecx, [ebp - 0x3c]
call eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.00402130
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov eax, ecx
shr eax, 2
mov dword [ebp - 0x20], eax
test eax, eax
je 0x44106a
mov eax, dword [ebp - 0x30]
xor edx, edx
test ecx, ecx
cmove eax, edx
mov esi, dword [eax + ebx*4]
mov dword [ebp - 0x1c], esi
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 4
mov esi, dword [esi + 0x38]
mov byte [ebp - 4], 3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
je 0x44105f
mov esi, dword [ebp - 0x10]
push esi
push ecx
push dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00440a60
test eax, eax
jne 0x44124b
inc ebx
cmp ebx, dword [ebp - 0x20]
jge 0x44106a
mov ecx, dword [ebp - 0x28]
jmp 0x441010
cmp dword [0x4a1e58], 0x48
jl 0x44109f
push 0x4a1e5c
call fcn.00440560
mov ebx, dword [0x4a1e54]
add esp, 4
test ebx, ebx
je 0x441091
mov eax, dword [ebx]
mov dword [0x4a1e54], eax
mov dword [0x4a1e5c], 1
test ebx, ebx
jne 0x4410ba
push 0x48
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4412c5
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [ebx], vtable.CVolPoolThread.0
call esi
mov dword [ebx + 8], eax
mov byte [ebp - 4], 9
push 0
push 0
push 0
push 0
call esi
mov dword [ebx + 0xc], eax
mov byte [ebp - 4], 0xa
push 0
push 0
push 0
push 0
call esi
mov dword [ebx + 0x10], eax
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0xc
mov dword [ebx + 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x20], ecx
cmp eax, 4
jl 0x441170
mov eax, dword [edi + 0xc]
mov dword [ecx + eax], ebx
add dword [edi + 0x14], 4
jmp 0x441181
lea eax, [ecx + 4]
mov ecx, edi
push eax
call fcn.0043fce0
mov ecx, dword [ebp - 0x20]
mov dword [eax + ecx], ebx
mov eax, dword [edi + 0x14]
shr eax, 2
dec eax
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x10]
push esi
push ecx
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call fcn.00440a60
test eax, eax
jne 0x44124b
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
lea edx, [eax*4]
mov eax, dword [edi + 0x14]
cmp edx, 0xffffffff
jg 0x4411cf
add eax, 0xfffffffc
test eax, eax
jg 0x441224
jmp 0x4411fc
mov ecx, eax
sub ecx, edx
cmp ecx, 4
jle 0x4411f8
mov ecx, dword [edi + 0xc]
sub eax, edx
add ecx, edx
sub eax, 4
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.00453f80
mov eax, dword [edi + 0x14]
add esp, 0xc
mov ecx, 4
cmp eax, ecx
jne 0x441222
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x44120b
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
jmp 0x44122c
sub eax, ecx
push eax
mov ecx, edi
call fcn.0043fce0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebx]
mov ecx, ebx
mov eax, dword [edx + 4]
cmp eax, method.CVolPoolThread.virtual_4
jne 0x441247
push 1
call dword [edx]
jmp 0x441249
call eax
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x3c], vtable.CVolMem.0
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x44128c
mov eax, dword [ebp - 0x3c]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x441287
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x44128c
lea ecx, [ebp - 0x3c]
call eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x3c], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xffffffffffffffff
call fcn.00457262
int3