Function at 0x4d0290
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c84f0
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
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 - 0x220], eax
call fcn.00442ea0
mov ecx, dword [ebp - 0x220]
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::TH14::THAdvOptWnd.0
mov dword [eax], 0x45286f
mov dword [eax + 4], 0x4d9d70
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], 0x43708a
mov dword [eax + 4], 0x4d9af0
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], 0x43712c
mov dword [eax + 4], 0x4d9b10
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 + 0x1e8]
movsd qword [ecx + 0x208], xmm0
xorps xmm0, xmm0
mov dword [eax], 0x43719f
mov dword [eax + 4], 0x4d9b50
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 + 0x200], 0
xor edx, edx
mov dword [ecx + 0x204], 0x3c
mov dword [ecx + 0x210], 0
mov dword [ecx + 0x214], 0
mov dword [ecx + 0x218], 0
mov dword [ecx + 0x21c], 0
movups xmmword [ecx + 0x220], xmm0
mov dword [ecx + 0x230], 0
mov dword [ecx + 0x234], 7
mov word [ecx + 0x220], ax
mov byte [ecx + 0x238], al
mov dword [ecx + 0x240], eax
mov word [ecx + 0x2c4], ax
movups xmmword [ecx + 0x348], xmm0
mov dword [ecx + 0x358], eax
mov dword [ecx + 0x35c], 7
push 0x27
mov word [ecx + 0x348], dx
call fcn.00457a10
mov ecx, dword [ebp - 0x220]
sub esp, 8
mov dword [esp + 4], 0x3f4ccccd
mov dword [esp], 0x3f4ccccd
call fcn.004576a0
mov ecx, dword [ebp - 0x220]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 2
call fcn.004578c0
mov ecx, dword [ebp - 0x220]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 3
call fcn.004578c0
lea eax, [ebp - 0x2c0]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_4___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_4___void___.0
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x270]
lea eax, [ebp - 0x298]
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], ecx
push ecx
mov dword [ebp - method.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_3___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_3___void___.0
lea ecx, [eax + 0x60]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_2___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_2___void___.0
mov dword [ebp - 0x26c], eax
mov dword [ebp - method.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_1___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_THPrac::TH14::THAdvOptWnd::constructor_void_::_2::_lambda_1___void___.0
mov dword [ebp - 0x244], eax
call fcn.00485d90
push eax
mov ecx, esi
call fcn.00485d90
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x270]
push eax
lea ecx, [esi + 0x88]
call fcn.00485d90
push eax
mov ecx, edi
call fcn.00485d90
lea eax, [ebp - 0x298]
push eax
lea ecx, [esi + 0xb0]
call fcn.00485d90
push eax
lea ecx, [esi + 0x150]
call fcn.00485d90
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [esi + 0xd8]
call fcn.00485d90
push eax
lea ecx, [esi + 0x178]
call fcn.00485d90
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x4d0621
mov edx, dword [ecx]
lea eax, [ebp - 0x248]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x4d0649
mov edx, dword [ecx]
lea eax, [ebp - 0x270]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x24c], 0
mov ecx, dword [ebp - 0x274]
test ecx, ecx
je 0x4d0671
mov edx, dword [ecx]
lea eax, [ebp - 0x298]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x274], 0
mov ecx, dword [ebp - 0x29c]
test ecx, ecx
je 0x4d068f
mov edx, dword [ecx]
lea eax, [ebp - 0x2c0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x4d07a5
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [0x4d9159], 3
jne 0x4d06fb
lea eax, [ebp - 0x21c]
mov dword [esi + 0x200], 1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push 0x46a792
call esi
mov eax, dword [ebp - 0x220]
add eax, 0x208
mov dword [0x46a792], eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x21c]
push 4
push 0x46a792
call esi
mov esi, dword [ebp - 0x220]
jmp 0x4d0705
mov dword [esi + 0x200], 0
lea ecx, [esi + 0x1b8]
call fcn.0045b020
lea ecx, [esi + 0x1d0]
call fcn.0045b020
lea ecx, [esi + 0x1e8]
call fcn.0045b020
call fcn.004da720
lea ecx, [esi + 0x1a0]
call fcn.0045b020
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4d0756
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [esi + 0x348]
push edx
push eax
call fcn.00469260
push 0x60ed40
lea ecx, [esi + 0x348]
call fcn.004690f0
mov eax, esi
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