Function at 0x44cf70
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fa65
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5ee034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x260], eax
cmp dword [eax], 0
je 0x44cfb1
mov al, 1
jmp 0x44d225
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
push 0x20a
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 1
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x44d1ff
lea ecx, [ebp - 0x23c]
call fcn.00404a30
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00424f60
mov ecx, 0x5b80ac
call fcn.00404a30
push eax
push 0x5b80ac
lea ecx, [ebp - 0x254]
call fcn.00424f60
cmp dword [ebp - 0x240], 8
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d09c
cmp dword [ebp - 0x240], 8
lea eax, [ebp - 0x254]
push 0
cmovae eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44d1ff
push 0x100
call fcn.0057de0f
mov edi, eax
add esp, 4
mov dword [ebp - 0x25c], edi
mov byte [ebp - 4], 6
test edi, edi
je 0x44d0c7
xor eax, eax
mov word [edi], ax
mov word [edi + 0x80], ax
jmp 0x44d0c9
xor edi, edi
push str.fulldump
push 0x40
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push edi
call esi
push 0xa
push 0x10
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0x260]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
push dword [eax + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x80]
push 0x40
push eax
call esi
push 0xc8
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], 1
call fcn.0057d388
add esp, 0x2c
mov dword [ebp - 0x25c], eax
mov esi, dword [ebp - 0x260]
lea edi, [esi + 4]
mov byte [ebp - 4], 7
cmp dword [edi + 0x14], 8
jb 0x44d146
mov edi, dword [edi]
lea ecx, [eax + 0x10]
mov dword [eax + 0xc], 0
call fcn.00404580
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx + 0x28]
call fcn.00404580
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx + 0x40]
call fcn.00404580
mov eax, dword [ebp - 0x25c]
push 0x18
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
call fcn.0057d388
add esp, 4
mov ecx, eax
mov edx, ecx
call fcn.004044b0
lea edx, [ecx + 4]
mov dword [eax], ecx
call fcn.004044b0
push edi
mov dword [eax], ecx
mov eax, dword [ebp - 0x25c]
mov dword [eax + 0xc0], ecx
lea ecx, [ebp - 0x268]
push ecx
sub esp, 0x20
lea ecx, [ebp - 0x254]
push ecx
mov ecx, eax
call fcn.00482426
mov byte [ebp - 4], 1
mov edi, dword [esi]
mov eax, dword [ebp - 0x25c]
mov dword [esi], eax
test edi, edi
je 0x44d1f6
mov ecx, edi
call fcn.004826b2
push 0xc8
push edi
call fcn.0057d635
add esp, 8
mov byte [ebp - 0x255], 1
jmp 0x44d206
mov byte [ebp - 0x255], 0
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 8
call fcn.00404720
mov al, byte [ebp - 0x255]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d0c6
mov esp, ebp
pop ebp
ret