Function at 0x4b2020
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535aaf
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10ac
call fcn.00507350
mov eax, dword [0x56d940]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x4b2161
lea ecx, [ebp - 0x103c]
call fcn.00402c10
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1054], esp
push 0x548f04
call fcn.00402c50
mov dword [ebp - 0x108c], eax
mov eax, dword [ebp - 0x108c]
mov dword [ebp - 0x1090], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1058], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00402c30
mov dword [ebp - 0x1094], eax
lea eax, [ebp - 0x105c]
push eax
mov byte [ebp - 4], 2
call fcn.004b1c70
add esp, 0xc
mov dword [ebp - 0x1098], eax
mov ecx, dword [ebp - 0x1098]
mov dword [ebp - 0x109c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x109c]
push edx
lea ecx, [ebp - 0x103c]
call fcn.00402cf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x105c]
call fcn.00402cd0
lea ecx, [ebp - 0x103c]
call fcn.00403460
movzx eax, al
test eax, eax
jne 0x4b2152
mov dword [ebp - 0x1060], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x103c]
call fcn.00402cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov eax, dword [ebp - 0x1060]
jmp 0x4b25a1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x103c]
call fcn.00402cd0
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x24]
call fcn.004e381d
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0
push 0x548f1c
lea ecx, [ebp + 8]
call fcn.00402e50
test eax, eax
jge 0x4b21d6
mov dword [ebp - 0x1064], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov eax, dword [ebp - 0x1064]
jmp 0x4b25a1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1044]
call fcn.00402c10
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x1068], esp
lea edx, [ebp + 8]
push edx
call fcn.00402c30
mov dword [ebp - 0x10a0], eax
lea eax, [ebp - 0x106c]
push eax
call fcn.004b25c0
add esp, 8
mov dword [ebp - 0x10a4], eax
mov ecx, dword [ebp - 0x10a4]
mov dword [ebp - 0x10a8], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x10a8]
push edx
lea ecx, [ebp - 0x1044]
call fcn.00402cf0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x106c]
call fcn.00402cd0
lea ecx, [ebp - 0x1044]
call fcn.00403460
movzx eax, al
test eax, eax
jne 0x4b227a
lea ecx, [ebp + 8]
call fcn.00420f50
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea ecx, [ebp - 0x1044]
call fcn.00420f50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x400002
push 0
lea ecx, [ebp + 8]
call fcn.00420f50
push eax
lea ecx, [ebp - 0x24]
call fcn.004e44c9
mov dword [ebp - 0x10ac], eax
mov ecx, dword [ebp - 0x10ac]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b26d0
add esp, 4
mov dword [ebp - 0x10b0], eax
mov ecx, dword [ebp - 0x10b0]
mov dword [ebp - 0x1040], ecx
cmp dword [ebp - 0x1040], 0
je 0x4b231d
mov dword [ebp - 0x1070], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1044]
call fcn.00402cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov eax, dword [ebp - 0x1070]
jmp 0x4b25a1
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
lea ecx, [ebp + 0xc]
call fcn.00420f50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4b2392
mov dword [ebp - 0x1074], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1044]
call fcn.00402cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov eax, dword [ebp - 0x1074]
jmp 0x4b25a1
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 0
push 0x800
lea edx, [ebp - 0x1038]
push edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x10b4], eax
mov ecx, dword [ebp - 0x10b4]
mov dword [ebp - 0x104c], ecx
push 0
lea edx, [ebp - 0x1048]
push edx
mov eax, dword [ebp - 0x104c]
push eax
lea ecx, [ebp - 0x1038]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x104c], 0
jg 0x4b23a6
cmp dword [ebp - 0x28], 0
jne 0x4b2466
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x107c], ecx
mov edx, dword [ebp - 0x107c]
mov dword [ebp - 0x1078], edx
cmp dword [ebp - 0x1078], 0
je 0x4b2455
push 1
mov eax, dword [ebp - 0x1078]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1078]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x10b8], eax
mov ecx, dword [ebp - 0x10b8]
mov dword [ebp - 0x10bc], ecx
jmp 0x4b245f
mov dword [ebp - 0x10bc], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.004e3eb6
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1080], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1044]
call fcn.00402cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov eax, dword [ebp - 0x1080]
jmp 0x4b25a1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.005007b7
mov esp, ebp
pop ebp
ret