Function at 0x40f5a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov dword [esi], ecx
lea edi, [ebp + 8]
mov dword [esi + 0x9c], esp
mov dword [esi + 0xa8], 0xffffffff
lea eax, [esi + 0xa0]
mov dword [esi + 0xa4], 0x415250
mov ecx, dword fs:[0]
mov dword [esi + 0xa0], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov edx, edi
mov dword [esi + 4], ecx
cmp ecx, 0x10
jb 0x40f601
mov edx, dword [edi]
test eax, eax
je 0x40f639
lea ebx, [edx + eax]
add ebx, 0xffffffff
cmp byte [edx + eax - 1], 0x2f
jne 0x40f616
mov edi, ebx
jmp 0x40f632
lea ecx, [eax - 1]
nop dword [eax]
test ecx, ecx
je 0x40f639
lea edi, [ebx - 1]
add ecx, 0xffffffff
cmp byte [ebx - 1], 0x2f
mov ebx, edi
jne 0x40f620
sub edi, edx
cmp edi, 0xffffffff
jne 0x40f691
lea ecx, [ebp + 8]
mov edx, ecx
cmp dword [esi + 4], 0x10
jb 0x40f646
mov edx, dword [ecx]
test eax, eax
je 0x40f9f4
lea ecx, [edx + eax]
add ecx, 0xffffffff
cmp byte [edx + eax - 1], 0x5c
jne 0x40f65f
mov edi, ecx
jmp 0x40f686
add eax, 0xffffffff
nop word cs:[eax + eax]
nop dword [eax]
test eax, eax
je 0x40f9f4
lea edi, [ecx - 1]
add eax, 0xffffffff
cmp byte [ecx - 1], 0x5c
mov ecx, edi
jne 0x40f670
sub edi, edx
cmp edi, 0xffffffff
je 0x40f9f4
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], 0
mov byte [esi + 8], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x18]
cmp eax, edi
cmovb edi, eax
cmp dword [ecx + 0x1c], 0xf
jbe 0x40f6e4
mov eax, dword [ecx + 8]
cmp edi, 0xf
ja 0x40f6ec
mov dword [esi + 0x18], edi
lea ecx, [esi + 8]
push edi
push eax
push ecx
call fcn.004c4690
add esp, 0xc
mov byte [esi + edi + 8], 0
mov dword [esi + 0xa8], 1
jmp 0x40f70f
lea eax, [ecx + 8]
cmp edi, 0xf
jbe 0x40f6c2
mov dword [esi + 0xa8], 0
sub esp, 0xc
mov cl, byte [esi + 0x68]
mov byte [esp + 4], cl
mov dword [esp + 8], eax
mov dword [esp], edi
lea ecx, [esi + 8]
call fcn.00407150
mov dword [esi + 0xa8], 1
lea eax, [esi + 8]
lea ecx, [esi + 0x50]
mov dword [esi + 4], eax
push eax
push ecx
call fcn.00443000
add esp, 8
cmp dword [esi + 0x64], 7
lea ecx, [esi + 0x50]
jbe 0x40f738
mov ecx, dword [esi + 0x50]
lea eax, [esi + 0x68]
push eax
push ecx
call fcn.004ccabd
add esp, 8
test eax, eax
je 0x40f791
mov edx, esp
push eax
sub esp, 0x14
mov edi, esp
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ebx, dword [esi + 0x18]
cmp dword [esi + 0x1c], 0xf
jbe 0x40f774
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
cmp ebx, 0xf
mov ecx, dword [esi]
mov dword [esi + 0x2c], edx
ja 0x40f79a
mov eax, dword [esi + 4]
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov eax, 0xf
jmp 0x40f813
mov bl, 1
xor edx, edx
jmp 0x40f977
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ebx
mov eax, ebx
or eax, 0xf
cmp eax, 0x7fffffff
mov ecx, 0x7fffffff
cmovb ecx, eax
cmp ecx, 0xfff
mov dword [esi + 0x28], ecx
jb 0x40f7e0
lea eax, [ecx + 0x24]
mov dword [esi + 0xa8], 2
push eax
call fcn.004a880e
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40f7f6
lea eax, [ecx + 1]
mov dword [esi + 0xa8], 2
push eax
call fcn.004a880e
add esp, 4
mov edi, dword [esi + 0x24]
mov ebx, dword [esi + 0x20]
mov dword [edi], eax
lea ecx, [ebx + 1]
push ecx
push dword [esi + 4]
push eax
call fcn.004c4690
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [esi + 0x28]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
mov dword [esi + 0xa8], 2
call fcn.0040f5a0
mov esp, dword [esi + 0x2c]
test al, al
je 0x40f973
cmp dword [esi + 0x64], 7
jbe 0x40f83e
mov eax, dword [esi + 0x50]
jmp 0x40f841
lea eax, [esi + 0x50]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40f855
mov dl, 1
jmp 0x40f977
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
push str.Could_not_create_the
mov eax, dword [esi]
push dword [eax + 4]
call fcn.00401560
add esp, 8
mov ecx, dword [esi + 0x18]
cmp dword [esi + 0x1c], 0xf
jbe 0x40f87e
mov edx, dword [esi + 8]
jmp 0x40f881
lea edx, [esi + 8]
push ecx
push edx
push eax
call fcn.00407250
add esp, 0xc
push str._directory:
push eax
call fcn.00401560
add esp, 8
mov dword [esi], eax
lea eax, [esi + 0x30]
push dword [esi + 4]
push eax
call fcn.0040fbf0
add esp, 8
mov eax, dword [esi + 0x40]
cmp dword [esi + 0x44], 0xf
lea ecx, [esi + 0x30]
jbe 0x40f8ba
mov ecx, dword [esi + 0x30]
mov dword [esi + 0xa8], 3
push eax
push ecx
push dword [esi]
call fcn.00407250
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [esi], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [esi + 0x4c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0xa8], 4
lea eax, [esi + 0x48]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x40f91f
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x40f91f
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [esi + 0xa8], 3
movsx eax, bl
mov ecx, dword [esi]
push eax
call fcn.004083b0
mov ecx, dword [esi]
call fcn.00407670
mov eax, dword [esi + 0x44]
cmp eax, 0x10
jb 0x40f973
mov ecx, dword [esi + 0x30]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x40f969
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40fa47
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.004a8843
add esp, 8
xor edx, edx
xor ebx, ebx
mov ecx, dword [esi + 0x64]
cmp ecx, 8
jb 0x40f9b8
mov edi, edx
mov eax, dword [esi + 0x50]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x40f9ac
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x40fa47
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.004a8843
add esp, 8
mov edx, edi
mov eax, dword [esi + 0x1c]
cmp eax, 0x10
jb 0x40f9f0
mov dword [esi], edx
mov ecx, dword [esi + 8]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x40f9e4
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40fa47
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.004a8843
add esp, 8
mov edx, dword [esi]
test dl, dl
je 0x40f9f6
mov bl, 1
lea ecx, [ebp + 8]
mov eax, dword [ecx + 0x14]
cmp eax, 0x10
jb 0x40fa2c
mov ecx, dword [ecx]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x40fa22
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40fa47
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.004a8843
add esp, 8
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
and bl, 1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
call fcn.004cc578
nop dword [eax]
push ebp
sub esp, 0x18
lea esi, [ebp - 0xac]
mov ebp, dword [esi + 0x98]
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x40fa78
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x40fa78
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
add esp, 0x18
pop ebp
ret