Function at 0x40b1b0
Capabilities:
Create directory
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474ee3
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x49e044]
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
cmp byte [0x4a6ae9], 0
mov byte [ebp - 0x179], 0
je 0x40b282
push 0x1e
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x194]
push str.Edge_frame_already_initialized
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
call fcn.00417240
lea eax, [ebp - 0x194]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov edx, dword [ebp - 0x180]
cmp edx, 0x10
jb 0x40b27b
mov ecx, dword [ebp - 0x194]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b271
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd76
push edx
push ecx
call fcn.00452f08
add esp, 8
mov al, 1
jmp 0x40bd5a
test ecx, ecx
je 0x40b291
push ecx
mov ecx, 0x49eb50
call fcn.0040e5d0
push 0x14
mov dword [ebp - 0x1b0], 0
lea ecx, [ebp - 0x1b0]
push str.Creating_main_window
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
call fcn.00417240
lea eax, [ebp - 0x1b0]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x19c]
cmp edx, 0x10
jb 0x40b321
mov ecx, dword [ebp - 0x1b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd7b
push edx
push ecx
call fcn.00452f08
add esp, 8
cmp dword [0x49ec00], 8
mov eax, 0x49ebec
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
jb 0x40b34f
mov eax, dword [0x49ebec]
cmp dword [0x49ebe8], 8
mov ecx, 0x49ebd4
jb 0x40b363
mov ecx, dword [0x49ebd4]
push 0
push 0
push 0
push dword [0x4a6bc0]
push 0
push 0
push 0
push 0
push 0x54000000
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4a6bd0], eax
test eax, eax
je 0x40bd58
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0xffffffffffffffeb
push eax
call esi
push 3
push 0
push 0
push 0
push 0
push 1
push dword [0x4a6bd0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
push dword [0x4a6bd0]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x200
push eax
push 0xfffffffffffffff0
push dword [0x4a6bd0]
call esi
push 0x13
mov dword [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1c8]
push str.Showing_main_window
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
call fcn.00417240
lea eax, [ebp - 0x1c8]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1b4]
cmp edx, 0x10
jb 0x40b466
mov ecx, dword [ebp - 0x1c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b45c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd80
push edx
push ecx
call fcn.00452f08
add esp, 8
push 5
push dword [0x4a6bd0]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2d
mov dword [ebp - 0x1e0], 0
lea ecx, [ebp - 0x1e0]
push str.Creating_configuring_audio_session_controller
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
call fcn.00417240
lea eax, [ebp - 0x1e0]
mov dword [ebp - 4], 3
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1cc]
cmp edx, 0x10
jb 0x40b51f
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b515
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd85
push edx
push ecx
call fcn.00452f08
add esp, 8
push 0x40
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
call fcn.00452b1d
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
push 0x40
push 0
push esi
mov dword [ebp - 4], 4
call fcn.004549a0
add esp, 0xc
mov ecx, esi
push 0x49eb4c
call fcn.0042fb20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x4a6bdc]
mov dword [0x4a6bdc], eax
test ecx, ecx
je 0x40b58a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x4a6bdc]
mov cl, byte [0x49eb9c]
mov byte [eax + 4], cl
cmp byte [0x49eb9c], 0
je 0x40b5b6
mov esi, dword [0x4a6bdc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x4a6bd0]
mov ecx, esi
call fcn.00431000
push 0x2d
mov dword [ebp - 0x1f8], 0
lea ecx, [ebp - 0x1f8]
push str.Setting_window_presentation_for_audio_session
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
call fcn.00417240
lea eax, [ebp - 0x1f8]
mov dword [ebp - 4], 5
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1e4]
cmp edx, 0x10
jb 0x40b646
mov ecx, dword [ebp - 0x1f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b63c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd8a
push edx
push ecx
call fcn.00452f08
add esp, 8
mov eax, dword [0x4a6bdc]
lea ecx, [ebp - 0x210]
push 0x10
mov dword [ebp - 0x210], 0
push str.Creating_storage
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
mov dword [eax + 0x18], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0xf
mov byte [ebp - 0x210], 0
call fcn.00417240
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1fc]
cmp edx, 0x10
jb 0x40b6fd
mov ecx, dword [ebp - 0x210]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd8f
push edx
push ecx
call fcn.00452f08
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0xf
mov byte [ebp - 0x210], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push ecx
mov dword [ebp - 4], 7
call fcn.00428d90
add esp, 4
test eax, eax
je 0x40ba19
mov edx, 0x49eb28
lea ecx, [ebp - 0x228]
call fcn.0040adf0
push eax
lea ecx, [ebp - 0x44]
call fcn.00414530
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x40b7a4
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b79a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd94
push edx
push ecx
call fcn.00452f08
add esp, 8
xor eax, eax
mov dword [ebp - 0x218], 0
lea edx, [ebp - 0x44]
mov dword [ebp - 0x214], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x228], ax
call fcn.004287b0
push 0x98
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00413c20
mov edx, str.Attempting_to_create_directory
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe0]
call fcn.0041a0d0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
jb 0x40b811
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, eax
call fcn.0041f8f0
add esp, 4
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0xdc]
push eax
call fcn.00416ab0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0xa
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x40b883
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd99
push edx
push ecx
call fcn.00452f08
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
jb 0x40b8aa
mov eax, dword [ebp - 0x44]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40b9c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x98
mov esi, eax
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x178]
call fcn.00413c20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x178]
cmp esi, 0xb7
je 0x40b90a
mov edx, str.Cant_create_directory__
call fcn.0041a0d0
push esi
mov ecx, eax
call fcn.00413ee0
jmp 0x40b939
mov edx, str.Directory
call fcn.0041a0d0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
jb 0x40b920
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, eax
call fcn.0041f8f0
add esp, 4
mov edx, str._already_exists
mov ecx, eax
call fcn.0041a0d0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x174]
call fcn.00416ab0
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0xc
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x40b99e
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b994
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd9e
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.00409c70
lea ecx, [ebp - 0xe0]
call fcn.00409c70
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ba07
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b9fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bda3
push edx
push ecx
call fcn.00452f08
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x1d
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x194]
push str.Setting_up_WebView2_component
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
call fcn.00417240
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0xd
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x180]
cmp edx, 0x10
jb 0x40baa3
mov ecx, dword [ebp - 0x194]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bda8
push edx
push ecx
call fcn.00452f08
add esp, 8
push 0x47f230
xor edi, edi
mov dword [ebp - 0x184], 0
push 0x28
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
mov dword [ebp - 0x2c], edi
call fcn.00452b4d
mov esi, eax
add esp, 8
mov dword [ebp - 0x198], esi
test esi, esi
je 0x40bb57
mov byte [ebp - 4], 0xe
mov dword [esi], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.0
mov dword [esi + 4], vtable.CoreWebView2EnvironmentOptionsBase_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.1.0
push 0x1c
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
test eax, eax
je 0x40bb1e
mov ecx, 7
mov esi, str.102.0.1245.22
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x198]
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], 1
mov dword [esi], method.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.1.virtual_0
mov dword [esi + 4], 0x48d400
mov ecx, dword [0x4a57b4]
test ecx, ecx
je 0x40bb45
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [esi], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.1.0
mov dword [esi + 4], vtable.CoreWebView2EnvironmentOptionsBaseClass_void_____stdcall___unsigned_long_int___void____stdcall_CoTaskMemAlloc_unsigned_long_int___void____stdcall___void____void___stdcall_CoTaskMemFree_void___.0
mov edi, esi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0x10
mov eax, dword [edi]
push str.__disable_featuresmsEnhancedTrackingPreventionEnabled
push edi
call dword [eax + 0x10]
push 0x47f230
push 0x10
call fcn.00452b4d
mov esi, eax
add esp, 8
test esi, esi
je 0x40bba4
mov byte [ebp - 4], 0x11
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov ecx, dword [0x4a57b4]
test ecx, ecx
je 0x40bb9c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [esi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.virtual_0
jmp 0x40bba6
xor esi, esi
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
jb 0x40bbb2
mov eax, dword [ebp - 0x44]
push esi
push edi
push eax
push 0
call fcn.00401291
mov ebx, eax
mov byte [ebp - 4], 0x12
test esi, esi
je 0x40bbcc
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x10
test ebx, ebx
jns 0x40bc99
push 0x98
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00413c20
mov edx, str.Cant_create_core_WebView2_environment_with_options____
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe0]
call fcn.0041a0d0
push ebx
mov ecx, eax
call fcn.004140b0
mov edx, 0x48bcd0
mov ecx, eax
call fcn.0041a0d0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00416ab0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x14
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x40bc86
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bdad
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00409c70
mov bl, byte [ebp - 0x179]
jmp 0x40bd14
push 0x45
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Returning_from_successful_initialization_of_core_WebView2_environment
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00417240
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x15
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40bd0b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bdb2
push edx
push ecx
call fcn.00452f08
add esp, 8
mov byte [0x4a6ae9], 1
mov bl, 1
mov byte [ebp - 4], 0x16
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40bd54
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bdb7
push edx
push ecx
call fcn.00452f08
add esp, 8
mov al, bl
jmp 0x40bd5a
xor al, al
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.004528ff
mov esp, ebp
pop ebp
ret
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
int3