Function at 0x1001bb20
Capabilities:
Create directory
Enumerate files on windows
Get disk information
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x888
push esi
push edi
push 0x103
lea eax, [esp + 0x2d]
push 0
push eax
mov dword [esp + 0x2c], 0
mov byte [esp + 0x34], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x40c
lea ecx, [esp + 0x488]
push 0
push ecx
mov dword [esp + 0x48c], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x480]
push eax
mov edx, 0x31
push 0x104
mov word [esp + 0x18], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov esi, eax
shr esi, 2
mov dword [esp + 0x18], esi
test esi, esi
je 0x1001bf58
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
movzx ecx, ax
lea eax, [esi*4]
lea edx, [esp + eax + 0x47c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x274]
sub ecx, eax
lea edx, [esp + 0x480]
lea edi, [esp + 0x37c]
sub edi, eax
sub ecx, edx
mov eax, edx
sub edi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edi
jmp 0x1001bbf0
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x1001bf2a
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x1001bcb9
mov eax, esi
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x1001bc14
lea eax, [esp + 0x378]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bc26
mov ecx, dword [str..00]
mov dx, word [0x10048080]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x37c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001bf2a
lea edx, [esp + 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x1001bca6
push str.found.
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001bca6
push str.asus
lea ecx, [esp + 0x160]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1001bf5e
lea edx, [esp + 0x130]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001bc62
cmp dword [esp + 0x20], 0
je 0x1001bf2a
xor eax, eax
jmp 0x1001bcd0
mov cl, byte [eax + 0x10057a88]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x1001bcd0
push 0x10059f80
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10059f80
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bcf1
lea edi, [esp + 0x28]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001bd01
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1001bd4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001bd45
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bd51
mov edx, dword [str.keys]
mov cl, byte [0x10047f8c]
mov dword [eax], edx
mov byte [eax + 4], cl
lea eax, [esp + 0x10]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001bd70
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001bd80
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bda0
mov edx, dword [str..zip]
mov cl, byte [0x10048098]
mov dword [eax], edx
lea edx, [esp + 0x15c]
mov byte [eax + 4], cl
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.10027f00
test eax, eax
je 0x1001bf22
xor eax, eax
mov cl, byte [eax + 0x10057a88]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x1001bdd5
push 0x10059f80
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10059f80
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bdf6
lea edi, [esp + 0x28]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001be06
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1001be51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001be4a
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001be56
mov ecx, dword [str.path]
mov dl, byte [0x100480a0]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x10]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001be75
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001be83
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bea0
mov ecx, dword [str..txt]
mov dl, byte [0x100480a8]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1001bec1
lea eax, [esp + 0x15c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001bed4
lea edi, [esp + 0x270]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001bee5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x270]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001bf07
sub eax, edx
push eax
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x30]
call fcn.100064d0
inc byte [esp + 0x10]
mov edi, dword [esp + 0x1c]
dec dword [esp + 0x18]
mov eax, 4
add dword [esp + 0x14], eax
sub dword [esp + 0xc], eax
add edi, eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], edi
jne 0x1001bbf0
movzx ecx, word [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x20], 1
jmp 0x1001bcc4