Function at 0x44aa40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d706
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x621810]
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 eax, dword [ebp + 8]
xor ecx, ecx
xor esi, esi
push 0xffffffffffffffff
mov word [ebp - 0x2c], cx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.00401b81
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x44aab4
cmp dword [ebp - 0x18], 8
jb 0x44aaad
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048bcc1
add esp, 4
xor al, al
jmp 0x44acda
mov edi, 8
cmp eax, 2
jb 0x44aaf7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, edi
jae 0x44aacd
lea eax, [ebp - 0x2c]
cmp word [eax], 0x5c
jne 0x44aaf7
mov eax, edx
cmp ecx, edi
jae 0x44aadc
lea eax, [ebp - 0x2c]
cmp word [eax + 2], 0x5c
jne 0x44aaf7
cmp ecx, edi
jb 0x44aaad
push edx
call fcn.0048bcc1
add esp, 4
xor al, al
jmp 0x44acda
lea eax, [ebp - 0x2c]
push eax
call fcn.0044a9a0
add esp, 4
test al, al
jne 0x44ab1f
cmp dword [ebp - 0x18], edi
jb 0x44aaad
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0048bcc1
add esp, 4
xor al, al
jmp 0x44acda
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov eax, ebx
cmp edx, edi
jae 0x44ab2e
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x44ab50
cmp eax, 0x2f
je 0x44ab50
push 0x5c
lea eax, [ebp - 0x2c]
call fcn.0044ca30
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov esi, 7
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ecx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x1c], eax
jbe 0x44acb7
jmp 0x44ab86
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x6c]
mov edi, 8
mov eax, ebx
cmp edx, edi
jae 0x44ab8f
lea eax, [ebp - 0x2c]
movzx eax, word [eax + ecx*2]
mov dword [ebp - 0x74], eax
mov eax, ebx
cmp edx, edi
jae 0x44ab9f
lea eax, [ebp - 0x2c]
cmp word [eax + ecx*2], 0x5c
je 0x44abba
mov eax, ebx
cmp edx, edi
jae 0x44abaf
lea eax, [ebp - 0x2c]
cmp word [eax + ecx*2], 0x2f
jne 0x44ac5b
cmp esi, edi
mov esi, dword [ebp - 0x48]
jae 0x44abc4
lea esi, [ebp - 0x48]
xor ecx, ecx
push esi
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
call fcn.0048c5ca
mov ecx, esi
add esp, 4
lea esi, [ebp - 0x64]
call fcn.00401834
mov esi, 1
or dword [ebp - 0x68], esi
cmp dword [ebp - 0x54], 0
je 0x44ac17
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x44ac04
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44ac17
shr eax, 4
and al, 1
jne 0x44ac33
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x44ac22
lea eax, [ebp - 0x48]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44ac33
mov bl, 1
jmp 0x44ac35
xor bl, bl
test byte [ebp - 0x68], 1
je 0x44ac50
and dword [ebp - 0x68], 0xfffffffe
cmp dword [ebp - 0x50], edi
jb 0x44ac50
mov edx, dword [ebp - 0x64]
push edx
call fcn.0048bcc1
add esp, 4
test bl, bl
jne 0x44acf6
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov eax, ecx
cmp esi, edi
jae 0x44ac67
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x38]
lea eax, [eax + edx*2]
cmp esi, edi
jae 0x44ac74
lea ecx, [ebp - 0x48]
test eax, eax
je 0x44ac7c
sub eax, ecx
sar eax, 1
mov ecx, dword [ebp - 0x74]
push ecx
mov edi, eax
lea esi, [ebp - 0x48]
call fcn.0044caf0
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, dword [ebp - 0x1c]
jb 0x44ab75
cmp dword [ebp - 0x34], 8
jb 0x44acac
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0048bcc1
add esp, 4
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov edi, 8
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp edx, edi
jb 0x44acd8
push ebx
call fcn.0048bcc1
add esp, 4
mov al, 1
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.0048b951
mov esp, ebp
pop ebp
ret
test byte [0x6353fc], 1
jne 0x44ada7
or dword [0x6353fc], esi
xor ebx, ebx
push 0x635408
mov dword [0x635400], 0x5ff3e8
mov dword [0x635404], ebx
mov dword [0x635420], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 3
push edi
mov dword [0x635400], 0x5ff428
call fcn.0048bf08
add esp, 4
cmp eax, ebx
je 0x44ad55
mov dword [eax], 0xffffffff
mov byte [eax + 4], 1
mov esi, eax
jmp 0x44ad57
xor esi, esi
push 0x635408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x635404]
mov edi, 1
add dword [0x635420], edi
cmp eax, ebx
je 0x44ad7f
push eax
call fcn.0048bcc1
add esp, 4
sub dword [0x635420], edi
push 0x635408
mov dword [0x635404], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x635400]
call edi
mov ebx, dword [ebp - 0x78]
push eax
mov eax, ebx
call fcn.004017ef
mov edx, dword [esi + 8]
push eax
push str.CreateDirByZm:_s_GetLastError__u
push str.utilFileUtils.cpp
push 0xdc
push 2
push 0x635400
call edx
add esp, 0x1c
test byte [0x6353d0], 1
jne 0x44ae09
or dword [0x6353d0], 1
mov byte [ebp - 4], 4
call fcn.004033c3
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov byte [ebp - 4], 1
mov esi, dword [0x6353d4]
call edi
push eax
mov eax, ebx
call fcn.004017ef
push eax
mov eax, dword [esi + 4]
push str.CreateDirByZm:_s_GetLastError__u
push 2
push 0x6353d4
call eax
mov esi, 8
add esp, 0x14
cmp dword [ebp - 0x34], esi
jb 0x44ae44
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0048bcc1
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x44aaad
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048bcc1
add esp, 4
xor al, al
jmp 0x44acda