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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d420
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x463064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 8
cmovae eax, dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416b9e
mov edx, dword [ebx + 0x18]
test edx, edx
jne 0x416a2f
mov byte [ebp - 0x2d], dl
jmp 0x416ba2
mov ecx, dword [ebx + 0x1c]
lea eax, [ebx + 8]
cmp ecx, 8
cmovae eax, dword [ebx + 8]
lea edi, [eax + edx*2]
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
cmp eax, edi
je 0x416a66
mov ecx, 0x5c
nop
cmp word [eax], 0x2f
jne 0x416a59
mov word [eax], cx
add eax, 2
cmp eax, edi
jne 0x416a50
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
xor esi, esi
nop dword [eax + eax]
cmp ecx, 8
lea edi, [ebx + 8]
cmovae edi, dword [ebx + 8]
cmp esi, edx
jae 0x416ab0
mov ecx, edx
lea eax, [edi + esi*2]
sub ecx, esi
mov esi, 0
je 0x416aa3
cmp word [eax], 0x5c
je 0x416aa1
cmp ecx, 1
je 0x416aa3
add eax, 2
dec ecx
cmp word [eax], 0x5c
jne 0x416a92
mov esi, eax
test esi, esi
je 0x416ab0
sub esi, edi
sar esi, 1
cmp esi, 0xffffffff
jne 0x416ab2
mov esi, edx
cmp edx, esi
mov dword [ebp - 0x1c], 0
mov ecx, esi
mov dword [ebp - 0x18], 0
cmovb ecx, edx
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 8
xorps xmm0, xmm0
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.00406280
cmp dword [ebp - 0x1c], 0
je 0x416b18
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416b18
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0043a774
add esp, 4
test eax, eax
jne 0x416b62
mov ecx, dword [ebp - 0x18]
inc esi
cmp ecx, 8
jb 0x416b53
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416b49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416bf9
push ecx
push edx
call fcn.0042f0de
add esp, 8
mov edx, dword [ebx + 0x18]
cmp esi, edx
jae 0x416b9e
mov ecx, dword [ebx + 0x1c]
jmp 0x416a70
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x416b98
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416b8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416bf9
push ecx
push edx
call fcn.0042f0de
add esp, 8
mov byte [ebp - 0x2d], 0
jmp 0x416ba2
mov byte [ebp - 0x2d], 1
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x416bd8
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416bce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416bf9
push ecx
push edx
call fcn.0042f0de
add esp, 8
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f096
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00437fc6
int3