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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469ed2
mov eax, dword fs:[0]
push eax
sub esp, 0xcf4
mov eax, dword [0x4ca578]
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 - 0xcfc], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcf0], 0
push 0x208
mov dword [ebx + 0x84], eax
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.00447700
push 0x208
lea eax, [ebp - 0x708]
push 0
push eax
call fcn.00447700
push 0x2e6
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.00447700
push 0x5e0
lea eax, [ebp - 0xce8]
push 0
push eax
call fcn.00447700
push 0x47f94d
xor edi, edi
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0xd00], edi
mov dword [ebp - 0xcf0], 1
call fcn.004451b8
mov esi, eax
add esp, 0x38
test esi, esi
je 0x41e9c0
mov dword [esi], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.0
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
push str.95.0.1020.30
mov dword [esi + 0x14], edi
call fcn.0041f060
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 1
mov dword [esi], method.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.virtual_0
mov ecx, dword [0x54079c]
test ecx, ecx
je 0x41e9b2
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edi, esi
mov dword [esi], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.0
mov dword [ebp - 0xd00], edi
cmp dword [0x512058], 0
mov eax, dword [edi]
je 0x41e9e9
push str.__remote_debugging_port9222
push edi
mov byte [ebp - 0xce9], 0
call dword [eax + 0x10]
push eax
lea ecx, [ebp - 0xce9]
call fcn.0041baa0
jmp 0x41ea02
push 0
push edi
mov byte [ebp - 0xcea], 0
call dword [eax + 0x10]
push eax
lea ecx, [ebp - 0xcea]
call fcn.0041b370
cmp dword [ebx + 0x9c], 0
je 0x41ea36
cmp dword [ebx + 0xa0], 8
lea ecx, [ebx + 0x8c]
mov byte [ebp - 0xceb], 0
jb 0x41ea23
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0xceb]
call fcn.0041b860
lea eax, [ebp - 0x708]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x53e5a0
push str.pathToExtractExe__s
push dword [0x504e50]
call fcn.00440eb0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push 0x53e5a0
push 0
push 0xfde9
call ebx
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov dword [0x51ccd8], eax
lea eax, [ebp - 0x500]
push eax
push 0xffffffffffffffff
push 0x53e5a0
push 0
push 0xfde9
call ebx
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x2f8]
push 0x104
push eax
call fcn.004539f4
add esp, 0xc
lea ecx, [ebp - 0x708]
lea eax, [ebp - 0x2f8]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41eaf6
test dx, dx
je 0x41eaf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41eaf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ead0
xor eax, eax
jmp 0x41eafb
sbb eax, eax
or eax, 1
lea ecx, [ebp - 0x2f8]
add ecx, 0xfffffffe
test eax, eax
jne 0x41eb50
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41eb10
mov eax, dword [0x4727b4]
mov dword [ecx], eax
mov eax, dword [0x4727b8]
mov dword [ecx + 4], eax
mov eax, dword [0x4727bc]
mov dword [ecx + 8], eax
mov eax, dword [0x4727c0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4727c4]
mov dword [ecx + 0x10], eax
mov ax, word [0x4727c8]
mov word [ecx + 0x14], ax
jmp 0x41eb8b
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41eb50
mov eax, dword [str..WebView2_]
mov dword [ecx], eax
mov eax, dword [0x4727d0]
mov dword [ecx + 4], eax
mov eax, dword [0x4727d4]
mov dword [ecx + 8], eax
mov eax, dword [str.8Zp_vu]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4727dc]
mov dword [ecx + 0x10], eax
mov eax, dword [0x4727e0]
mov dword [ecx + 0x14], eax
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x2f8]
lea ecx, [ecx + 2]
mov word [ecx + 0x53e6ce], ax
test ax, ax
jne 0x41eb90
push 0
lea eax, [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41ed28
lea ecx, [ebp - 0x2f8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ebc7
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 esi, eax
lea ecx, [esi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
mov dword [ebp - 0xcf4], eax
lea eax, [ebp - 0x2f8]
push eax
push 0
push 0xfde9
call ebx
call fcn.0041ce60
mov ecx, eax
test ecx, ecx
je 0x41ef38
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xcf8], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 1
jge 0x41ec6c
push 0x104
lea ecx, [ebp - 0xcf8]
call fcn.00420040
mov esi, dword [ebp - 0xcf8]
push esi
push 0
push 0x4727e4
push 0x53e5a0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x41eca1
xor ebx, ebx
jmp 0x41ecb4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ecd0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x41ed28
push dword [ebp - 0xcf4]
mov ecx, 0x511bf0
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.004193b0
push 1
mov ecx, 0x511bf0
mov dword [0x51d838], 1
mov dword [0x506050], 1
call fcn.00419740
mov ecx, 0x511bf0
call fcn.00411b20
mov dword [0x53f5e0], ebx
jmp 0x41ef0d
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x47f94d
push 0x10
mov dword [ebp - 0xcf0], 3
call fcn.004451b8
mov esi, eax
add esp, 8
test esi, esi
je 0x41ed96
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov ecx, dword [0x54079c]
test ecx, ecx
je 0x41ed6e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ebx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x2f8]
push esi
push 0
push eax
push 0
mov dword [esi + 0xc], ebx
mov dword [esi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.virtual_0
call fcn.004013f0
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x41edae
push 0
push 0
lea eax, [ebp - 0x2f8]
push eax
push 0
call fcn.004013f0
mov ebx, dword [ebp - 0xcfc]
cmp dword [ebx + 4], 0
jne 0x41ee3a
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x2f8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xcea], ax
test ax, ax
jne 0x41edc0
lea ecx, [ebp - 0xce8]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41ede1
mov eax, dword [0x4727e8]
mov dword [ecx], eax
mov eax, dword [0x4727ec]
mov dword [ecx + 4], eax
mov eax, dword [0x4727f0]
mov dword [ecx + 8], eax
mov eax, dword [0x4727f4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4727f8]
mov dword [ecx + 0x10], eax
mov ax, word [0x4727fc]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0xce8]
push eax
mov ecx, 0x511bf0
call fcn.00419a60
push eax
mov ecx, 0x511bf0
call fcn.00419890
push 0x47f94d
push 0x14
mov dword [ebp - 0xcf0], 7
call fcn.004451b8
mov esi, eax
add esp, 8
test esi, esi
je 0x41eea3
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov ecx, dword [0x54079c]
test ecx, ecx
je 0x41ee76
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push esi
push edi
lea eax, [ebp - 0x2f8]
mov dword [esi + 0xc], ebx
push eax
lea eax, [ebp - 0xce8]
mov dword [esi + 0x10], 0x41f670
push eax
mov dword [esi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.virtual_0
call fcn.004013f0
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x41eeb9
push 0
push edi
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0xce8]
push eax
call fcn.004013f0
mov ecx, 0x46d9ec
lea eax, [ebp - 0xce8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41eeea
test dx, dx
je 0x41eee6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41eeea
add eax, 4
add ecx, 4
test dx, dx
jne 0x41eec4
xor eax, eax
jmp 0x41eeef
sbb eax, eax
or eax, 1
test eax, eax
je 0x41eefa
push str.Using_EdgeStable
jmp 0x41eeff
push str.Using_runtime
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
mov eax, dword [edi]
push edi
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.00444ab5
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0041c530
int3