Function at 0x10013f90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100489b6
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1005e048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0
cmp byte [eax + 4], 0
jne 0x100142a7
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 0x38], 1
push eax
push 0x104
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0x34]
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
push 0x104
call fcn.1000d590
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
push ecx
mov dword [ebp - 0x1c], ecx
call fcn.100203d7
mov esi, dword [ebp - 0x24]
mov edi, eax
mov dword [ebp - 0x40], edi
mov eax, edx
mov dword [ebp - 0x18], eax
cmp edi, esi
ja 0x10014055
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], edi
cmovae ecx, dword [ebp - 0x34]
xor edx, edx
mov word [ecx + edi*2], dx
jmp 0x100140b8
mov ecx, dword [ebp - 0x20]
mov edx, edi
mov eax, ecx
sub edx, esi
sub eax, esi
cmp edx, eax
ja 0x100140a2
lea eax, [edx + esi]
cmp ecx, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
lea eax, [eax + esi*2]
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x10014094
mov edi, dword [ebp - 0x3c]
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
lea eax, [esi + edx]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x100140b5
push 0
push edx
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x48]
push edx
call fcn.1000d590
mov eax, dword [ebp - 0x18]
cmp edi, dword [ebp - 0x1c]
jae 0x10014016
mov byte [ebp - 4], 0
test eax, eax
jne 0x100142c2
mov byte [ebp - 0x1c], al
lea ecx, [ebp - 0x60]
push dword [ebp - 0x1c]
call fcn.10015e50
add esp, 4
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.10012160
mov byte [ebp - 4], 0
mov esi, eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x1001412e
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014124
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142ce
push ecx
push edx
call fcn.10021fc9
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x78]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x4c], 7
call fcn.1000cf40
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x78]
push eax
add ecx, 0x138
call fcn.1000c360
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x10014194
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001418a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142d3
push ecx
push edx
call fcn.10021fc9
add esp, 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10003670
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x10056bfc
call esi
push 0
push str.cleo_cleo_modules
call esi
push 0
push str.cleo_cleo_saves
call esi
push 0
push str.cleo_cleo_text
call esi
mov esi, dword [ebp - 0x14]
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.10002120
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x14]
push edi
call dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax]
mov esi, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi*4 + 0x1005ead4]
mov dword [ecx + 0x150], eax
mov esi, dword [esi*4 + 0x1005eac0]
push esi
push str.Replacing_call:_0x_08X
push 3
push 0x10087438
call fcn.1000e100
lea ecx, [esi + 1]
mov byte [esi], 0xe8
mov esi, dword [ebp - 0x14]
mov eax, 0x10013f60
sub eax, ecx
add esp, 0x10
sub eax, 4
mov dword [ecx], eax
lea ecx, [esi + 0x8c]
mov eax, dword [ecx]
push edi
call dword [eax]
mov eax, dword [esi + 0xd8]
lea ecx, [esi + 0xd8]
push edi
call dword [eax]
mov eax, dword [esi + 0xb4]
lea ecx, [esi + 0xb4]
push edi
call dword [eax]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
push edi
call dword [eax]
push 0x734640
push str.Replacing_call:_0x_08X
push 3
push 0x10087438
call fcn.1000e100
mov eax, 0x10014340
mov byte [0x734640], 0xe8
add esp, 0x10
sub eax, 0x734645
mov dword [0x734641], eax
mov byte [esi + 4], 1
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.10021c67
mov esp, ebp
pop ebp
ret
mov edx, eax
mov ecx, str.current_path__
call fcn.10012bf0
call fcn.10030d79
call fcn.10030d79
int3