Function at 0x406f00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov edx, dword [ebp + 8]
mov ax, word [0x41549c]
push ebx
push esi
xor ebx, ebx
push edi
cmp edx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x12], ax
mov dword [ebp - 4], ebx
je 0x40713b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40713b
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x228]
not ecx
sub edi, ecx
mov eax, esi
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x228]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x12]
push ecx
push edx
call fcn.0040c3b7
add esp, 8
test eax, eax
je 0x407126
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41549c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x12]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.0040c3b7
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 8
mov edx, eax
test edx, edx
je 0x40710c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40710c
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x124]
not ecx
mov eax, esi
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x124]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41549c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x124]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
test eax, eax
je 0x4070c2
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x124]
push ecx
push str.Create_shortcut_folder_:___s_
push 0
push esi
call fcn.004044c0
add esp, 0x10
lea edx, [ebp - 0x124]
mov ecx, esi
push 0
push edx
call fcn.00405af0
lea eax, [ebp - 0x12]
push eax
push 0
call fcn.0040c3b7
add esp, 8
mov edx, eax
jmp 0x406ffe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4070ad
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0x413d40
push eax
call fcn.0040c8c3
mov ecx, dword [ebp - 0x20]
mov eax, 0x407123
mov dword [ebp + 8], ecx
ret
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0x57
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4