Function at 0x417c30
Capabilities:
Create directory
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d88e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
mov eax, dword [0x4a8ae4]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x270], ecx
mov ebx, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x274], ebx
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 2
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 3
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x27c], esi
mov byte [ebp - 4], 4
call fcn.00476002
mov eax, dword [eax + 4]
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x417e11
mov esi, dword [ebp + 0xc]
push 0x5c
push esi
call fcn.0044a56f
add esp, 8
test eax, eax
jne 0x417cf8
or eax, 0xffffffff
jmp 0x417cfc
sub eax, esi
sar eax, 1
inc eax
push eax
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00405220
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 4]
sub eax, 0x10
cmp ecx, ebx
mov byte [ebp - 4], 6
jle 0x417d2a
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401300
mov ebx, dword [esi]
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [ebp - 0x284], esp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
push ebx
mov word [esi + 4], ax
call fcn.00449da9
add esp, 4
push eax
push ebx
mov ecx, esi
call fcn.00402410
cmp dword [edi - 4], 1
mov byte [ebp - 4], 7
jle 0x417d72
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.00401300
mov edi, dword [ebp + 8]
sub esp, 0x1c
mov esi, esp
xor ebx, ebx
mov dword [ebp - 0x280], esp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push edi
mov word [esi + 4], bx
call fcn.00449da9
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.00402410
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.00413de0
mov esi, eax
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417dd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
cmp esi, ebx
sete al
cmp edi, ebx
mov dword [ebp - 0x274], eax
jne 0x417de9
xor eax, eax
jmp 0x417df6
push edi
call fcn.00449da9
add esp, 4
cmp eax, ebx
jl 0x417e07
cmp eax, dword [edi - 8]
jg 0x417e07
mov dword [edi - 0xc], eax
mov word [edi + eax*2], bx
jmp 0x418198
push 0x80070057
call fcn.004010a0
mov ecx, dword [ebp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x417e27
mov dword [ebp - 0x274], eax
push 0x48a050
call fcn.00449da9
add esp, 4
push eax
push 0x48a050
lea ecx, [ebp + 8]
call fcn.004082f0
push 0x48a050
call fcn.00449da9
add esp, 4
push eax
push 0x48a050
lea ecx, [ebp + 0xc]
call fcn.004082f0
push 0x48a060
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.00405530
add esp, 0xc
push eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 8
call fcn.00403cc0
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ea9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [ebp - 0x278]
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x417f80
mov ecx, dword [ebp - 0x270]
call fcn.0040dca0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ef0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x41828c
test ebx, ebx
je 0x41818c
lea eax, [ebp - 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41818c
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.00405530
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 9
call fcn.00403cc0
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417fec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x280]
push edx
call fcn.00405530
add esp, 0xc
push eax
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xa
call fcn.00403cc0
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41803a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test byte [ebp - 0x264], 0x10
jne 0x4180f3
mov eax, dword [ebp - 0x284]
mov cl, byte [eax + 0x160]
test cl, cl
jne 0x4180e4
mov esi, dword [ebp + 0xc]
mov eax, dword [esi - 4]
mov edi, 1
cmp eax, edi
jle 0x418079
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00401300
mov esi, dword [ebp + 0xc]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28c], esp
push esi
call fcn.004027f0
mov eax, dword [ebp - 0x268]
cmp dword [eax - 4], edi
mov byte [ebp - 4], 0xb
jle 0x4180ae
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x268]
call fcn.00401300
mov eax, dword [ebp - 0x268]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
call fcn.004027f0
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.00413de0
test eax, eax
jne 0x4180d8
mov dword [ebp - 0x274], edi
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x417f80
mov dword [ebp - 0x274], 0
jmp 0x417f80
lea eax, [ebp - 0x238]
push 0x48a07c
push eax
call fcn.0044a53d
add esp, 8
test eax, eax
je 0x417f80
lea ecx, [ebp - 0x238]
push 0x48a0a0
push ecx
call fcn.0044a53d
add esp, 8
test eax, eax
je 0x417f80
mov edi, dword [ebp - 0x27c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x288], esp
mov esi, esp
push eax
call fcn.00401570
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp - 0x268]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.00401570
mov ecx, dword [ebp - 0x270]
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 5
call fcn.00417c30
jmp 0x417f80
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp - 0x270]
mov ecx, dword [esi + 0xdc]
cmp ecx, ebx
je 0x4181d5
mov edx, dword [ecx]
mov dword [0x4a9a38], ebx
call dword [edx + 0x60]
mov ecx, dword [esi + 0xdc]
cmp ecx, ebx
je 0x4181c4
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xdc], ebx
jmp 0x4181d5
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
mov dword [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4181fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418220
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418262
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418286
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a318
mov esp, ebp
pop ebp
ret 8