Function at 0x427660
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475342
mov eax, dword fs:[0]
push eax
sub esp, 0xaec
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xaf8], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xae8], 0
push 0x2e6
mov dword [ebx + 0x8c], eax
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.004500f0
push 0x5e0
lea eax, [ebp - 0xae0]
push 0
push eax
call fcn.004500f0
push 0x48eb18
xor esi, esi
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0xaf4], esi
mov dword [ebp - 0xae8], 1
call fcn.0044d811
mov edi, eax
add esp, 0x20
mov dword [ebp - 0xaec], edi
test edi, edi
je 0x427768
mov dword [edi], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.0
lea ecx, [edi + 0x14]
mov dword [edi + 4], 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 + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
push str.102.0.1245.22
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
call fcn.00427e20
mov dword [edi + 0x14], eax
mov dword [edi + 0x24], 1
mov dword [edi], method.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.virtual_0
mov dword [edi + 4], 0x47ed40
mov ecx, dword [0x562ed0]
test ecx, ecx
je 0x427753
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov esi, edi
mov dword [edi], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.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___.1.0
mov dword [ebp - 0xaf4], esi
cmp dword [0x52b060], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
je 0x4277b1
push str.__disable_renderer_accessibility
push esi
mov byte [ebp - 0xae1], 0
call eax
push eax
lea ecx, [ebp - 0xae1]
call fcn.00422e90
mov eax, dword [esi]
push str.__remote_debugging_port9222
push esi
mov byte [ebp - 0xae2], 0
call dword [eax + 0x10]
push eax
lea ecx, [ebp - 0xae2]
call fcn.00424130
jmp 0x4277c9
push 0
push esi
mov byte [ebp - 0xae3], 0
call eax
push eax
lea ecx, [ebp - 0xae3]
call fcn.00423200
cmp dword [ebx + 0xa4], 0
je 0x4277fd
cmp dword [ebx + 0xa8], 8
lea ecx, [ebx + 0x94]
mov byte [ebp - 0xae4], 0
jb 0x4277ea
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0xae4]
call fcn.004235c0
push 0x208
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.004500f0
add esp, 0xc
lea eax, [ebp - 0x500]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x55e620
push str.pathToExtractExe__s
push 1
push dword [0x514990]
call fcn.00449450
push 0x55e620
lea eax, [ebp - 0x2f8]
push 0x104
push eax
call fcn.0045e4b4
add esp, 0x1c
lea ecx, [ebp - 0x500]
lea eax, [ebp - 0x2f8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427887
test dx, dx
je 0x427883
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427887
add eax, 4
add ecx, 4
test dx, dx
jne 0x427861
xor eax, eax
jmp 0x42788c
sbb eax, eax
or eax, 1
lea ecx, [ebp - 0x2f8]
add ecx, 0xfffffffe
test eax, eax
jne 0x4278e0
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4278a0
mov eax, dword [0x47f078]
mov dword [ecx], eax
mov eax, dword [0x47f07c]
mov dword [ecx + 4], eax
mov eax, dword [0x47f080]
mov dword [ecx + 8], eax
mov eax, dword [0x47f084]
mov dword [ecx + 0xc], eax
mov eax, dword [0x47f088]
mov dword [ecx + 0x10], eax
mov ax, word [0x47f08c]
mov word [ecx + 0x14], ax
jmp 0x42791b
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4278e0
mov eax, dword [str..WebView2_]
mov dword [ecx], eax
mov eax, dword [0x47f094]
mov dword [ecx + 4], eax
mov eax, dword [0x47f098]
mov dword [ecx + 8], eax
mov eax, dword [0x47f09c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x47f0a0]
mov dword [ecx + 0x10], eax
mov eax, dword [0x47f0a4]
mov dword [ecx + 0x14], eax
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x2f8]
lea ecx, [ecx + 2]
mov word [ecx + 0x55e852], ax
test ax, ax
jne 0x427920
push 0
lea eax, [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427ac8
lea ecx, [ebp - 0x2f8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427957
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x2f8]
push 0
push 0
push 0
push 0
sub ecx, edx
sar ecx, 1
push ecx
push eax
push 0
push 0xfde9
call ebx
mov edi, eax
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
mov dword [ebp - 0xaec], eax
lea eax, [ebp - 0x2f8]
push eax
push 0
push 0xfde9
call ebx
call fcn.004252f0
mov ecx, eax
test ecx, ecx
je 0x427cdd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xaf0], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 1
jge 0x4279fc
push 0x104
lea ecx, [ebp - 0xaf0]
call fcn.00428f00
mov edi, dword [ebp - 0xaf0]
push edi
push 0
push 0x47f0a8
push 0x55e620
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x427a31
xor ebx, ebx
jmp 0x427a44
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x427a60
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x427ac2
mov ecx, 0x52abf8
call fcn.00418b70
push dword [ebp - 0xaec]
mov ecx, 0x52abf8
push str._dllPath_
push str.You_do_not_have_write_and_execute_permissions_to_at_least_one_of_the_following_folders._To_use_this_application__you_must_have_write_execute_access._r_n_dllPath_.
push str.NoFolderAccess
call fcn.00420b00
push 1
mov ecx, 0x52abf8
mov dword [0x53b6b0], 1
mov dword [0x5162c8], 1
call fcn.004211f0
mov ecx, 0x52abf8
call fcn.004186d0
mov dword [0x56088c], ebx
jmp 0x427cb2
mov ebx, dword [ebp - 0xaf8]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x48eb18
push 0x10
mov dword [ebp - 0xae8], 3
call fcn.0044d811
mov edi, eax
add esp, 8
test edi, edi
je 0x427b30
mov dword [edi + 8], 1
mov dword [edi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov ecx, dword [0x562ed0]
test ecx, ecx
je 0x427b0e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push edi
push 0
lea eax, [ebp - 0x2f8]
mov dword [edi + 0xc], ebx
push eax
push 0
mov dword [edi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.virtual_0
call fcn.00401447
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x427b42
push 0
push 0
lea eax, [ebp - 0x2f8]
push eax
push 0
call fcn.00401447
cmp dword [ebx + 4], 0
jne 0x427bdd
push str.runtime_not_available_trying_to_load_stable
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x2f8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xae2], ax
test ax, ax
jne 0x427b63
lea ecx, [ebp - 0xae0]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x427b84
mov eax, dword [str.EdgeStable]
mov dword [ecx], eax
mov eax, dword [0x47f0e0]
mov dword [ecx + 4], eax
mov eax, dword [0x47f0e4]
mov dword [ecx + 8], eax
mov eax, dword [0x47f0e8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x47f0ec]
mov dword [ecx + 0x10], eax
mov ax, word [0x47f0f0]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0xae0]
push eax
mov ecx, 0x52abf8
call fcn.004215d0
push eax
mov ecx, 0x52abf8
call fcn.00421400
push 0x48eb18
push 0x14
mov dword [ebp - 0xae8], 7
call fcn.0044d811
mov edi, eax
add esp, 8
test edi, edi
je 0x427c46
mov dword [edi + 8], 1
mov dword [edi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov ecx, dword [0x562ed0]
test ecx, ecx
je 0x427c19
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push edi
push esi
lea eax, [ebp - 0x2f8]
mov dword [edi + 0xc], ebx
push eax
lea eax, [ebp - 0xae0]
mov dword [edi + 0x10], 0x428520
push eax
mov dword [edi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.virtual_0
call fcn.00401447
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x427c5c
push 0
push esi
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0xae0]
push eax
call fcn.00401447
mov ecx, 0x478b6c
lea eax, [ebp - 0xae0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427c8d
test dx, dx
je 0x427c89
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427c8d
add eax, 4
add ecx, 4
test dx, dx
jne 0x427c67
xor eax, eax
jmp 0x427c92
sbb eax, eax
or eax, 1
test eax, eax
je 0x427c9d
push str.Using_EdgeStable
jmp 0x427ca2
push str.Using_runtime
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
mov eax, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004248c0
int3