Function at 0x407df0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445776
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x45e0a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x428]
push 0x20a
push 0
push eax
call fcn.0041ee20
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0041ee20
push 0x449260
lea eax, [ebp - 0x440]
push 0x45f1e8
push eax
call fcn.00405b40
add esp, 0x24
cmp dword [eax + 0x14], 8
jb 0x407e67
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x440]
call fcn.00403c50
push str.logs_vcm
lea eax, [ebp - 0x440]
push 0x45f1e8
push eax
call fcn.00405b40
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x407e9c
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x440]
call fcn.00403c50
push 0
call fcn.0043170c
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x474]
push eax
call fcn.0043165f
push eax
push str._Y__m__d__H__M__S
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.00426bec
lea eax, [ebp - 0x428]
push eax
push str.logs_vcm_s
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00409f70
push 0x44925c
lea eax, [ebp - 0x458]
push 0x45f1e8
push eax
call fcn.00405b40
add esp, 0x34
mov edx, eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407f30
sub ecx, esi
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00403f00
mov dword [ebp - 0x430], 0
xor ecx, ecx
mov dword [ebp - 0x42c], 0
push ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x430], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
cmovae eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x440]
mov esi, eax
call fcn.00403c50
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 0xffffffff
call fcn.00403c50
lea eax, [ebp - 0x21c]
push eax
test esi, esi
je 0x407fe6
push str.CreateNewWorkingFolder
push str._ws____new_log_folder_is_created___s
call fcn.00408340
add esp, 0xc
jmp 0x407fff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateNewWorkingFolder
push str._ws____failed_to_create_folder__err_d___s
call fcn.00408340
add esp, 0x10
push 0x44925c
lea eax, [ebp - 0x470]
push 0x45f1e8
push eax
call fcn.00405b40
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408030
sub ecx, esi
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00403f00
mov dword [edi + 0x10], 0
xor ecx, ecx
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x470]
call fcn.00403c50
mov eax, edi
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.0041c1e0
mov esp, ebp
pop ebp
ret