Function at 0x457eac
Capabilities:
Delete file
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], 0x434e7c
xor edx, edx
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
test ecx, ecx
je 0x457fa0
lea eax, [ebp - 4]
mov dword [ebp - 0x28], edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x24], 1
call fcn.00452eb9
cmp byte [ebp - 0x24], 0
mov ebx, eax
je 0x457efd
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.00447086
test ebx, ebx
jns 0x457f36
cmp dword [0x463f58], 0
je 0x458333
xor eax, eax
mov edx, ebx
push eax
push 0x436840
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x458333
call fcn.0043b9da
jmp 0x458333
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, eax
jns 0x457f98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x457f5a
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x457f98
cmp ebx, 0x80070003
jne 0x457f75
mov ecx, dword [ebp - 4]
call fcn.00452b94
test al, al
je 0x457f75
mov ebx, 0x800700ce
cmp dword [0x463f58], 0
je 0x458333
push dword [ebp - 4]
mov edx, ebx
mov cl, 1
push 0x435d0c
call fcn.0043b847
jmp 0x458333
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edx
push eax
push 0x41152c
mov edx, 0x434e68
mov ecx, edi
call fcn.00455c7e
mov ebx, eax
test ebx, ebx
jns 0x457fe1
cmp dword [0x463f58], 0
je 0x45831b
xor eax, eax
mov edx, ebx
push eax
push 0x4368a0
mov cl, 1
call fcn.0043b847
jmp 0x45831b
xor edi, edi
mov dword [ebp - 0x38], edi
mov ebx, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
test esi, esi
je 0x458035
push esi
lea ecx, [ebp - 0x38]
call fcn.00460e70
mov ebx, eax
test ebx, ebx
jns 0x458032
cmp dword [0x463f58], edi
je 0x45830d
push edi
push 0x43692c
mov edx, ebx
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], edi
je 0x45830d
call fcn.0043b9da
jmp 0x45830d
mov ebx, dword [ebp - 0x34]
push 0x4023e0
push 8
call fcn.00461ec5
mov esi, eax
mov dword [ebp - 0x14], esi
pop ecx
pop ecx
test esi, esi
je 0x45807b
mov dword [esi], edi
mov dword [esi + 4], edi
test ebx, ebx
je 0x45805e
push edi
call fcn.00462073
pop ecx
mov dword [esi], ebx
push 0x4023e0
push 4
call fcn.00461ec5
pop ecx
pop ecx
test eax, eax
je 0x458074
mov dword [eax], edi
jmp 0x458076
mov eax, edi
mov dword [esi + 4], eax
jmp 0x458080
mov esi, edi
mov dword [ebp - 0x14], edi
mov edi, esi
test esi, esi
jne 0x4580ad
mov ebx, 0x8007000e
cmp dword [0x463f58], esi
je 0x458307
xor eax, eax
mov edx, ebx
push eax
push 0x43695c
mov cl, 1
call fcn.0043b847
jmp 0x458307
push dword [esi + 4]
xor eax, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], eax
call fcn.0043e6c6
push eax
mov edx, 0x4244e0
mov ecx, 0x434e68
call fcn.00455b4f
mov ebx, eax
test ebx, ebx
jns 0x458111
cmp dword [0x463f58], 0
je 0x458104
xor eax, eax
mov edx, ebx
push eax
push 0x436978
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x458104
call fcn.0043b9da
lea ecx, [ebp - 0xc]
call fcn.0043e6ea
jmp 0x458307
lea ecx, [ebp - 0xc]
call fcn.0043e6ea
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x458121
sub ecx, edx
mov edx, dword [ebp - 8]
sar ecx, 1
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x18]
jne 0x458136
mov eax, dword [esi + 4]
sub edx, ebx
sar edx, 1
mov esi, dword [eax]
lea ebx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, word [ebp - 0x18]
jne 0x45814e
sub esi, ebx
lea ebx, [ecx + 0x13]
sar esi, 1
lea eax, [esi + edx]
add ebx, eax
cmp dword [ebp + 8], 0
mov dword [ebp - 0x18], ebx
je 0x45818e
mov ecx, dword [ebp + 8]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x458177
sub ecx, edx
add ebx, 5
sar ecx, 1
add ebx, ecx
mov dword [ebp - 0x18], ebx
push 0x4023e0
xor ecx, ecx
mov eax, ebx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00462078
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4581d6
mov ebx, 0x8007000e
cmp dword [0x463f58], eax
je 0x458300
push eax
push 0x436a28
mov edx, ebx
mov cl, 1
call fcn.0043b847
jmp 0x458300
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
push dword [eax]
push dword [ebp - 8]
push dword [ebp - 0x10]
push 0x436a44
push ebx
push esi
call fcn.00449350
mov ebx, eax
add esp, 0x18
test ebx, ebx
jns 0x458210
cmp dword [0x463f58], 0
je 0x458300
xor eax, eax
push eax
push 0x436a78
jmp 0x458272
cmp dword [ebp + 8], 0
je 0x458248
push dword [ebp + 8]
push esi
push 0x436b3c
push dword [ebp - 0x18]
push esi
call fcn.00449350
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x458248
cmp dword [0x463f58], 0
je 0x458300
xor eax, eax
push eax
push 0x436b50
jmp 0x458272
xor eax, eax
lea edx, [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.0045b2e8
mov ebx, eax
test ebx, ebx
jns 0x458284
cmp dword [0x463f58], 0
je 0x458300
xor eax, eax
push eax
push 0x436bd0
mov edx, ebx
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
jmp 0x4582f5
cmp dword [ebp - 0x1c], 0
je 0x4582a4
mov ecx, dword [ebp + 4]
mov ebx, 0x8000ffff
push ebx
push 0x435ea0
mov edx, 0x20a
call fcn.0043c390
jmp 0x458300
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edi, eax
mov eax, dword [ecx + 8]
inc eax
push eax
call fcn.0043cca4
mov ebx, eax
test ebx, ebx
jns 0x4582bf
xor eax, eax
jmp 0x4582d4
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [eax + ecx*4], edx
inc dword [ebx + 8]
xor eax, eax
mov ebx, eax
test ebx, ebx
jns 0x4582fe
cmp dword [0x463f58], edi
je 0x458300
push eax
push 0x436bf8
mov edx, ebx
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], edi
je 0x458300
call fcn.0043b9da
jmp 0x458300
mov ebx, eax
push esi
call fcn.00462073
pop ecx
push edi
call fcn.0045b9ed
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45831b
push eax
call fcn.00462073
pop ecx
cmp dword [ebp - 8], 0
je 0x45832a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 8]
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
cmp dword [ebp - 4], 0
je 0x458342
push dword [ebp - 4]
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc