Function at 0x42fd10
Capabilities:
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3145
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.0044cb50
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x4300ec
test al, 0x10
jne 0x4300ec
lea ecx, [ebp - 0x40]
call fcn.00409570
push ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push dword [ebp - 0x14]
call fcn.00409690
test eax, eax
jne 0x42fd86
xor esi, esi
jmp 0x4300ae
push ecx
push str.files
push str.open
lea ecx, [ebp - 0x40]
call fcn.0040a300
push eax
lea ecx, [ebp - 0x20]
call fcn.00406b20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x20]
push 0x63663c
call fcn.00411530
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004061a0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00406310
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x430123
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
push 0x638070
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x54]
call fcn.00406990
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x54]
cmp eax, dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
jne 0x42ff04
push str.kpath
push eax
call fcn.00406990
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x4c]
je 0x430057
push str.kpath
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00406990
mov eax, dword [ebp - 0x1c]
mov edx, 0x635b44
cmp eax, dword [ebp - 0x4c]
je 0x42fe5a
mov eax, dword [eax + 0x14]
test eax, eax
cmovne edx, eax
test edx, edx
jne 0x42fe5a
xor ecx, ecx
jmp 0x42fe6f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fe60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00406ed0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x10]
cmp esi, dword [ebp - 0x2c]
je 0x42fe97
lea ecx, [edi - 0x10]
call fcn.00406d70
add eax, 0x10
mov dword [esi], eax
add dword [ebp - 0x30], 4
jmp 0x42fea4
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0040ce90
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x43012d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push str._kpath:__s_
push eax
call fcn.00408c40
mov esi, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp + 8]
push str._kpath
push esi
call fcn.0040caf0
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x430057
mov ecx, dword [esi]
push esi
jmp 0x430052
push 0x638070
push eax
call fcn.00406990
mov eax, dword [ebp - 0x1c]
mov edx, 0x635b44
cmp eax, dword [ebp - 0x4c]
je 0x42ff2c
mov eax, dword [eax + 0x14]
test eax, eax
cmovne edx, eax
test edx, edx
jne 0x42ff2c
xor ecx, ecx
jmp 0x42ff40
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ff31
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00406ed0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x43012d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
push edi
push str._filepath:__s_
push eax
call fcn.00408c40
add esp, 0xc
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x430137
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push 0x635e28
push eax
call fcn.00408c40
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
cmp ebx, eax
je 0x43000c
or edi, 0xffffffff
nop dword [eax]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.00406d70
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
push esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push str.___s_
push eax
call fcn.00439ef0
add esp, 0xc
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x430001
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
jne 0x42ffc0
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push esi
push dword [ebp - 0x1c]
call fcn.0040caf0
or ebx, 0xffffffff
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x430039
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430057
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x430080
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00406270
lea ecx, [ebp - 0x34]
call fcn.0040cd50
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4300ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, eax
call fcn.0040aa70
push 0x1c
push dword [ebp - 0x3c]
call fcn.00483ac4
mov edx, dword [ebp - 0x40]
add esp, 8
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4300ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4300ee
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43010d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
int3