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

Disassembly:
push 0xffffffffffffffff
push 0x44b424
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [0x45b990]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x124]
push esi
push edi
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x128]
push 3
xor edi, edi
push 0x453418
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
call fcn.00408930
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp eax, esi
mov eax, dword [esp + 0x14]
jae 0x417417
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41742b
test al, 0x10
je 0x41742b
mov al, 1
jmp 0x41742d
xor al, al
test al, al
mov eax, dword [esp + 0x28]
sete bl
cmp eax, esi
jb 0x417447
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004358f6
add esp, 4
test bl, bl
je 0x4174a8
push 3
push 0x453418
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
call fcn.00408930
cmp dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
jae 0x41747a
lea eax, [esp + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, eax
mov eax, dword [esp + 0x28]
dec ebx
neg ebx
sbb bl, bl
inc bl
cmp eax, esi
jb 0x4174a0
mov edx, dword [esp + 0x14]
push edx
call fcn.004358f6
add esp, 4
test bl, bl
je 0x4177af
push 4
mov esi, 0xf
push str.log_
lea ecx, [esp + 0x100]
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], edi
mov byte [esp + 0x104], 0
call fcn.00408930
push edi
or eax, 0xffffffff
mov ecx, ebp
lea ebx, [esp + 0xfc]
mov dword [esp + 0x124], edi
call fcn.0040aa00
mov eax, dword [esp + 0x110]
mov ebp, 0x10
cmp eax, ebp
mov eax, dword [esp + 0xfc]
jae 0x41750d
lea eax, [esp + 0xfc]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x41759b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xfc]
call fcn.0041bf90
add esp, 4
cmp al, bl
jne 0x41756e
cmp dword [esp + 0x110], ebp
jb 0x4177af
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.004358f6
add esp, 4
xor al, al
jmp 0x417747
cmp dword [esp + 0x2c], 0x100000
jbe 0x41759b
lea edi, [esp + 0xf8]
call fcn.0041c000
cmp al, bl
jne 0x41759b
lea ecx, [esp + 0xf8]
call fcn.00405c50
xor al, al
jmp 0x417747
mov al, byte [esp + 0x130]
mov edi, dword [esp + 0xfc]
cmp al, bl
mov eax, dword [esp + 0x110]
je 0x41776e
cmp eax, ebp
jae 0x4175c3
lea edi, [esp + 0xfc]
mov edx, dword [esp + 0x134]
push edx
mov eax, 3
call fcn.0041de40
add esp, 4
test al, al
jne 0x417600
cmp dword [esp + 0x110], ebp
jb 0x4177af
mov eax, dword [esp + 0xfc]
push eax
call fcn.004358f6
add esp, 4
xor al, al
jmp 0x417747
mov dword [0x45ce34], ebx
mov edi, dword [esp + 0x30]
cmp dword [edi + 0x14], ebx
je 0x41761d
push 0xffffffffffffffff
push ebx
push edi
mov ecx, 0x45ce90
call fcn.004079f0
push 3
push 0x453418
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00408930
mov eax, edi
lea edi, [esp + 0x10]
mov byte [esp + 0x120], 1
call fcn.004272c0
mov byte [esp + 0x120], bl
cmp dword [esp + 0x28], ebp
jb 0x417666
mov eax, dword [esp + 0x14]
push eax
call fcn.004358f6
add esp, 4
push ebx
push 0x4505db
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00408930
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x54]
mov byte [esp + 0x124], 2
call fcn.0041cfa0
add esp, 4
mov esi, eax
push ebx
push 0x85
push 0x4533d0
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x130], 3
call fcn.0041df70
push esi
add eax, 4
push str.Version_:
push eax
mov byte [esp + 0x12c], 4
call fcn.0040ada0
add esp, 8
push eax
call fcn.0040b020
add esp, 8
lea ebx, [esp + 0x6c]
mov byte [esp + 0x120], 3
call fcn.0041e270
mov eax, dword [esp + 0x68]
mov esi, 0x10
cmp eax, esi
jb 0x417707
mov eax, dword [esp + 0x54]
push eax
call fcn.004358f6
add esp, 4
xor eax, eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x54], al
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x68], 0xf
jb 0x41772c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004358f6
add esp, 4
cmp dword [esp + 0x110], esi
jb 0x417745
mov edx, dword [esp + 0xfc]
push edx
call fcn.004358f6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x108]
pop ebx
xor ecx, esp
call fcn.004395fe
add esp, 0x114
ret
cmp eax, ebp
jae 0x417779
lea edi, [esp + 0xfc]
mov ecx, dword [esp + 0x134]
push ecx
mov eax, 1
call fcn.0041de40
add esp, 4
test al, al
jne 0x417606
cmp dword [esp + 0x110], ebp
jb 0x4177af
mov edx, dword [esp + 0xfc]
push edx
call fcn.004358f6
add esp, 4
xor al, al
jmp 0x417747