Function at 0x414000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47deb0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x49ffb8]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
mov eax, dword [0x49ffb8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x4a1a34], 7
jl 0x4140d8
mov dword [esp + 0xc], vtable.Log.0
call fcn.0041ddc0
mov esi, eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x14], ecx
call fcn.0042f280
mov dword [esi + 0x18], eax
mov dword [esp + 0x88], 0
mov dword [esi + 8], 7
mov eax, dword [esi + 4]
test eax, eax
je 0x41409a
add eax, 0x10
jmp 0x41409c
xor eax, eax
push 0x48e060
push ecx
push edi
push ecx
push str.FileUtils::CreateDir_
push eax
call fcn.00407740
add esp, 0xc
push eax
call fcn.004079f0
add esp, 0xc
push eax
call fcn.00407740
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], 0xffffffff
call fcn.0041dee0
mov edx, edi
lea ecx, [esp + 0x54]
call fcn.0041c500
mov esi, eax
mov dword [esp + 0x88], 1
cmp dword [esi + 0x14], 8
jb 0x4140f8
mov esi, dword [esi]
call fcn.00413870
push eax
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x68], 8
mov esi, eax
jb 0x414127
push dword [esp + 0x54]
call fcn.0043d98b
add esp, 4
cmp esi, 0xa1
jg 0x4142f9
je 0x41428a
cmp esi, 0x50
ja case.0x414149.1
movzx eax, byte [esi + 0x414518]
jmp dword [eax*4 + 0x414504]
cmp dword [0x4a1a34], 7
jl 0x4144df
lea ecx, [esp + 0x24]
call fcn.0041de50
mov dword [esp + 0x88], 2
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 7
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x41419c
add eax, 0x10
push str.CreateDir_succeeded_
push eax
call fcn.00407740
lea ecx, [esp + 0x2c]
jmp 0x4144cc
xor eax, eax
push str.CreateDir_succeeded_
push eax
call fcn.00407740
lea ecx, [esp + 0x2c]
jmp 0x4144cc
cmp dword [0x4a1a34], 1
jl 0x414466
lea ecx, [esp + 0x44]
call fcn.0041de50
mov dword [esp + 0x88], 4
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 1
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4141ec
add eax, 0x10
jmp 0x4141ee
xor eax, eax
push 0x48f8b4
push ecx
push 5
push ecx
push str.CreateDir:_ERROR_ACCESS_DENIED__
push eax
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.0040daa0
add esp, 4
push eax
call fcn.00407740
lea ecx, [esp + 0x4c]
jmp 0x414453
cmp dword [0x4a1a34], 7
jl 0x414466
lea ecx, [esp + 0x34]
call fcn.0041de50
mov dword [esp + 0x88], 6
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 7
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x414258
add eax, 0x10
jmp 0x41425a
xor eax, eax
push 0x48f8b4
push ecx
push 3
push ecx
push str.CreateDir:_ERROR_PATH_NOT_FOUND__
push eax
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.0040daa0
add esp, 4
push eax
call fcn.00407740
lea ecx, [esp + 0x3c]
jmp 0x414453
cmp dword [0x4a1a34], 7
jl 0x414466
lea ecx, [esp + 0x14]
call fcn.0041de50
mov dword [esp + 0x88], 5
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 7
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4142c4
add eax, 0x10
jmp 0x4142c6
xor eax, eax
push 0x48f8b4
push ecx
push 0xa1
push ecx
push str.CreateDir:_ERROR_BAD_PATHNAME__
push eax
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.0040daa0
add esp, 4
push eax
call fcn.00407740
lea ecx, [esp + 0x1c]
jmp 0x414453
mov eax, esi
sub eax, 0xb7
je case.0x414149.80
sub eax, 0x17
je 0x4143ed
sub eax, 0x3f9
je 0x414381
cmp dword [0x4a1a34], 7
jl 0x414466
lea ecx, [esp + 0x1c]
call fcn.0041de50
mov dword [esp + 0x88], 9
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 7
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x414350
add eax, 0x10
jmp 0x414352
xor eax, eax
push 0x48f8b4
push ecx
push esi
push ecx
push str.CreateDir:_unknown_error__
push eax
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.0040daa0
add esp, 4
push eax
call fcn.00407740
lea ecx, [esp + 0x24]
jmp 0x414453
cmp dword [0x4a1a34], 7
jl 0x414466
lea ecx, [esp + 0x2c]
call fcn.0041de50
mov dword [esp + 0x88], 8
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 7
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4143bb
add eax, 0x10
jmp 0x4143bd
xor eax, eax
push 0x48f8b4
push ecx
push 0x4c7
push ecx
push str.CreateDir:_ERROR_CANCELLED__
push eax
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.0040daa0
add esp, 4
push eax
call fcn.00407740
lea ecx, [esp + 0x34]
jmp 0x414453
cmp dword [0x4a1a34], 7
jl 0x414466
lea ecx, [esp + 0x3c]
call fcn.0041de50
mov dword [esp + 0x88], 7
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 7
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x414423
add eax, 0x10
jmp 0x414425
xor eax, eax
push 0x48f8b4
push ecx
push 0xce
push ecx
push str.CreateDir:_ERROR_FILENAME_EXCED_RANGE__
push eax
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.0040daa0
add esp, 4
push eax
call fcn.00407740
lea ecx, [esp + 0x44]
add esp, 8
mov dword [esp + 0x88], 0xffffffff
call fcn.0041dee0
xor al, al
jmp 0x4144e1
cmp dword [0x4a1a34], 7
jl 0x4144df
lea ecx, [esp + 0x4c]
call fcn.0041de50
mov dword [esp + 0x88], 3
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 7
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4144a0
add eax, 0x10
jmp 0x4144a2
xor eax, eax
push str._____ok_
push ecx
push esi
push ecx
push str.Directory_already_exists__
push eax
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.0040daa0
add esp, 4
push eax
call fcn.00407740
lea ecx, [esp + 0x54]
add esp, 8
mov dword [esp + 0x88], 0xffffffff
call fcn.0041dee0
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0043cee8
mov esp, ebp
pop ebp
ret