Function at 0x1005d3f0
Capabilities:
Delete file
Enumerate files on windows
Get disk information

Disassembly:
mov eax, 0x1124
call fcn.102244a0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
mov ebp, dword [esp + 0x1130]
push esi
push edi
push ebp
call ebx
test eax, eax
jne 0x1005d420
push ebp
push 0x10227334
call fcn.10029940
add esp, 8
mov ecx, 0x38
xor eax, eax
lea edi, [esp + 0x414]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x414]
push eax
push 0xe0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cdq
and edx, 3
add edx, eax
sar edx, 2
cmp edx, 0x1a
jg 0x1005d7b2
test edx, edx
jle 0x1005d7b2
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x14]
lea esi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x4f4]
rep stosd dword es:[edi], eax
mov edi, str.C:Hot_fotos.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
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, str.C:My_Musik_2013_.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x4f4]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test edx, edx
rep movsb byte es:[edi], byte [esi]
jle 0x1005d55a
lea esi, [esp + 0x414]
mov edi, edx
mov al, byte [esi]
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x18], al
mov byte [esp + 0x4f8], al
call fcn.1013ef70
add esp, 4
test eax, eax
je 0x1005d51d
lea edx, [esp + 0x14]
push edx
call ebx
test eax, eax
jne 0x1005d51d
lea eax, [esp + 0x14]
push eax
push 0x10227334
call fcn.10029940
add esp, 8
lea ecx, [esp + 0x4f4]
push ecx
call fcn.1013ef70
add esp, 4
test eax, eax
je 0x1005d554
lea edx, [esp + 0x4f4]
push edx
call ebx
test eax, eax
jne 0x1005d554
lea eax, [esp + 0x4f4]
push eax
push 0x10227334
call fcn.10029940
add esp, 8
add esi, 8
dec edi
jne 0x1005d4e2
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
js 0x1005d5aa
mov al, 0x5c
cmp byte [esp + ecx + 0x14], al
je 0x1005d5a5
dec ecx
jns 0x1005d59a
jmp 0x1005d5aa
mov byte [esp + ecx + 0x15], 0
push 0
push str.C:Users
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
lea edx, [esp + 0x14]
test eax, eax
mov edi, 0x10266094
jne 0x1005d5cc
mov edi, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
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 edx, [esp + 0x4f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x4f4]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x4f4]
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, 0x1026604c
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 + 0x8f4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4f8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x1005d687
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1124
ret
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x4f4]
lea edx, [esp + 0x4f4]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, 1
jne 0x1005d819
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xa34]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x920]
lea eax, [esp + 0xa34]
push ecx
push edx
push 0x102322e8
push eax
call ebp
mov ecx, dword [0x107ab964]
add esp, 0x10
lea eax, [esp + 0xa34]
mov edx, dword [ecx]
push 0
push 0
push eax
call dword [edx + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005d7ab
mov ecx, 0xc0
xor eax, eax
lea edi, [esp + 0xe34]
push 0x300
rep stosd dword es:[edi], eax
mov ecx, dword [0x107ab964]
lea eax, [esp + 0xe38]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [0x107ab964]
push esi
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0x18]
cmp ebx, 0x120
jl 0x1005d7bf
lea edi, [esp + 0x4f4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x4f4]
push ecx
push eax
lea ecx, [esp + 0xe3c]
push ebx
push ecx
call fcn.100241a0
add esp, 0x10
cmp eax, 0xffffffff
jg 0x1005d7d7
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x8f4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, dword [esp + 0x10]
jmp 0x1005d6c6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1124
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1124
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0xa34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1005d824
lea ecx, [esp + 0xa34]
push ecx
push 0x10227334
call fcn.10029940
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1124
ret
test eax, eax
jne 0x1005d824
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1124
ret