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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4541f8
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x473018]
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], 8
jb 0x426433
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42644a
test al, 0x10
je 0x42644a
mov al, 1
jmp 0x4266f9
lea eax, [ebp - 0x28]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x426467
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.00404580
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.0041c5e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004040c0
lea eax, [ebp - 0x40]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x4264ff
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.00404580
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.0041c6d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.004040c0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040bc80
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040be10
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x98]
je 0x42669b
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403fa0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00419200
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b680
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc8]
call fcn.004040c0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403fa0
or esi, 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0xd0], esi
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42663b
mov byte [ebp - 0xc9], 0
test al, 0x10
jne 0x426642
mov byte [ebp - 0xc9], 1
and esi, 0xfffffffe
mov dword [ebp - 0xd0], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.004040c0
cmp byte [ebp - 0xc9], 0
je 0x426678
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push eax
call edi
test eax, eax
je 0x426714
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.004040c0
lea ecx, [ebp - 0x78]
call fcn.004142a0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x98]
jne 0x4265b0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xc
mov ecx, eax
call fcn.004040c0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.004040c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.004040c0
mov byte [ebp - 0xc9], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004040c0
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.00432e76
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.004040c0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0xc
mov ecx, eax
call fcn.004040c0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.004040c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.004040c0
mov byte [ebp - 0xc9], 0
jmp 0x4266e4