Function at 0x409610
Capabilities:
Open clipboard
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4718b5
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x48d030]
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, ecx
mov dword [ebp - 0x120], edi
cmp dword [0x491b30], 0
jne 0x409687
push 0x68
call fcn.0046fd40
mov esi, eax
mov dword [ebp - 0x11c], esi
push 0x68
push 0
push esi
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
push 0x68
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
mov ecx, esi
call fcn.00407c10
mov dword [0x491b30], eax
mov eax, dword [ebp + 8]
push 0x100
push 0x491b38
push 0x67
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x4801f8
push 0x10
call fcn.0046fd70
mov esi, eax
add esp, 8
test esi, esi
je 0x4096e6
mov dword [ebp - 4], 1
mov ecx, dword [0x491cac]
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2WebMessageReceivedEventHandler_.0
test ecx, ecx
je 0x4096d9
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [esi + 0xc], edi
mov eax, esi
mov dword [esi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2WebMessageReceivedEventHandler_.virtual_0
jmp 0x4096e8
xor eax, eax
mov ecx, dword [edi + 0x60]
mov dword [edi + 0x60], eax
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4096ff
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 0
mov dword [ebp - 4], 0xffffffff
push dword [edi + 4]
push 0
push 0
push 0
push accept
push 0
push accept
push 0xcf0000
push 0x491b38
push 0x491a30
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [edi + 8], eax
test eax, eax
je 0x409e2d
push 0
mov dword [0x491b34], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40975c
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0x80
push 3
push 0
push 1
push accept
push str..VBoxMiniRdrDN
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 0xffffffff
je 0x409799
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.Erorr
push str.Error_cant_run_in_vmware__0x1_
jmp 0x4097e3
push 0xff
lea eax, [ebp - 0x250]
mov dword [ebp - 0x118], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 1
push 0
push str.SOFTWAREVMware__Inc.VMware_Tools
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4097fc
push eax
push str.Erorr
push str.Error_cant_run_in_vmware__0x2_
push dword [0x491b34]
call esi
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
call eax
push eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
call fcn.004094b0
call fcn.00409560
call fcn.00405210
push edi
push 0xffffffffffffffeb
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.00406650
push 0
push 0
push 0
push 0x4091e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x74]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x60]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x68]
sub eax, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x5c]
add eax, 0x1fe
push 0x11
push dword [edi + 8]
mov dword [edi + 0xc], eax
lea eax, [ecx + 0x4b]
mov dword [edi + 0x10], eax
call dword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
push 0
push 0
push 0x407d20
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x491cc0], eax
test eax, eax
jne 0x4098a6
call edi
push eax
push str.Error:__x__n
call fcn.004010b0
add esp, 8
push 0
push 0
push 0x407da0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x491cc4], eax
test eax, eax
jne 0x4098d0
call edi
push eax
push str.Error:__x__n
call fcn.004010b0
add esp, 8
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x1000
call edi
test eax, eax
jne 0x409986
push 0x1000
xor esi, esi
call edi
test eax, eax
jne 0x409980
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], esi
push eax
push 0x20019
push esi
push str.SYSTEMCurrentControlSetControlTerminal_Server_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40996b
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 4
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push str.GlassSessionId
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40996b
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x40996b
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp eax, dword [ebp - 0x38]
setne cl
mov dword [ebp - 0x14], ecx
mov esi, ecx
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x40997c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4099a9
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push str.Erorr
push str.Error_cant_run_in_Remote_Desktop
push dword [0x491b34]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 1
call edi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
push 0x40008
push 0xffffffffffffffec
push dword [ebp - 0x14]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xe8], 0x180000
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x90000000
push 0xfffffffffffffff0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x40
push edi
push esi
mov esi, dword [ebp - 0x14]
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 4
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push 3
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov edi, dword [ebp - 0x120]
push dword [ebp + 0xc]
push dword [edi + 8]
call esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [ebp - 0x50]
call fcn.0040fb70
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x3c]
mov eax, edx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
push 0xa
push str.User_Data
cmp eax, 0xa
jb 0x409a97
cmp edx, 0x10
lea esi, [ebp - 0x50]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0x50]
add esi, ecx
mov dword [ebp - 0x40], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x409aa8
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x14]
push 0xa
call fcn.004174e0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
push 0xa9
push str.__user_agent_Mozilla_5.0__Windows_NT_10.0__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_10.0_b9ad90fa05be5e6113ebfc512afd23ac732ec3716a3e4c3b95b86dce789f6f6a_2.0.0.1__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00412560
push 0x4801f8
xor esi, esi
push 0x44
mov dword [ebp - 0x14], esi
call fcn.0046fd70
mov edi, eax
add esp, 8
test edi, edi
je 0x409bcb
mov byte [ebp - 4], 6
mov dword [edi], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.3.0
mov dword [edi + 4], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.4.0
mov dword [edi + 8], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.0
mov dword [edi + 0xc], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.1.0
mov dword [edi + 0x10], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.2.0
push 0x1c
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], 1
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
test eax, eax
je 0x409b68
movups xmm0, xmmword [str.116.0.1938.49]
movups xmmword [eax], xmm0
movq xmm0, qword [0x482e18]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x482e20]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x491cac]
mov dword [edi + 0x28], eax
mov dword [edi + 0x40], 1
mov dword [edi], method.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.4.virtual_0
mov dword [edi + 4], 0x482f50
mov dword [edi + 8], 0x482f20
mov dword [edi + 0xc], 0x483828
mov dword [edi + 0x10], 0x483008
test ecx, ecx
je 0x409ba4
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [edi], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.4.0
mov dword [edi + 4], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.0
mov dword [edi + 8], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.1.0
mov dword [edi + 0xc], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.3.0
mov dword [edi + 0x10], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.2.0
mov esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
mov eax, dword [esi]
cmp dword [ebp - 0x18], 8
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call ecx
push 0x4801f8
push 0x10
xor edi, edi
call fcn.0046fd70
mov ecx, eax
add esp, 8
mov dword [ebp - 0x11c], ecx
test ecx, ecx
je 0x409c38
mov byte [ebp - 4], 9
mov edx, dword [0x491cac]
mov dword [ecx + 8], 1
mov dword [ecx], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
test edx, edx
je 0x409c27
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
mov edi, ecx
mov dword [ecx + 0xc], eax
mov dword [ecx], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.virtual_0
mov dword [ebp - 0x120], edi
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x138], xmm0
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x11c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409c76
sub ecx, dword [ebp - 0x11c]
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00417640
lea edx, [ebp - 0x138]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x150]
call fcn.00407e90
cmp dword [eax + 0x14], 8
jb 0x409cad
mov eax, dword [eax]
push edi
push esi
push eax
push 0
call dword [sym.imp.WebView2Loader.dll_CreateCoreWebView2EnvironmentWithOptions]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x11c], eax
cmp ecx, 8
jb 0x409cfa
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409cf0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d47
push ecx
push edx
call fcn.0047012d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
cmp ecx, 0x10
jb 0x409d57
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409d4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409d4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 0xc
test edi, edi
je 0x409d80
mov eax, dword [edi]
push edi
call dword [eax + 8]
cmp dword [ebp - 0x11c], 0
jge 0x409d98
push str.Content_WebViews_environment_creation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edi, edi
jmp 0x409d9d
mov edi, 1
mov byte [ebp - 4], 0xe
test esi, esi
je 0x409dab
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x409de1
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409dd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e1b
push ecx
push edx
call fcn.0047012d
add esp, 8
mov ecx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 0x10
jb 0x409e2b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409e21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409e21
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
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.0046fb30
mov esp, ebp
pop ebp
ret 8