Function at 0x1001b390
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 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 edx, [esp + 0x480]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov esi, eax
shr esi, 2
mov dword [esp + 0x18], esi
test esi, esi
je 0x1001b7d9
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
movzx eax, ax
mov dword [esp + 0x24], eax
lea eax, [esi*4]
lea ecx, [esp + eax + 0x47c]
mov dword [esp + 0xc], ecx
mov ecx, 4
sub ecx, eax
lea edx, [esp + 0x480]
sub ecx, edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x37c]
sub ecx, eax
mov eax, edx
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x1001b7ad
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x1001b7ad
mov esi, dword [esp + 0x1c]
mov eax, 0x31
mov word [esp + 0x10], ax
mov eax, dword [esp + 0xc]
jmp 0x1001b480
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x1001b480
lea eax, [esp + 0x378]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001b492
mov ecx, dword [str..00]
mov dx, word [0x1004a518]
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 dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x1001b4e0
mov eax, 4
add esi, eax
mov dword [esp + 0x1c], esi
jmp 0x1001b7b6
lea edx, [esp + 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x1001b792
push str.found.
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001b792
push str.asus
lea ecx, [esp + 0x160]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001b792
lea esp, [esp]
mov cl, byte [eax + 0x1005ae00]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x1001b530
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001b551
lea edi, [esp + 0x28]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b561
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea edx, [esp + 0x2c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1001b5ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001b5a5
lea eax, [esp + 0x28]
push eax
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 0x1001b5b1
mov ecx, dword [str.keys]
mov dl, byte [0x1004a424]
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 0x1001b5d0
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b5e0
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 0x1001b600
mov ecx, dword [str..zip]
mov dl, byte [0x1004a530]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10028fe0
test eax, eax
je 0x1001b792
xor eax, eax
mov cl, byte [eax + 0x1005ae00]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x1001b635
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001b656
lea edi, [esp + 0x28]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b666
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea edx, [esp + 0x2c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1001b6b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001b6aa
lea eax, [esp + 0x28]
push eax
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 0x1001b6b6
mov ecx, dword [str.path]
mov dl, byte [0x1004a538]
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 0x1001b6d5
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b6e3
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 0x1001b700
mov ecx, dword [str..txt]
mov dl, byte [0x1004a540]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + edx + 0x270]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1001b728
lea eax, [esp + 0x15c]
mov edx, eax
jmp 0x1001b740
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001b740
lea edi, [esp + 0x270]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b751
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 0x1001b773
sub eax, edx
push eax
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x30]
call fcn.10005550
inc byte [esp + 0x10]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x130]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001b4e0
mov eax, 4
add dword [esp + 0x1c], eax
dec dword [esp + 0x18]
add dword [esp + 0x14], eax
sub dword [esp + 0xc], eax
cmp dword [esp + 0x18], 0
jne 0x1001b443
movzx eax, word [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
pop edi
pop esi
mov esp, ebp
pop ebp
ret