Function at 0x10020600
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043bcc
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor ebx, ebx
mov eax, 0xf
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1cc], ebx
mov byte [ebp - 0x1dc], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x120], eax
lea edi, [eax + 9]
mov eax, str.WhN4oqakFTL4O_lIiiUd9Q
lea esi, [ebp - 0x134]
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
call fcn.10002d20
mov ecx, esi
push ecx
lea edx, [ebp - 0x16c]
push edx
mov byte [ebp - 4], 1
call fcn.10002580
add esp, 8
mov edi, eax
lea esi, [ebp - 0x1dc]
mov byte [ebp - 4], 2
call fcn.10003280
mov edi, 0x10
cmp dword [ebp - 0x158], edi
jb 0x100206c5
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], bl
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp dword [ebp - 0x120], edi
jb 0x100206f7
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x118]
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10020712
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x118]
lea esi, [ebp - 0x134]
call fcn.10002d20
lea eax, [ebp - 0x1dc]
mov ecx, esi
lea ebx, [ebp - 0x1c0]
mov byte [ebp - 4], 3
call fcn.10007ac0
mov esi, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], esi
jb 0x10020766
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x1c0]
xor ebx, ebx
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
cmp dword [ebp - 0x1ac], esi
jae 0x10020792
lea eax, [ebp - 0x1c0]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x188]
push eax
call fcn.1001ff40
add esp, 4
mov edi, eax
mov esi, 0x101731e8
mov byte [ebp - 4], 6
call fcn.10003280
mov esi, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x174], esi
jb 0x100207de
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x1c0]
cmp dword [ebp - 0x1ac], esi
jae 0x100207f2
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
mov edi, 0x78
mov eax, 0x1004d9a8
lea esi, [ebp - 0x150]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
call fcn.10002d20
push 0x22
mov eax, str._______pe__L
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10008150
cmp dword [0x101731fc], 0x10
mov esi, dword [0x101731e8]
jae 0x1002084d
mov esi, 0x101731e8
mov ecx, esi
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x10020868
sub ecx, edi
mov eax, esi
mov edi, ecx
lea esi, [ebp - 0x134]
call fcn.10002d20
lea edx, [ebp - 0x188]
push edx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.10002420
add esp, 4
push eax
mov eax, 0x1004da48
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.10007b00
add esp, 4
push eax
mov eax, 0x1004d950
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xa
call fcn.10007b50
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x150]
mov byte [ebp - 4], 0xb
call fcn.100084a0
mov esi, 0x10
cmp dword [ebp - 0x158], esi
jb 0x100208f6
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp dword [ebp - 0x190], esi
jb 0x10020925
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x194], ebx
mov byte [ebp - 0x1a4], bl
cmp dword [ebp - 0x174], esi
jb 0x1002094f
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 7
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x178], ebx
mov byte [ebp - 0x188], bl
cmp dword [ebp - 0x120], esi
jb 0x1002097d
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x10177498
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10020997
sub eax, esi
mov edi, eax
mov eax, 0x10177498
lea esi, [ebp - 0x134]
call fcn.10002d20
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.10002420
add esp, 4
push eax
mov eax, 0x1004da8c
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0xd
call fcn.10007b00
add esp, 4
push eax
mov eax, 0x1004d950
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0xe
call fcn.10007b50
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x150]
mov byte [ebp - 4], 0xf
call fcn.100084a0
mov esi, 0x10
cmp dword [ebp - 0x174], esi
jb 0x10020a28
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x178], ebx
mov byte [ebp - 0x188], bl
cmp dword [ebp - 0x190], esi
jb 0x10020a57
mov eax, dword [ebp - 0x1a4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x194], ebx
mov byte [ebp - 0x1a4], bl
cmp dword [ebp - 0x158], esi
jb 0x10020a81
mov ecx, dword [ebp - 0x16c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 7
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp dword [ebp - 0x120], esi
jb 0x10020aaf
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x120], edi
mov edi, 1
mov eax, 0x1004d8a0
lea esi, [ebp - 0x134]
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
call fcn.10002d20
lea eax, [ebp - 0x16c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.10002420
add esp, 4
push eax
mov eax, str.pe__L
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x11
call fcn.10007b00
add esp, 4
push eax
mov eax, 0x1004daac
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x12
call fcn.10007b50
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x150]
mov byte [ebp - 4], 0x13
call fcn.100084a0
mov esi, 0x10
cmp dword [ebp - 0x174], esi
jb 0x10020b4c
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x178], ebx
mov byte [ebp - 0x188], bl
cmp dword [ebp - 0x190], esi
jb 0x10020b7b
mov edx, dword [ebp - 0x1a4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x194], ebx
mov byte [ebp - 0x1a4], bl
cmp dword [ebp - 0x158], esi
jb 0x10020ba5
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 7
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp dword [ebp - 0x120], esi
jb 0x10020bd3
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x4c
mov eax, 0x1004dad0
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x4a
mov eax, 0x1004db20
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x20
mov eax, 0x1004db6c
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x2a
mov eax, 0x1004db90
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x1a
mov eax, 0x1004dbbc
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x27
mov eax, 0x1004dbd8
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x7b
mov eax, 0x1004dc00
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x22
mov eax, 0x1004dc7c
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x6f
mov eax, 0x1004dca0
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x50
mov eax, 0x1004dd10
lea ecx, [ebp - 0x150]
call fcn.10008150
push 0x5e
mov eax, 0x1004dd68
lea ecx, [ebp - 0x150]
call fcn.10008150
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x1c0]
push eax
call fcn.1001fe70
mov eax, dword [ebp - 0x1c0]
add esp, 8
cmp dword [ebp - 0x1ac], esi
jae 0x10020cc3
lea eax, [ebp - 0x1c0]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x1c0]
push ecx
lea edx, [ebp - 0x188]
push edx
call fcn.10002750
add esp, 8
mov edi, eax
lea esi, [ebp - 0x1c0]
mov byte [ebp - 4], 0x14
call fcn.10003280
mov esi, 0x10
cmp dword [ebp - 0x174], esi
jb 0x10020d10
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x13c], esi
jb 0x10020d28
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
cmp dword [ebp - 0x1ac], esi
jb 0x10020d57
mov edx, dword [ebp - 0x1c0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1b0], ebx
mov byte [ebp - 0x1c0], bl
cmp dword [ebp - 0x1c8], esi
jb 0x10020d81
mov eax, dword [ebp - 0x1dc]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret