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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8b10
mov eax, dword fs:[0]
push eax
sub esp, 0xac
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 - 0x18], eax
call fcn.00442ea0
mov ecx, dword [ebp - 0x18]
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::TH18::THAdvOptWnd.0
mov dword [eax], 0x4448ab
mov dword [eax + 4], 0x507140
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], 0x444afa
mov dword [eax + 4], 0x507160
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]
mov dword [eax], 0x444c49
mov dword [eax + 4], 0x507160
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 + 0x230]
mov dword [ecx + 0x1e8], 0x4620b9
mov dword [ecx + 0x1ec], 0x507cb0
mov dword [ecx + 0x1f0], 0
mov dword [ecx + 0x1f4], 0
mov dword [ecx + 0x1f8], 0
mov word [ecx + 0x1fc], 0
mov byte [ecx + 0x1fe], 0
mov dword [ecx + 0x200], 0x468405
mov dword [ecx + 0x204], 0x507c10
mov dword [ecx + 0x208], 0
mov dword [ecx + 0x20c], 0
mov dword [ecx + 0x210], 0
mov word [ecx + 0x214], 0
mov byte [ecx + 0x216], 0
mov dword [ecx + 0x218], 0x44480d
mov dword [ecx + 0x21c], 0x507c30
mov dword [ecx + 0x220], 0
mov dword [ecx + 0x224], 0
mov dword [ecx + 0x228], 0
mov word [ecx + 0x22c], 0
mov byte [ecx + 0x22e], 0
mov dword [eax], 0x429222
mov dword [eax + 4], 0x507da0
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
mov dword [ecx + 0x248], 0x42921d
lea eax, [ecx + 0x248]
mov dword [eax + 4], 0x507da0
xorps xmm0, xmm0
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 + 0x2d4]
mov dword [eax], 0x438e47
mov dword [eax + 4], 0x507d80
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 + 0x2ec]
mov dword [eax], 0x407e05
mov dword [eax + 4], 0x507cd0
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 + 0x304]
mov dword [eax], 0x412c76
mov dword [eax + 4], 0x507430
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 + 0x31c]
mov dword [eax], 0x462f33
mov dword [eax + 4], 0x507000
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 + 0x260], 0x419e70
mov dword [ecx + 0x264], 0x42a7fd
mov dword [ecx + 0x268], 0x42a80f
mov dword [ecx + 0x26c], 0x430eab
mov dword [ecx + 0x270], 0x430eb6
mov dword [ecx + 0x274], 0x44476b
mov dword [ecx + 0x278], 0x44477a
mov dword [ecx + 0x27c], 0x444ad9
mov dword [ecx + 0x280], 0x444ade
mov dword [ecx + case.0x444b22.8], 0x444c00
mov dword [ecx + 0x288], 0x444c05
mov dword [ecx + 0x28c], 0x4462eb
mov dword [ecx + 0x290], 0x446302
mov dword [ecx + 0x294], 0x4463a1
mov dword [ecx + 0x298], 0x4463b1
mov dword [ecx + 0x29c], 0x44656e
mov dword [ecx + 0x2a0], 0x446578
mov dword [ecx + 0x2a4], 0x446ac6
mov dword [ecx + 0x2a8], 0x446ad7
mov dword [ecx + 0x2ac], 0x446d09
mov dword [ecx + 0x2b0], 0x446d1a
mov dword [ecx + 0x2b4], 0x45f2c4
mov dword [ecx + 0x2b8], 0x45f2cf
mov dword [ecx + 0x2c4], 0
mov dword [ecx + 0x2c8], 0
mov dword [ecx + 0x2cc], 0
mov dword [ecx + 0x2d0], 0
mov dword [ecx + 0x334], 0
mov word [ecx + 0x338], 0
mov dword [ecx + 0x33c], 0
mov dword [ecx + 0x340], 0
mov dword [ecx + 0x344], 0
movups xmmword [ecx + 0x348], xmm0
mov dword [ecx + 0x358], 0
mov dword [ecx + 0x35c], 7
mov word [ecx + 0x348], ax
movups xmmword [ecx + 0x360], xmm0
mov dword [ecx + 0x370], eax
mov dword [ecx + 0x374], 7
movsd xmm0, qword [0x5d24a8]
mov word [ecx + 0x360], ax
mov dword [ecx + 0x3ac], eax
mov dword [ecx + 0x3b0], eax
mov dword [ecx + 0x3b4], eax
lea eax, [ecx + 0x3dc]
movsd qword [ecx + 0x400], xmm0
xorps xmm0, xmm0
mov dword [eax], 0x462e4b
mov dword [eax + 4], 0x5079f0
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 + 0x3b8], 0x5cc10c
mov dword [ecx + 0x3bc], str.1235
mov dword [ecx + 0x3c0], 0x5cc184
mov dword [ecx + 0x3c4], 0x5cc188
mov dword [ecx + 0x3c8], 0x5ea4c8
mov dword [ecx + 0x3cc], 0x5cc18c
mov dword [ecx + 0x3d0], 0x5ea4cc
mov dword [ecx + 0x3d4], str.Extra
mov dword [ecx + 0x3d8], 0x5cc10c
mov dword [ecx + 0x3f8], 0
mov dword [ecx + 0x3fc], 0x3c
mov dword [ecx + 0x408], 0
mov dword [ecx + 0x40c], 0
mov dword [ecx + 0x410], 0
mov dword [ecx + 0x414], 0
movups xmmword [ecx + 0x418], xmm0
mov dword [ecx + 0x428], 0
mov dword [ecx + 0x42c], 7
mov word [ecx + 0x418], ax
push 0x27
mov byte [ecx + 0x430], al
call fcn.00457a10
mov ecx, dword [ebp - 0x18]
sub esp, 8
mov dword [esp + 4], 0x3f4ccccd
mov dword [esp], 0x3f4ccccd
call fcn.004576a0
mov ecx, dword [ebp - 0x18]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 2
call fcn.004578c0
mov ecx, dword [ebp - 0x18]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 3
call fcn.004578c0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb8], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH18::THAdvOptWnd::constructor_void_::_2::_lambda_4___void___.0
mov dword [ebp - 0x6c], ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
push ecx
lea ecx, [eax + 0x60]
mov dword [ebp - 0x90], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH18::THAdvOptWnd::constructor_void_::_2::_lambda_3___void___.0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x68], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH18::THAdvOptWnd::constructor_void_::_2::_lambda_2___void___.0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x40], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH18::THAdvOptWnd::constructor_void_::_2::_lambda_1___void___.0
mov dword [ebp - 0x3c], eax
call fcn.00485d90
push eax
mov ecx, esi
call fcn.00485d90
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ecx + 0x88]
call fcn.00485d90
push eax
mov ecx, edi
call fcn.00485d90
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0xb0]
call fcn.00485d90
push eax
lea ecx, [edi + 0x150]
call fcn.00485d90
lea eax, [ebp - 0xb8]
push eax
lea ecx, [edi + 0xd8]
call fcn.00485d90
push eax
lea ecx, [edi + 0x178]
call fcn.00485d90
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4fb497
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4fb4b6
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x4fb4d8
mov edx, dword [ecx]
lea eax, [ebp - 0x90]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x4fb4f6
mov edx, dword [ecx]
lea eax, [ebp - 0xb8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [edi + 0xac]
test ecx, ecx
je 0x4fb5ea
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [0x4cd011], 3
jne 0x4fb54e
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x472e55
mov dword [edi + 0x3f8], 1
call esi
lea eax, [edi + 0x400]
mov dword [0x472e55], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 4
push 0x472e55
call esi
jmp 0x4fb558
mov dword [edi + 0x3f8], 0
lea ecx, [edi + 0x1a0]
call fcn.0045b020
lea ecx, [edi + 0x1b8]
call fcn.0045b020
lea ecx, [edi + 0x1d0]
call fcn.0045b020
mov ecx, edi
call fcn.00501fc0
lea ecx, [edi + 0x304]
call fcn.0045b020
lea ecx, [edi + 0x2ec]
call fcn.0045b020
lea ecx, [edi + 0x2d4]
call fcn.0045b020
lea ecx, [edi + 0x31c]
call fcn.0045b020
lea ecx, [edi + 0x3dc]
call fcn.0045b020
lea ecx, [edi + 0x230]
call fcn.0045b020
lea ecx, [edi + 0x248]
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