Function at 0x414c70
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c696
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push edi
push eax
call fcn.00414490
add esp, 8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], 0xffffffff
test al, 0x10
je 0x414cea
cmp eax, 0xffffffff
je 0x414cea
mov eax, dword [ebp + 8]
mov dword [eax], 0x583010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0041c550
mov ecx, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp eax, ecx
je 0x414e46
push ecx
push eax
call fcn.00409e40
add esp, 8
test eax, eax
je 0x414e46
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00414c70
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 2
cmp byte [eax], 0
jne 0x414e35
push 0x550ba4
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00429150
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.00414490
add esp, 8
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x414d7d
mov dword [ebp - 0x18], 0x583010
lea eax, [ebp - 0x18]
mov edi, 0x583010
lea ebx, [esi + 3]
jmp 0x414d90
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ca50
add esp, 4
mov ebx, 4
mov edi, dword [eax]
or ebx, 8
mov dword [eax], 0x583010
test bl, 4
je 0x414dc4
mov ecx, dword [ebp - 0x1c]
and ebx, 0xfffffffb
add ecx, 0xfffffff8
cmp ecx, 0x583008
je 0x414dc4
mov eax, esi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x414dc4
push ecx
call fcn.005128b5
add esp, 4
test bl, 2
je 0x414dec
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
cmp ecx, 0x583008
je 0x414dec
mov eax, esi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x414dec
push ecx
call fcn.005128b5
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
mov dword [ebp - 0x10], edi
cmp ecx, 0x583008
je 0x414e12
mov eax, esi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x414e12
push ecx
call fcn.005128b5
add esp, 4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff8
cmp ecx, 0x583008
je 0x414e35
mov eax, esi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x414e35
push ecx
call fcn.005128b5
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0x583010
mov dword [edi], eax
jmp 0x414e89
lea eax, [ebp - 0x18]
push str.Cannot_create_parent_directory
push eax
call fcn.0040a5d0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.00418eb0
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff8
or esi, 0xffffffff
cmp ecx, 0x583008
je 0x414e89
mov eax, esi
lock xadd dword [ecx], eax
dec eax
cmp eax, esi
jne 0x414e89
push ecx
call fcn.005128b5
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
cmp eax, 0x583008
je 0x414ea9
lock xadd dword [eax], esi
dec esi
cmp esi, 0xffffffff
jne 0x414ea9
push eax
call fcn.005128b5
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4