Function at 0x40e720
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d5df
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [edi], vtable.CVolObject.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 1
mov dword [edi], vtable.CVolMem.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0x40
mov dword [ebp - 4], 0
mov ebx, dword [edx + 0x14]
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x44], vtable.CVolObject.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], vtable.CVolMem.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0x40
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 3
test ebx, ebx
je 0x40e846
mov esi, dword [ebp - 0x2c]
mov eax, ebx
cdq
idiv esi
mov eax, dword [ebp - 0x44]
sub esi, edx
add esi, ebx
push esi
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x40e834
mov ecx, 0x428a38
call fcn.00412fe0
test eax, eax
jne 0x40e839
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x44]
call eax
mov dword [ebp - 0x38], eax
mov ecx, ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
jmp 0x40e84c
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi]
add esp, 0xc
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401190
je 0x40e868
mov ecx, edi
call eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00401ca0
mov eax, 3
mov dword [ebp - 0x14], eax
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], vtable.CVolMem.0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x40e8b9
mov eax, dword [ebp - 0x44]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40e8b4
mov ecx, 0x428a38
call fcn.004130d0
jmp 0x40e8b9
lea ecx, [ebp - 0x44]
call eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x44], vtable.CVolObject.0
test ebx, ebx
jle 0x40e941
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
mov dword [ebp - 0x18], ecx
mov eax, dword [edx + 0x14]
cmp ecx, eax
jle 0x40e920
sub eax, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [eax + 1]
xor eax, eax
add ecx, esi
cmovns eax, ecx
push eax
mov eax, dword [edx + 0xc]
sub eax, esi
dec eax
add eax, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov al, byte [ebp - 0x28]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
jmp 0x40e929
mov eax, dword [edx + 0xc]
sub eax, esi
mov al, byte [eax + ebx - 1]
mov byte [ebp - 0xd], al
dec ecx
mov eax, dword [edi + 0xc]
mov dl, byte [ebp - 0xd]
mov dword [ebp - 0x18], ecx
mov byte [esi + eax], dl
inc esi
mov edx, dword [ebp - 0x1c]
cmp esi, ebx
jl 0x40e8e7
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret