Function at 0x456f60
Capabilities:
Delete file
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a5558
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x44]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x44]
push edi
push 0x80
push 2
push edi
push 1
push 0x10000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x456ff4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456fed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4572af
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea ecx, [esp + 0x18]
push ecx
push 2
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], 0xfeff
call ebx
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x9c93
mov byte [esp + 0x40], 1
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, edi
je 0x457053
lea eax, [esp + 0x1c]
push eax
mov eax, 0x9c93
call fcn.0046c580
mov byte [esp + 0x3c], 2
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [eax + eax]
push edx
push esi
push ebp
call ebx
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x9c94
mov byte [esp + 0x40], 3
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, edi
je 0x4570aa
lea eax, [esp + 0x18]
push eax
mov eax, 0x9c94
call fcn.0046c580
mov byte [esp + 0x3c], 4
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [eax + eax]
push edx
push edi
push ebp
call ebx
mov eax, dword [0x4d0394]
test eax, eax
je 0x4571ee
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
test eax, eax
jbe 0x4571ee
mov eax, dword [0x4d0394]
test eax, eax
je 0x4571d3
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
mov esi, eax
test esi, esi
je 0x4571ce
mov eax, dword [esi + 8]
cmp eax, 1
je 0x457122
cmp eax, 4
je 0x457122
cmp eax, 2
jne 0x4571ce
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0x24]
call fcn.00456e20
mov byte [esp + 0x3c], 5
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x3c], 6
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
push eax
push str._tr__td__s__td__td__s__td__td__s__td__td__a_href_s__s__a___td___tr_
lea edi, [esp + 0x38]
call fcn.0046afd0
mov esi, dword [esp + 0x38]
mov eax, dword [esi - 0xc]
add esp, 0x18
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [eax + eax]
push edx
push esi
push ebp
call ebx
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4571a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4571ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4d0394]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x30]
jb 0x4570f1
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, str.__table___body___html_
call fcn.0046c8c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x18]
push edx
add ecx, ecx
push ecx
push eax
push ebp
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457240
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457282
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4572aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4