Function at 0x40b530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f9b7
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x42a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
or ebx, 0xffffffff
test edx, edx
mov dword [ebp - 0x10], 0
push str.NtReadVirtualMemory
push dword [0x42ab48]
cmovg ebx, edx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
test edi, edi
jg 0x40b60e
mov dword [ebp - 0x4c], method.CVolObjectArray.virtual_0
mov dword [ebp - 0x4c], vtable.CVolObject.0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 1
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x4c], vtable.leyBc_Module::Memory_Info.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov word [ebp - 0x34], ax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 4], 2
push eax
push 0x1c
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp + 8]
push ebx
call dword [0x42ab4c]
mov edi, dword [ebp - 0x40]
sub edi, dword [ebp + 8]
add edi, dword [ebp - 0x30]
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], vtable.CVolObject.0
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 4
mov dword [esi], vtable.CVolMem.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 5
mov dword [ebp - 0x3c], 0x42252c
mov dword [ebp - 0x3c], vtable.CVolObject.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 6
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 byte [ebp - 4], 5
mov dword [ebp - 0x10], 3
test edi, edi
je 0x40b6f6
mov ebx, dword [ebp - 0x24]
mov eax, edi
cdq
idiv ebx
mov eax, dword [ebp - 0x3c]
sub ebx, edx
add ebx, edi
push ebx
mov eax, dword [eax]
cmp eax, method.CVolObjectArray.virtual_0
jne 0x40b6e1
mov ecx, 0x42a9d8
call fcn.0041af60
test eax, eax
jne 0x40b6e6
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x3c]
call eax
mov dword [ebp - 0x30], eax
mov ecx, edi
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
jmp 0x40b6fc
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi]
add esp, 0xc
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401380
je 0x40b718
mov ecx, esi
call eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00401ed0
mov eax, 3
mov dword [ebp - 0x10], eax
and eax, 0xfffffffd
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], vtable.CVolMem.0
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x40b769
mov eax, dword [ebp - 0x3c]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x40b764
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x40b769
lea ecx, [ebp - 0x3c]
call eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x3c], vtable.CVolObject.0
jne 0x40b793
xor eax, eax
jmp 0x40b796
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push edi
push eax
push dword [ebp + 8]
push ebx
call dword [ebp - 0x18]
mov eax, esi
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