Function at 0x412370
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447d84
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x462304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x161], 0
movzx eax, byte [0x46257d]
test eax, eax
je 0x4123ee
push str.Edge_frame_already_initialized
lea ecx, [ebp - 0x88]
call fcn.004098b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, 0x462030
call fcn.00404da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0040ae30
mov al, 1
jmp 0x412a5b
cmp dword [ebp + 8], 0
je 0x412402
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x462628
call fcn.0040b880
push str.Creating_main_window
lea ecx, [ebp - 0x70]
call fcn.004098b0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x462030
call fcn.00404da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040ae30
push 0x4626fc
push 0
mov ecx, dword [0x4626f8]
push ecx
push 0x4626b4
push 0x4625d4
call fcn.00432c30
add esp, 0x14
mov byte [ebp - 0x162], al
movzx edx, byte [ebp - 0x162]
test edx, edx
jne 0x41246f
mov al, byte [ebp - 0x161]
jmp 0x412a5b
push str.Showing_main_window
lea ecx, [ebp - 0x58]
call fcn.004098b0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x462030
call fcn.00404da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040ae30
push 5
mov ecx, dword [0x4626fc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Creating_configuring_audio_session_controller
lea ecx, [ebp - 0x100]
call fcn.004098b0
mov dword [ebp - 4], 3
lea edx, [ebp - 0x100]
push edx
mov ecx, 0x462030
call fcn.00404da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.0040ae30
mov dword [ebp - 0x17c], 0x462030
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x184]
push ecx
call fcn.00408500
add esp, 8
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
push edx
mov ecx, 0x462700
call fcn.004053c0
lea ecx, [ebp - 0x184]
call fcn.0040b100
mov ecx, 0x462700
call fcn.0040bad0
mov dword [ebp - 0x1d8], eax
mov al, byte [0x462674]
mov byte [ebp - 0x163], al
movzx ecx, byte [ebp - 0x163]
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.00416c00
movzx edx, byte [0x462674]
test edx, edx
je 0x4125a4
mov ecx, 0x462700
call fcn.0040bad0
mov dword [ebp - 0x1c8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1d4], eax
mov eax, dword [0x4626fc]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
mov ecx, dword [ebp - 0x1c8]
call fcn.00432f30
push str.Setting_window_presentation_for_audio_session
lea ecx, [ebp - 0xe8]
call fcn.004098b0
mov dword [ebp - 4], 4
lea eax, [ebp - 0xe8]
push eax
mov ecx, 0x462030
call fcn.00404da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.0040ae30
mov ecx, 0x462700
call fcn.0040bad0
mov dword [ebp - 0x1c4], eax
push 0
mov ecx, dword [ebp - 0x1c4]
call fcn.00416de0
push str.Creating_storage
lea ecx, [ebp - 0xd0]
call fcn.004098b0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, 0x462030
call fcn.00404da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.0040ae30
mov dword [ebp - 0x1dc], 0
lea ecx, [ebp - 0x28]
call fcn.00409c20
mov dword [ebp - 4], 6
call fcn.00429aa0
test eax, eax
je 0x41282f
push 0x4625b0
lea edx, [ebp - 0x118]
push edx
call fcn.00410a00
add esp, 8
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b6a0
lea ecx, [ebp - 0x118]
call fcn.0040ae50
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0042a570
add esp, 8
mov byte [ebp - 4], 7
push 1
lea ecx, [ebp - 0x30c]
call fcn.004095c0
mov byte [ebp - 4], 8
push str.Attempting_to_create_directory
lea eax, [ebp - 0x30c]
push eax
call fcn.004054d0
add esp, 8
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00405490
add esp, 8
lea edx, [ebp - 0x160]
push edx
lea ecx, [ebp - 0x30c]
call fcn.0041b9b0
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1b8]
push ecx
mov ecx, 0x462030
call fcn.00404da0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x160]
call fcn.0040ae30
push 0
lea ecx, [ebp - 0x28]
call fcn.00419c70
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x412814
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x178], eax
push 1
lea ecx, [ebp - 0x274]
call fcn.004095c0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x178], 0xb7
je 0x41278e
push str.Cant_create_directory__
lea edx, [ebp - 0x274]
push edx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x1b4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
jmp 0x4127bd
push str.Directory
lea ecx, [ebp - 0x274]
push ecx
call fcn.004054d0
add esp, 8
lea edx, [ebp - 0x40]
push edx
push eax
call fcn.00405490
add esp, 8
push str._already_exists
push eax
call fcn.004054d0
add esp, 8
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x274]
call fcn.0041b9b0
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x1ac]
push edx
mov ecx, 0x462030
call fcn.00404da0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x148]
call fcn.0040ae30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x274]
call fcn.0040e4f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30c]
call fcn.0040e4f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0040ae30
push str.Setting_up_WebView2_component
lea ecx, [ebp - 0xb8]
call fcn.004098b0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xb8]
push eax
mov ecx, 0x462030
call fcn.00404da0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.0040ae30
xor ecx, ecx
mov byte [ebp - 0x164], cl
lea edx, [ebp - 0x164]
mov dword [ebp - 0x1a4], edx
lea eax, [ebp - 0x16c]
push eax
call fcn.00406970
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16c]
call fcn.0040bad0
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1a8], eax
push 0x44e7e0
mov ecx, dword [ebp - 0x170]
push ecx
call dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x194]
push eax
call fcn.00406030
add esp, 8
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
call fcn.0040bad0
mov dword [ebp - 0x188], eax
lea ecx, [ebp - 0x16c]
call fcn.0040bad0
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x28]
call fcn.00419c70
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x190]
push eax
push 0
call fcn.00401291
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x194]
call fcn.0040a9f0
cmp dword [ebp - 0x174], 0
jge 0x4129e9
push 1
lea ecx, [ebp - 0x3a4]
call fcn.004095c0
mov byte [ebp - 4], 0xe
push str.Cant_create_core_WebView2_environment_with_options____
lea ecx, [ebp - 0x3a4]
push ecx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x174]
push edx
mov ecx, dword [ebp - 0x198]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
push 0x44e7dc
push eax
call fcn.004054d0
add esp, 8
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x3a4]
call fcn.0041b9b0
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x1a0]
push edx
mov ecx, 0x462030
call fcn.00404da0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x130]
call fcn.0040ae30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3a4]
call fcn.0040e4f0
jmp 0x412a2b
push str.Returning_from_successful_initialization_of_core_WebView2_environment
lea ecx, [ebp - 0xa0]
call fcn.004098b0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x462030
call fcn.00404da0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.0040ae30
mov byte [0x46257d], 1
mov byte [ebp - 0x161], 1
mov cl, byte [ebp - 0x161]
mov byte [ebp - 0x165], cl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x16c]
call fcn.0040a9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ae50
mov al, byte [ebp - 0x165]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00446150
mov esp, ebp
pop ebp
ret