Function at 0x4437e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a092b
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4c2618]
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 dword [ebp - 0xfc], edx
mov dword [ebp - 0x100], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
call fcn.00443e60
cmp dword [eax + 0x14], 8
jb 0x44383f
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete bl
cmp dword [ebp - 0xd4], 8
jb 0x443864
push dword [ebp - 0xe8]
call fcn.00466e37
add esp, 4
test bl, bl
je 0x443920
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x443920
lea ecx, [ebp - 0xe8]
call fcn.00443e60
mov esi, eax
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1d8]
call fcn.00403750
mov dword [ebp - 0x128], 8
mov dword [ebp - 0x124], str.AppDataFile::Save
mov edx, str.create_directory
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c8]
call fcn.00407bd0
mov edx, esi
lea ecx, [ebp - 0x1c8]
call fcn.00408350
mov edx, str._failed_err
lea ecx, [ebp - 0x1c8]
call fcn.00407bd0
push edi
lea ecx, [ebp - 0x1c8]
call fcn.0041fd70
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0
call fcn.00402230
cmp dword [ebp - 0xd4], 8
jb 0x443919
push dword [ebp - 0xe8]
call fcn.00466e37
add esp, 4
xor al, al
jmp 0x443d2b
push 4
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], 5
call fcn.00401670
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp - 0x118]
push 4
push str.lang
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.0040e1c0
mov byte [ebp - 4], 3
mov edi, 0x4ace2a
mov ecx, dword [ebp - 0xfc]
mov eax, edi
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x110]
push eax
call fcn.0040ec50
mov ebx, eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00403060
mov esi, eax
mov dword [ebp - 0xfc], esi
cmp esi, ebx
je 0x4439d6
mov ecx, esi
call fcn.00401780
mov dword [ebp - 0xec], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x4439d6
push ebx
mov ecx, esi
call fcn.00401860
lea ecx, [ebp - 0x110]
call fcn.00401780
mov byte [ebp - 4], 2
cmp dword [ebp - 0xd4], 0x10
jb 0x4439fc
push dword [ebp - 0xe8]
call fcn.00466e37
add esp, 4
push 9
push str.direction
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.0040e1c0
mov byte [ebp - 4], 6
mov eax, edi
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x110]
push eax
call fcn.0040ec50
mov ebx, eax
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 7
call fcn.00403060
mov esi, eax
mov dword [ebp - 0xec], esi
cmp esi, ebx
je 0x443a87
mov ecx, esi
call fcn.00401780
mov dword [ebp - 0xf8], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x443a87
push ebx
mov ecx, esi
call fcn.00401860
lea ecx, [ebp - 0x110]
call fcn.00401780
mov byte [ebp - 4], 2
cmp dword [ebp - 0xd4], 0x10
jb 0x443aad
push dword [ebp - 0xe8]
call fcn.00466e37
add esp, 4
push 4
push str.data
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.0040e1c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0xf4]
test eax, eax
cmovne edi, eax
push edi
call fcn.0040ec50
mov edi, eax
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xa
call fcn.00403060
mov esi, eax
mov dword [ebp - 0xec], esi
cmp esi, edi
je 0x443b36
mov ecx, esi
call fcn.00401780
mov dword [ebp - 0xf4], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x443b36
push edi
mov ecx, esi
call fcn.00401860
lea ecx, [ebp - 0x110]
call fcn.00401780
mov byte [ebp - 4], 2
cmp dword [ebp - 0xd4], 0x10
jb 0x443b5c
push dword [ebp - 0xe8]
call fcn.00466e37
add esp, 4
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0xe8]
call fcn.00443d50
mov esi, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [esi + 0x14], 8
jae 0x443ba1
mov eax, dword [esi + 0x10]
inc eax
je 0x443bac
add eax, eax
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00466ea0
add esp, 0xc
jmp 0x443bac
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xd4], 8
jb 0x443be6
push dword [ebp - 0xe8]
call fcn.00466e37
add esp, 4
xor eax, eax
mov dword [ebp - 0xd4], 7
push 0xa8
push eax
mov word [ebp - 0xe8], ax
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0xd8], 0
call fcn.0046d1b0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00443fa0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x7c], 0
jne 0x443c32
xor bl, bl
jmp 0x443c89
lea eax, [ebp - 0xd0]
push eax
push 0
lea ecx, [ebp - 0x120]
call fcn.00410850
lea ecx, [ebp - 0xcc]
call fcn.004103f0
test eax, eax
jne 0x443c87
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x443c75
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x443c87
push 0
call fcn.0040e060
mov bl, 1
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xcc]
call fcn.0040f840
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xd4], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], vtable.std::ios_base.0
call fcn.00451cf2
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x443d0a
push dword [ebp - 0x28]
call fcn.00466e37
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00401780
mov al, bl
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.00466e3c
mov esp, ebp
pop ebp
ret