Function at 0x44bc10
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x58d596
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x14]
push eax
call fcn.004030f0
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x18]
push ecx
call fcn.004030f0
mov byte [esp + 0x24], 2
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 0xc]
cmp eax, ebp
mov ecx, dword [esp + 0x14]
jle 0x44bd8f
test ebp, ebp
jl 0x44be2c
cmp ebp, eax
jg 0x44be2c
mov bl, byte [edx + ebp]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x44bca7
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.00403340
mov ecx, dword [esp + 0x14]
mov byte [edi + ecx], bl
test esi, esi
jl 0x44be2c
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x44be2c
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov byte [esi + edx], 0
cmp bl, 0x5c
je 0x44bcd8
cmp bl, 0x2f
jne 0x44bd7b
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44bd27
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x44bd27
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x44bd27
call edi
cmp eax, 5
je 0x44bd27
mov esi, dword [esp + 0x2c]
call edi
push eax
push esi
push str.Create_Directory__s_is_failed__error__u.
mov esi, 0x602250
call fcn.00409e30
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x44bd7f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x44bd6e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44bd6e
call fcn.004066f0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x44bd65
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x44bd7b
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004033b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 0xc]
inc ebp
cmp ebp, eax
jl 0x44bc6e
cmp dword [esp + 0x30], 0
je 0x44be43
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44bde5
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x44bde5
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x44bde5
call edi
cmp eax, 5
je 0x44bde5
mov esi, dword [esp + 0x2c]
call edi
push eax
push esi
push str.Create_Directory__s_is_failed__error__u.
mov esi, 0x602250
call fcn.00409e30
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x44be43
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x44be36
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44be36
call fcn.004066f0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x44be23
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x44be43
push 0x80070057
call fcn.00401e70
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004033b0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
mov esi, eax
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44be75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44be9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44bec2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret