Function at 0x40fe20
Capabilities:
Create directory
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x45b268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x424
push ebx
mov ebx, dword [esp + 0x43c]
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
mov edi, 1
mov dword [esp + 0x43c], edi
call fcn.0042ae70
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40fe72
push 0x80004005
call fcn.00405760
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x454]
mov dword [esp + 0x2c], edi
call fcn.00406b90
mov eax, dword [eax]
mov ecx, 0x464848
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40fec6
cmp dx, si
je 0x40fec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40fec6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x40fea0
xor eax, eax
jmp 0x40fecb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
mov eax, dword [esp + 0x18]
setne byte [esp + 0x13]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fef2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], 0
je 0x40ff0b
push edi
push 0x464848
lea ecx, [esp + 0x454]
call fcn.004045d0
mov ecx, dword [esp + 0x44c]
push esi
push ecx
push str._sRecibidas_i.GNOTATMP
push ebx
call fcn.00404fe0
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x10
push esi
push eax
call edi
test eax, eax
jne 0x40ff68
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0xb7
jne 0x41015b
mov edx, dword [esp + 0x44c]
inc esi
push esi
push edx
push str._sRecibidas_i.GNOTATMP
push ebx
call fcn.00404fe0
mov eax, dword [ebx]
add esp, 0x10
push 0
push eax
call edi
test eax, eax
je 0x40ff38
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push str.D:_A_OICI_GA___
lea ecx, [esp + 0x18]
call fcn.00404ea0
push ecx
mov byte [esp + 0x440], 2
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00404ea0
lea esi, [esp + 0x20]
call fcn.00429b00
add esp, 4
mov byte [esp + 0x43c], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004045d0
mov byte [esp + 0x43c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fff3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe
push str.__A_OICI_GA___
lea ecx, [esp + 0x1c]
call fcn.004045d0
push ecx
mov ecx, dword [esp + 0x448]
mov esi, dword [ecx + 0x78]
mov dword [esp + 0x20], esp
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41003b
cmp eax, dword [esi]
jne 0x41003b
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x410077
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x410054
call fcn.00405250
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0043d2f0
add esp, 0x10
add edi, 0x10
lea esi, [esp + 0x20]
mov dword [ebp], edi
call fcn.00429b00
add esp, 4
mov byte [esp + 0x43c], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004045d0
mov byte [esp + 0x43c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x46696c
lea ecx, [esp + 0x1c]
call fcn.004045d0
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 1
push edx
mov dword [esp + 0x28], 0
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx]
push 0
push ecx
push 0
push 0
push 4
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [esp + 0x43c], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410169
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x410169
push 0
push 0x464588
mov ecx, ebx
call fcn.00405350
mov byte [esp + 0x43c], 0
mov eax, dword [esp + 0x44c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410194
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x430
ret 0xc