Function at 0x415750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466405
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47e048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword [0x47e6c0]
xorps xmm0, xmm0
push edi
push eax
movlpd qword [ebp - 0x18], xmm0
call fcn.00414640
cmp dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
jne 0x4157ba
push str._____Failed_to_parse_imports_n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00414b90
add esp, 8
jmp 0x415918
push 0x40
push 0x3000
push 0x1f4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4157ee
push str._____Failed_to_VirtualAlloc_n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00414b90
add esp, 8
jmp 0x415918
mov ecx, dword [0x47e6f8]
lea eax, [ebp - 0x5c]
push eax
call fcn.00419640
push 0xb
push str.module.dll
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00406dc0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x415819
mov esi, dword [esi]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00406ea0
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415830
sub ecx, edx
mov edx, dword [ebp - 0x24]
push 0
add edx, 4
mov dword [ebp - 0x1c], edx
lea eax, [ecx + 1]
push eax
push esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4158e7
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push 0xc
mov dword [0x47e003], eax
xorps xmm0, xmm0
mov dword [0x47e00c], eax
mov eax, dword [ebp - 0x1c]
push 0x467768
mov dword [0x47e015], eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00408640
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00415030
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov dword [0x47e01b], eax
call fcn.00406ea0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4158c1
mov eax, dword [ebp - 0x24]
sub ecx, edx
push 0
push 0x22
add eax, 9
push section..data
add eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x41593d
push str._____WPM_failed_with_error_:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00414b90
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x415230
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00414390
push 0x2c
push dword [ebp - 0x18]
call fcn.0041abdb
add esp, 8
xor al, al
jmp 0x4159dc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x415940
push 5
sub esi, ecx
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x467778
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
call fcn.00408640
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x18]
call fcn.00415030
push 0
push 4
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push ecx
push dword [eax + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x47e6d8]
add eax, 9
push 6
add eax, esi
push eax
push dword [ebp - 0x1c]
push edi
call fcn.004184c0
lea ecx, [ebp - 0x3c]
call fcn.00406ea0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00414390
push 0x2c
push dword [ebp - 0x18]
call fcn.0041abdb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041abe9
mov esp, ebp
pop ebp
ret 4