Function at 0x10011590
Capabilities:
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 0x10080742
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x100b6018]
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 - 0x8c], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xb4], esi
xorps xmm0, xmm0
mov dword [ebp - 0x84], 1
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], 1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.10010110
mov byte [ebp - 4], 2
push ecx
push 0x100a349c
lea ecx, [ebp - 0x80]
call fcn.10011e40
push eax
push 0
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x80]
call fcn.10011da0
mov dword [ebp - 0x84], 5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.10005ab0
push str.1_kejimages
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x68]
call fcn.1000ac50
add esp, 4
mov byte [ebp - 4], 3
mov edi, 5
mov dword [ebp - 0x84], edi
and edi, 0xfffffffb
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.10005ab0
lea ecx, [ebp - 0x68]
call fcn.10010260
test al, al
jne 0x100116f8
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
cmp eax, 0xffffffff
jne 0x100116f8
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push str.Failed_to_create_directory___s__n
push 2
call fcn.10016080
add esp, 0xc
mov dword [ebp - 0x84], 0
jmp 0x100119eb
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x68]
call fcn.10010960
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x10011756
mov dword [ebp - 0x84], 0
jmp 0x100119df
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 6
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ecx
cmp eax, ecx
je 0x100119bd
nop dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
push eax
call fcn.10007fb0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd4]
call fcn.10011050
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x1001182d
mov ecx, eax
call fcn.10005ab0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd4]
call fcn.10005ab0
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x80]
call fcn.10010ec0
mov esi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x1001187d
mov ecx, eax
call fcn.10005ab0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.10005ab0
push ecx
push str..png
lea ecx, [ebp - 0x38]
call fcn.10008e90
cmp eax, 0xffffffff
jne 0x100118e1
push ecx
push str..jpg
lea ecx, [ebp - 0x38]
call fcn.10008e90
cmp eax, 0xffffffff
jne 0x100118e1
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x24], 0x10
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
push str.FS_CreatePairsForTextures:_unsupported_filetype__s_for_file__s_n
push 7
call fcn.1000ad50
mov esi, dword [ebp - 0x8c]
add esp, 0x10
jmp 0x100119a2
mov eax, dword [ebp - 0x88]
movzx ecx, ax
mov eax, dword [0x100ba564]
lea esi, [eax + ecx*4]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10007fb0
mov byte [ebp - 4], 0xc
mov ecx, dword [esi]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 0xb
or edi, 2
mov dword [ebp - 0x84], edi
mov esi, dword [ebp - 0x8c]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10011975
movups xmm0, xmmword [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb0], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xa0]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 4], 0xe
mov dword [eax + 0x18], ecx
mov byte [ebp - 4], 0xb
add dword [esi + 4], 0x1c
jmp 0x10011984
lea ecx, [ebp - 0xb0]
push ecx
push eax
mov ecx, esi
call fcn.10012060
and edi, 0xfffffffd
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb0]
call fcn.10005ab0
inc dword [ebp - 0x88]
mov eax, dword [ebp - 0x90]
add eax, 0x18
mov dword [ebp - 0x90], eax
cmp eax, dword [ebp - 0x94]
jne 0x100117d0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.10005ab0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.10005ab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.1000d560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.10005ab0
mov dword [ebp - 4], 0xffffffff
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.1007dbea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret