Function at 0x10010dd0
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 0x10082122
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x100ba040]
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.1000f930
mov byte [ebp - 4], 2
push ecx
push 0x100a6420
lea ecx, [ebp - 0x80]
call fcn.10011680
push eax
push 0
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x80]
call fcn.100115e0
mov dword [ebp - 0x84], 5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.10005af0
push str.1_kejimages
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x68]
call fcn.1000a9d0
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.10005af0
lea ecx, [ebp - 0x68]
call fcn.1000fa80
test al, al
jne 0x10010f38
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
cmova 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 0x10010f38
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
push eax
push str.Failed_to_create_directory___s__n
push 2
call fcn.10015b70
add esp, 0xc
mov dword [ebp - 0x84], 0
jmp 0x1001122b
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.100101a0
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 0x10010f96
mov dword [ebp - 0x84], 0
jmp 0x1001121f
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 0x100111fd
nop dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
push eax
call fcn.10007e70
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd4]
call fcn.10010890
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x1001106d
mov ecx, eax
call fcn.10005af0
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.10005af0
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x80]
call fcn.10010700
mov esi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x100110bd
mov ecx, eax
call fcn.10005af0
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.10005af0
push ecx
push str..png
lea ecx, [ebp - 0x38]
call fcn.10008a00
cmp eax, 0xffffffff
jne 0x10011121
push ecx
push str..jpg
lea ecx, [ebp - 0x38]
call fcn.10008a00
cmp eax, 0xffffffff
jne 0x10011121
cmp dword [ebp - 0x3c], 0xf
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x38]
cmova ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x24], 0xf
push ecx
cmova eax, dword [ebp - 0x38]
push eax
push str.FS_CreatePairsForTextures:_unsupported_filetype__s_for_file__s_n
push 7
call fcn.1000aad0
mov esi, dword [ebp - 0x8c]
add esp, 0x10
jmp 0x100111e2
mov eax, dword [ebp - 0x88]
movzx ecx, ax
mov eax, dword [0x100be5dc]
lea esi, [eax + ecx*4]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10007e70
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 0x100111b5
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 0x100111c4
lea ecx, [ebp - 0xb0]
push ecx
push eax
mov ecx, esi
call fcn.100118a0
and edi, 0xfffffffd
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb0]
call fcn.10005af0
inc dword [ebp - 0x88]
mov eax, dword [ebp - 0x90]
add eax, 0x18
mov dword [ebp - 0x90], eax
cmp eax, dword [ebp - 0x94]
jne 0x10011010
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.10005af0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.10005af0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.1000d000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.10005af0
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.1007f5d0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret