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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455d68
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x476040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd0], 0
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x427c93
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427caa
test al, 0x10
je 0x427caa
mov al, 1
jmp 0x427f55
lea eax, [ebp - 0x28]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 7
mov ecx, dword [edi + 0x10]
jbe 0x427cc7
mov eax, dword [edi]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push ecx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404650
mov esi, 4
mov dword [ebp - 0xd0], 4
mov dword [ebp - 0xd0], esi
and esi, 0xfffffffb
mov dword [ebp - 0xd0], esi
mov dword [ebp - 4], 0
or esi, 2
mov dword [ebp - 0xd0], esi
mov dword [ebp - 4], 0xffffffff
and esi, 0xfffffffd
mov dword [ebp - 0xd0], esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00404310
lea eax, [ebp - 0x40]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x427d5f
mov edi, dword [edi]
mov byte [ebp - 4], 7
xorps xmm0, xmm0
push eax
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00404650
or esi, 0x20
mov dword [ebp - 0xd0], esi
and esi, 0xffffffdf
mov dword [ebp - 0xd0], esi
mov dword [ebp - 4], 6
or esi, 0x10
mov dword [ebp - 0xd0], esi
mov byte [ebp - 4], 4
and esi, 0xffffffef
mov dword [ebp - 0xd0], esi
mov byte [ebp - 4], 8
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041d220
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00404310
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040bf00
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040c090
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x98]
je 0x427ef7
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404240
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00419590
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b930
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc8]
call fcn.00404310
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404240
or esi, 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0xd0], esi
cmp dword [ebp - 0x2c], 7
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427e93
mov byte [ebp - 0xc9], 0
test al, 0x10
jne 0x427e9a
mov byte [ebp - 0xc9], 1
and esi, 0xfffffffe
mov dword [ebp - 0xd0], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.00404310
cmp byte [ebp - 0xc9], 0
je 0x427ed4
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push 0
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x427f70
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00404310
lea ecx, [ebp - 0x78]
call fcn.00414780
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x98]
jne 0x427e08
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xc
mov ecx, eax
call fcn.00404310
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00404310
mov byte [ebp - 0xc9], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00404310
mov al, byte [ebp - 0xc9]
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.0043488a
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00404310
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0xc
mov ecx, eax
call fcn.00404310
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00404310
mov byte [ebp - 0xc9], 0
jmp 0x427f40