Function at 0x40ac10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462db1
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x483094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x460], esi
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
push 0x20a
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00440a60
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x21c]
push 0x105
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00440a60
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push eax
push 0x105
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor eax, eax
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ad10
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.004105f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
push dword [ebp - 0x460]
cmp dword [ebp - 0x42c], 8
mov edx, dword [ebp - 0x430]
cmovae ecx, dword [ebp - 0x440]
push 2
sub esp, 8
call fcn.00413980
mov ecx, eax
mov dword [ebp - 0x468], 0
xor eax, eax
mov dword [ebp - 0x464], 7
add esp, 0x10
mov word [ebp - 0x478], ax
cmp dword [ebp - 0x430], ecx
lea eax, [ebp - 0x440]
cmovb ecx, dword [ebp - 0x430]
cmp dword [ebp - 0x42c], 8
push ecx
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x478]
push eax
call fcn.004105f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x464]
mov eax, edx
mov ecx, dword [ebp - 0x468]
sub eax, ecx
cmp eax, 5
jb 0x40ae09
cmp edx, 8
lea esi, [ebp - 0x478]
push 0xa
cmovae esi, dword [ebp - 0x478]
lea edi, [ecx + 5]
push str.log_
mov dword [ebp - 0x468], edi
lea eax, [esi + ecx*2]
push eax
call fcn.004404e0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x478]
mov esi, dword [ebp - 0x45c]
jmp 0x40ae2a
push 5
push str.log_
mov byte [ebp - 0x45c], 0
lea ecx, [ebp - 0x478]
push dword [ebp - 0x45c]
push 5
call fcn.00413d30
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x464]
cmp edx, 8
jb 0x40ae97
mov ecx, dword [ebp - 0x478]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af03
push edx
push ecx
call fcn.00428ee3
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40aea1
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x40aee6
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aedc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af08
push edx
push ecx
call fcn.00428ee3
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 - 0x10]
xor ecx, ebp
call fcn.00428c08
mov esp, ebp
pop ebp
ret
call fcn.004465a2
call fcn.004465a2
int3