Function at 0x405d60
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x482411
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4d8eb0]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d8eb0]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x194]
test eax, eax
mov ebp, dword [esp + 0x18c]
mov dword [esp + 0x14], eax
je 0x405db7
mov dword [eax], 0
mov edi, dword [esp + 0x190]
test edi, edi
je 0x4060a4
test ebp, ebp
je 0x4060a4
lea eax, [edi + 2]
push eax
mov dword [esp + 0x24], eax
call fcn.00457e36
mov esi, eax
add esp, 4
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
call fcn.004055e0
push esi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.00401100
add esp, 0xc
mov ebx, dword [esp + 0x18]
test ebx, ebx
mov dword [esp + 0x184], 0
jne 0x405e3e
mov esi, dword [esp + 0x14]
test esi, esi
je 0x405e20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0xffffffff
call fcn.0040db90
mov eax, 5
jmp 0x4060a9
mov ecx, dword [esp + 0x20]
push ecx
push 0
push ebx
call fcn.004619c0
push edi
push ebp
push ebx
call fcn.00461650
add esp, 0x18
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x405e98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405e98
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x405e7a
mov dword [ecx], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0xffffffff
call fcn.0040db90
mov eax, 0x13
jmp 0x4060a9
push ebx
call fcn.0043f3a0
push ebx
call fcn.0043ffd0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
jne 0x40607d
add edi, 0xa
push edi
call fcn.00457e36
add esp, 4
push eax
lea ecx, [esp + 0x34]
call fcn.00405a20
mov esi, dword [esp + 0x30]
mov edx, esi
mov byte [esp + 0x184], 1
mov eax, ebx
sub edx, ebx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x405ee0
push 0x5c
push esi
call fcn.00462230
add esp, 8
test eax, eax
je 0x405f1a
cmp byte [eax + 1], 0
jne 0x405f1a
mov edi, esi
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x405f06
mov edx, dword [0x48abe0]
mov dword [edi], edx
jmp 0x405f3b
mov eax, esi
add eax, 0xffffffff
nop
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x405f20
mov ecx, dword [str..]
mov dword [eax], ecx
mov dl, byte [0x48abdc]
mov byte [eax + 4], dl
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x406064
jmp 0x405f60
test byte [esp + 0x38], 0x10
jne 0x406038
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405f72
mov ecx, dword [esp + 0x20]
sub eax, edx
add ecx, eax
push ecx
call fcn.00457e36
add esp, 4
push eax
lea ecx, [esp + 0x2c]
call fcn.00405a20
mov ebp, dword [esp + 0x28]
mov edx, ebp
mov byte [esp + 0x184], 2
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x405fa8
push 0x5c
push ebp
call fcn.00462230
add esp, 8
test eax, eax
je 0x405fc9
cmp byte [eax + 1], 0
je 0x405fe4
mov edi, ebp
add edi, 0xffffffff
mov edi, edi
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x405fd0
mov dx, word [0x48abd4]
mov word [edi], dx
lea eax, [esp + 0x64]
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x405ff0
mov edi, ebp
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406002
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.0043f3a0
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x184], 1
call fcn.0040db90
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405f60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.0043ffd0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x184], 0
call fcn.0040db90
test ebp, ebp
jne 0x40607d
xor esi, esi
jmp 0x40608c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406087
mov dword [eax], ebp
mov esi, 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0xffffffff
call fcn.0040db90
mov eax, esi
jmp 0x4060a9
mov eax, 3
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.00460f23
add esp, 0x174
ret