Function at 0x4c86c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c76e0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
call fcn.00442ea0
mov ecx, dword [ebp - 0x28]
movsd xmm0, qword [0x5d24a8]
lea eax, [ecx + 0x60]
lea esi, [ecx + 0x100]
lea edi, [ecx + 0x128]
mov dword [ecx + 0x5c], 0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_1____void___.0
mov dword [eax + 0x24], eax
lea eax, [ecx + 0x88]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_2____void___.0
mov dword [eax + 0x24], eax
lea eax, [ecx + 0xb0]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_3____void___.0
mov dword [eax + 0x24], eax
lea eax, [ecx + 0xd8]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_4____void___.0
mov dword [eax + 0x24], eax
lea eax, [ecx + 0x150]
mov dword [esi], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_5____void___.0
mov dword [esi + 0x24], esi
mov dword [edi], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_6____void___.0
mov dword [edi + 0x24], edi
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_7____void___.0
mov dword [eax + 0x24], eax
lea eax, [ecx + 0x178]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_THPrac::Gui::PPGuiWnd::_lambda_8____void___.0
mov dword [eax + 0x24], eax
lea eax, [ecx + 0x1a0]
mov dword [ecx], vtable.THPrac::TH13::THAdvOptWnd.0
mov dword [eax], 0x42ce28
mov dword [eax + 4], 0x4cf6d0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov word [eax + 0x14], 0
mov byte [eax + 0x16], 0
lea eax, [ecx + 0x1b8]
mov dword [eax], 0x42cf1b
mov dword [eax + 4], 0x4cf6f0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov word [eax + 0x14], 0
mov byte [eax + 0x16], 0
lea eax, [ecx + 0x1d0]
movsd qword [ecx + 0x1f0], xmm0
xorps xmm0, xmm0
mov dword [eax], 0x42d004
mov dword [eax + 4], 0x4cf6f0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov word [eax + 0x14], 0
mov byte [eax + 0x16], 0
xor eax, eax
mov dword [ecx + 0x1e8], 0
mov dword [ecx + 0x1ec], 0x3c
mov dword [ecx + 0x1f8], 0
mov dword [ecx + 0x1fc], 0
mov dword [ecx + 0x200], 0
mov dword [ecx + 0x204], 0
movups xmmword [ecx + 0x208], xmm0
mov dword [ecx + 0x218], 0
mov dword [ecx + 0x21c], 7
mov word [ecx + 0x208], ax
push 0x27
mov byte [ecx + 0x220], al
call fcn.00457a10
mov ecx, dword [ebp - 0x28]
sub esp, 8
mov dword [esp + 4], 0x3f4ccccd
mov dword [esp], 0x3f4ccccd
call fcn.004576a0
mov ecx, dword [ebp - 0x28]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 2
call fcn.004578c0
sub esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], 0
push 3
call fcn.004578c0
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH13::THAdvOptWnd::constructor_void_::_2::_lambda_4___void___.0
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
push ecx
mov dword [ebp - 0xa0], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH13::THAdvOptWnd::constructor_void_::_2::_lambda_3___void___.0
lea ecx, [eax + 0x60]
mov dword [ebp - 0x78], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH13::THAdvOptWnd::constructor_void_::_2::_lambda_2___void___.0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x50], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH13::THAdvOptWnd::constructor_void_::_2::_lambda_1___void___.0
mov dword [ebp - 0x4c], eax
call fcn.00485d90
push eax
mov ecx, esi
call fcn.00485d90
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ecx + 0x88]
call fcn.00485d90
push eax
mov ecx, edi
call fcn.00485d90
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0xa0]
push eax
lea ecx, [edi + 0xb0]
call fcn.00485d90
push eax
lea ecx, [edi + 0x150]
call fcn.00485d90
lea eax, [ebp - 0xc8]
push eax
lea ecx, [edi + 0xd8]
call fcn.00485d90
push eax
lea ecx, [edi + 0x178]
call fcn.00485d90
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4c89b9
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4c89d8
mov edx, dword [ecx]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x4c89fa
mov edx, dword [ecx]
lea eax, [ebp - 0xa0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x4c8a18
mov edx, dword [ecx]
lea eax, [ebp - 0xc8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [edi + 0xac]
test ecx, ecx
je 0x4c8b55
mov eax, dword [ecx]
call dword [eax + 8]
push str.vpatch_th13.dll
mov dword [edi + 0x200], 1
mov dword [edi + 0x1fc], 0x258
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [edi + 0x204], eax
test eax, eax
je 0x4c8ac8
lea eax, [ebp - 0x20]
push eax
push str.vpatch_th13.dll
call fcn.00449950
add esp, 8
cmp dword [ebp - 0x20], 0x466822f4
jne 0x4c8abc
cmp dword [ebp - 0x1c], 0x59845fbd
jne 0x4c8abc
cmp dword [ebp - 0x18], 0x85f04c82
jne 0x4c8abc
cmp dword [ebp - 0x14], 0x80a51f7
jne 0x4c8abc
mov ecx, dword [edi + 0x204]
cmp dword [ecx + 0x1a024], 0
jne 0x4c8b17
mov dword [edi + 0x1e8], 2
mov eax, dword [ecx + 0x1a034]
mov dword [edi + 0x1ec], eax
mov eax, dword [ecx + 0x1a03c]
mov dword [edi + 0x1f8], eax
jmp 0x4c8b17
mov dword [edi + 0x1e8], 0xffffffff
jmp 0x4c8b17
cmp byte [0x4dc895], 3
jne 0x4c8b0d
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x24]
push eax
push 0x40
push 4
push 0x45d36a
mov dword [edi + 0x1e8], 1
call esi
lea eax, [edi + 0x1f0]
mov dword [0x45d36a], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push 4
push 0x45d36a
call esi
jmp 0x4c8b17
mov dword [edi + 0x1e8], 0
lea ecx, [edi + 0x1a0]
call fcn.0045b020
lea ecx, [edi + 0x1b8]
call fcn.0045b020
lea ecx, [edi + 0x1d0]
call fcn.0045b020
mov eax, edi
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.0059a5ad
mov esp, ebp
pop ebp
ret
call fcn.0059bd9a
int3