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

Disassembly:
push 0xffffffffffffffff
push 0x468cc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov eax, dword [0x495f34]
xor eax, esp
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x180]
test eax, eax
push ebp
push esi
mov esi, dword [esp + 0x180]
mov dword [esp + 8], eax
je 0x405607
mov dword [eax], 0
mov ebp, dword [esp + 0x184]
test ebp, ebp
je 0x405901
test esi, esi
je 0x405901
push ebx
push edi
lea edi, [ebp + 2]
push edi
mov dword [esp + 0x2c], edi
call fcn.00451d0e
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00404a40
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov dword [esp + 0x180], 0
jne 0x4056a1
mov esi, dword [esp + 0x10]
test esi, esi
je 0x405661
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 0xffffffff
call fcn.00404660
mov eax, 5
pop edi
pop ebx
mov ecx, dword [esp + 0x170]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x168]
pop ebp
xor ecx, esp
call fcn.004530e5
add esp, 0x174
ret
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebp
mov eax, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x405709
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405709
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4056eb
mov dword [ecx], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 0xffffffff
call fcn.00404660
mov eax, 0x13
jmp 0x40567a
push ebx
call fcn.00439c00
push ebx
call fcn.0043a180
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4058d7
add ebp, 0xa
push ebp
call fcn.00451d0e
add esp, 4
push eax
lea ecx, [esp + 0x30]
call fcn.00405130
mov ebp, dword [esp + 0x2c]
mov edx, ebp
mov byte [esp + 0x180], 1
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405750
push 0x5c
push ebp
call fcn.004541d0
add esp, 8
test eax, eax
je 0x405785
mov cl, byte [eax + 1]
test cl, cl
jne 0x405785
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405773
mov ecx, dword [0x46f644]
mov dword [edi], ecx
jmp 0x4057a0
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405788
mov edx, dword [str..]
mov dword [edi], edx
mov al, byte [0x46f640]
mov byte [edi + 4], al
lea ecx, [esp + 0x34]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x24], edi
je 0x4058c2
jmp 0x4057c0
test byte [esp + 0x34], 0x10
jne 0x405896
lea eax, [esp + 0x60]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4057d2
sub eax, edx
mov edx, dword [esp + 0x28]
add edx, eax
push edx
call fcn.00451d0e
add esp, 4
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.00404a40
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
mov byte [esp + 0x180], 2
mov eax, ebx
sub ecx, ebx
lea ebx, [ebx]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x405810
push 0x5c
push ebp
call fcn.004541d0
add esp, 8
test eax, eax
je 0x405830
mov cl, byte [eax + 1]
test cl, cl
je 0x405844
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405833
mov ax, word [0x46f638]
mov word [edi], ax
lea eax, [esp + 0x60]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405850
mov edi, ebp
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405860
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.00439c00
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 1
call fcn.00404660
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4057c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.0043a180
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0
call fcn.00404660
test esi, esi
je 0x4058e6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4058e1
mov dword [eax], esi
mov esi, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 0xffffffff
call fcn.00404660
mov eax, esi
jmp 0x40567a
mov eax, 3
jmp 0x40567c