Function at 0x40bd40
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4719df
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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 dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xb4], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0xb4], vtable.CVolObject.0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xb4], vtable.rg_n1::rg_n2366.0
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xb4], vtable.rg_n1::rg_n1941.0
call fcn.0040ea70
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 8]
call fcn.004025e0
mov ebx, 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x5c], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x5c], vtable.CVolObject.0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 5
mov dword [ebp - 0x5c], vtable.rg_n1::rg_n2366.0
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x5c], vtable.rg_n1::rg_n1941.0
call fcn.0040ea70
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.004025e0
mov byte [ebp - 4], 9
mov dword [ebp - 0x88], vtable.CWConstString.0
mov dword [ebp - 0x7c], 0x482bb4
mov byte [ebp - 4], 0xa
sub esp, 8
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
or dword [ebp - 0x58], ebx
lea edx, [ebp - 0x88]
push ebx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00420550
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.00401ad0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.0040e8e0
mov byte [ebp - 4], 4
xor edx, edx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x5c], vtable.CVolObject.0
mov dword [ebp + 0xc], edx
test ecx, 0xfffffffc
jbe 0x40c2c5
mov eax, dword [ebp - 0x98]
xor esi, esi
test ecx, ecx
lea ecx, [ebp - 0x5c]
cmove eax, esi
mov edx, dword [eax + edx*4]
call fcn.004025e0
mov byte [ebp - 4], 0xf
test edx, edx
mov eax, 0x47d154
mov dword [ebp - 0x5c], vtable.CWString.0
cmovne eax, edx
lea ecx, [ebp - 0x5c]
push eax
call fcn.004420c0
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x28], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x28], vtable.CVolObject.0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x28], vtable.CVolMem.0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0x40
mov byte [ebp - 4], 0x11
or ebx, 2
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40bf37
cmp dword [ebp - 0x38], eax
jne 0x40bf2c
mov eax, 0x47d154
jmp 0x40bf37
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40c0a2
cmp word [eax], 0
je 0x40c0a2
push 0x4887a8
push eax
call fcn.0045fc2c
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40c064
push 2
push 0
push ebx
call fcn.0045f44f
add esp, 0xc
push ebx
call fcn.00460652
add esp, 4
mov esi, eax
push 0
push 0
push ebx
call fcn.0045f44f
add esp, 0xc
test esi, esi
jle 0x40c05b
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40bfe5
cmp esi, dword [ebp - 0x14]
je 0x40c02e
mov edi, dword [ebp - 0x10]
mov eax, 0x40
test edi, edi
cmovle edi, eax
mov eax, dword [ebp - 0x18]
cmp eax, esi
jl 0x40bfb0
sub eax, esi
cmp eax, edi
jle 0x40c02b
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp - 0x28]
sub edi, edx
add edi, esi
push edi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.CWString.virtual_8
jne 0x40bfde
mov ecx, 0x4a1e48
call fcn.004406a0
mov ecx, eax
test ecx, ecx
je 0x40c417
jmp 0x40c025
lea ecx, [ebp - 0x28]
call eax
jmp 0x40c023
mov edi, dword [ebp - 0x10]
mov eax, 0x40
test edi, edi
cmovle edi, eax
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp - 0x28]
sub edi, edx
add edi, esi
push edi
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x40c01e
mov ecx, 0x4a1e48
call fcn.00440640
mov ecx, eax
test ecx, ecx
je 0x40c417
jmp 0x40c025
lea ecx, [ebp - 0x28]
call eax
mov ecx, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], esi
push ebx
push esi
push 1
push ecx
call fcn.0045ff97
push ebx
mov esi, eax
call fcn.004606f6
add esp, 0x14
test eax, eax
jne 0x40c05b
push esi
lea ecx, [ebp - 0x28]
call fcn.0043fce0
push ebx
call fcn.0045f10f
add esp, 4
jmp 0x40c09f
push ebx
call fcn.0045f10f
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40c08a
mov eax, dword [ebp - 0x28]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40c085
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x40c08a
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.00421710
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe0]
mov esi, dword [ebp + 8]
mov edx, esi
push eax
call fcn.00442e00
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x14
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x44]
mov eax, dword [edi + 4]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
call dword [eax + 0x44]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.00402130
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xd0], vtable.CVolMem.0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x40c147
mov eax, dword [ebp - 0xd0]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40c13f
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x40c147
lea ecx, [ebp - 0xd0]
call eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 0x15
mov dword [ebp - 0xd0], vtable.CVolObject.0
mov byte [ebp - 4], 0x13
mov dword [ebp - 0xe0], vtable.CVolObject.0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x78], vtable.CVolMem.0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x40c1bc
mov eax, dword [ebp - 0x78]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40c1b7
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x40c1bc
lea ecx, [ebp - 0x78]
call eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x78], vtable.CVolObject.0
mov byte [ebp - 4], 0x11
and ebx, 0xfffffffd
mov dword [ebp - 0x88], vtable.CVolObject.0
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x28], vtable.CVolMem.0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40c225
mov eax, dword [ebp - 0x28]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40c220
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x40c225
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x28], vtable.CVolObject.0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], vtable.CVolMem.0
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x40c280
mov eax, dword [ebp - 0x4c]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40c27b
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x40c280
lea ecx, [ebp - 0x4c]
call eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x4c], vtable.CVolObject.0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
mov dword [ebp - 0x5c], vtable.CVolObject.0
shr eax, 2
mov dword [ebp + 0xc], edx
cmp edx, eax
jl 0x40bea6
mov dword [ebp - 0x28], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x28], vtable.CVolObject.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x28], vtable.CVolMem.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x40
mov byte [ebp - 4], 0x20
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], vtable.CVolMem.0
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x40c32a
cmp dword [ebx + 0x24], eax
mov eax, 0x47d154
je 0x40c32a
mov eax, dword [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043fea0
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00421710
mov edi, eax
mov byte [ebp - 4], 0x22
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x44]
mov eax, dword [edi + 4]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
call dword [eax + 0x44]
lea eax, [edi + 0x10]
push eax
lea ecx, [ebx + 0x10]
call fcn.00402130
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x88]
call fcn.00401ad0
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], vtable.CVolMem.0
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x40c3be
mov eax, dword [ebp - 0x28]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40c3b9
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x40c3be
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], vtable.CVolObject.0
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0xa8]
call fcn.0040e8e0
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], vtable.CVolObject.0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.00457262
int3