Function at 0x426b60
Capabilities:
Check if file exists
Create directory

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 0x4af2c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x6c], esi
mov edx, esi
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x426bc3
sub edx, ecx
lea ecx, [ebp - 0x68]
sar edx, 1
push edx
push esi
call fcn.00404350
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
xor edx, edx
nop dword [eax]
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
mov edi, dword [ebp - 0x58]
cmovae ecx, dword [ebp - 0x68]
cmp edx, edi
jae 0x426c3e
mov eax, edi
lea esi, [ecx + edx*2]
sub eax, edx
je 0x426c3e
nop dword [eax + eax]
cmp word [esi], 0x5c
je 0x426cad
add esi, 2
sub eax, 1
jne 0x426c30
or esi, 0xffffffff
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp esi, 0xffffffff
je 0x426d02
cmp edi, edx
jb 0x427027
sub edi, edx
lea eax, [ebp - 0x68]
mov ecx, esi
sub ecx, edx
cmp edi, ecx
cmovb ecx, edi
cmp dword [ebp - 0x54], 8
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x50]
lea eax, [eax + edx*2]
push eax
call fcn.00404350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
push ecx
cmp eax, dword [ebp - 0x18]
je 0x426cb3
mov ecx, eax
call fcn.00404010
add dword [ebp - 0x1c], 0x18
jmp 0x426cbc
sub esi, ecx
sar esi, 1
jmp 0x426c41
push eax
lea ecx, [ebp - 0x20]
call fcn.0041bc00
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x426cfa
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426cf0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42702c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
lea edx, [esi + 1]
jmp 0x426c10
cmp edi, edx
jb 0x427027
sub edi, edx
lea eax, [ebp - 0x68]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp - 0x54], 8
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x50]
lea eax, [eax + edx*2]
push eax
call fcn.00404350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
push ecx
cmp eax, dword [ebp - 0x18]
je 0x426d4a
mov ecx, eax
call fcn.00404010
add dword [ebp - 0x1c], 0x18
jmp 0x426d53
push eax
lea ecx, [ebp - 0x20]
call fcn.0041bc00
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x426d91
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426d87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42702c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x426d9c
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426dc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.00404350
mov byte [ebp - 4], 4
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426f70
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
mov edi, 1
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jle 0x426f70
lea esi, [edi + 0x17]
nop
mov ecx, dword [ebp - 0x28]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x427031
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 1
cmovae eax, dword [ebp - 0x38]
push 0x4c4740
push ecx
push eax
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
call fcn.0040ab20
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, esi
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x426e69
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x84]
call fcn.004047e0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x38]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x50]
push eax
movq qword [ebp - 0x40], xmm0
call fcn.00403f10
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x426ee2
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426ed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42702c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x426f23
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426f19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42702c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426f4d
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
inc edi
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jl 0x426e20
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x24]
mov esi, eax
cmp edx, 8
jb 0x426fb5
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426fab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42702c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.0040dc70
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x427007
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426ffd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42702c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov eax, esi
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.0044ae26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00404970
call fcn.0047aa50
call fcn.00401570
int3