Function at 0x41e0f0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4692e7
mov eax, dword fs:[0]
push eax
sub esp, 0xcf0
mov eax, dword [0x4c8578]
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 - 0xcf4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcf0], 0
push 0x2e6
mov dword [ebx + 0x84], eax
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.00446b20
push 0x5e0
lea eax, [ebp - 0xce8]
push 0
push eax
call fcn.00446b20
push 0x47e7fd
xor edi, edi
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0xcf8], edi
mov dword [ebp - 0xcf0], 1
call fcn.004446a6
mov esi, eax
add esp, 0x20
test esi, esi
je 0x41e1da
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.0041e710
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 [0x53daf8]
test ecx, ecx
je 0x41e1cc
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 - 0xcf8], edi
cmp dword [0x50ffb8], 0
mov eax, dword [edi]
je 0x41e203
push str.__remote_debugging_port9222
push edi
mov byte [ebp - 0xce9], 0
call dword [eax + 0x10]
push eax
lea ecx, [ebp - 0xce9]
call fcn.0041b3a0
jmp 0x41e21c
push 0
push edi
mov byte [ebp - 0xcea], 0
call dword [eax + 0x10]
push eax
lea ecx, [ebp - 0xcea]
call fcn.0041b820
cmp dword [ebx + 0x9c], 0
je 0x41e250
cmp dword [ebx + 0xa0], 8
lea ecx, [ebx + 0x8c]
mov byte [ebp - 0xceb], 0
jb 0x41e23d
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0xceb]
call fcn.0041b5e0
push 0x208
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.00446b20
push 0x208
lea eax, [ebp - 0x708]
push 0
push eax
call fcn.00446b20
add esp, 0x18
lea eax, [ebp - 0x708]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0x53c500
push str.pathToExtractExe__s
push dword [0x502db0]
call fcn.004403a0
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push 0x53c500
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 [0x51ac38], eax
lea eax, [ebp - 0x500]
push eax
push 0xffffffffffffffff
push 0x53c500
push 0
push 0xfde9
call ebx
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x2f8]
push 0x104
push eax
call fcn.00452e14
add esp, 0xc
lea ecx, [ebp - 0x708]
lea eax, [ebp - 0x2f8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e336
test dx, dx
je 0x41e332
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e336
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e310
xor eax, eax
jmp 0x41e33b
sbb eax, eax
or eax, 1
lea ecx, [ebp - 0x2f8]
add ecx, 0xfffffffe
test eax, eax
jne 0x41e390
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41e350
mov eax, dword [0x471674]
mov dword [ecx], eax
mov eax, dword [0x471678]
mov dword [ecx + 4], eax
mov eax, dword [0x47167c]
mov dword [ecx + 8], eax
mov eax, dword [0x471680]
mov dword [ecx + 0xc], eax
mov eax, dword [0x471684]
mov dword [ecx + 0x10], eax
mov ax, word [0x471688]
mov word [ecx + 0x14], ax
jmp 0x41e3cb
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41e390
mov eax, dword [str..WebView2_]
mov dword [ecx], eax
mov eax, dword [0x471690]
mov dword [ecx + 4], eax
mov eax, dword [0x471694]
mov dword [ecx + 8], eax
mov eax, dword [0x471698]
mov dword [ecx + 0xc], eax
mov eax, dword [0x47169c]
mov dword [ecx + 0x10], eax
mov eax, dword [0x4716a0]
mov dword [ecx + 0x14], eax
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x2f8]
lea ecx, [ecx + 2]
mov word [ecx + 0x53c62e], ax
test ax, ax
jne 0x41e3d0
push 0
lea eax, [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x47e7fd
push 0x10
mov dword [ebp - 0xcf0], 3
call fcn.004446a6
mov esi, eax
add esp, 8
test esi, esi
je 0x41e464
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov ecx, dword [0x53daf8]
test ecx, ecx
je 0x41e43c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ebx, dword [ebp - 0xcf4]
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 0x41e47c
push 0
push 0
lea eax, [ebp - 0x2f8]
push eax
push 0
call fcn.004013f0
mov ebx, dword [ebp - 0xcf4]
cmp dword [ebx + 4], 0
jne 0x41e4fe
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x2f8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xcea], ax
test ax, ax
jne 0x41e484
lea ecx, [ebp - 0xce8]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41e4a5
mov eax, dword [str.EdgeStable]
mov dword [ecx], eax
mov eax, dword [0x4716a8]
mov dword [ecx + 4], eax
mov eax, dword [0x4716ac]
mov dword [ecx + 8], eax
mov eax, dword [0x4716b0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4716b4]
mov dword [ecx + 0x10], eax
mov ax, word [0x4716b8]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0xce8]
push eax
mov ecx, 0x50fb50
call fcn.00419610
push eax
mov ecx, 0x50fb50
call fcn.00419440
push 0x47e7fd
push 0x14
mov dword [ebp - 0xcf0], 7
call fcn.004446a6
mov esi, eax
add esp, 8
test esi, esi
je 0x41e567
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov ecx, dword [0x53daf8]
test ecx, ecx
je 0x41e53a
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], 0x41ed20
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 0x41e57d
push 0
push edi
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0xce8]
push eax
call fcn.004013f0
mov ecx, 0x46c9dc
lea eax, [ebp - 0xce8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e5ae
test dx, dx
je 0x41e5aa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e5ae
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e588
xor eax, eax
jmp 0x41e5b3
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e5be
push str.Using_EdgeStable
jmp 0x41e5c3
push str.Using_runtime
push dword [0x502db0]
call fcn.004403a0
mov eax, dword [edi]
add esp, 8
mov dword [ebp - 4], 0xffffffff
push edi
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.00443fa5
mov esp, ebp
pop ebp
ret 4