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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b731f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10ac
call fcn.004866d0
mov eax, dword [0x4e7950]
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 0x42a9d1
lea ecx, [ebp - 0x103c]
call fcn.00401e00
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1054], esp
push 0x4c9228
call fcn.00401e40
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.00401e20
mov dword [ebp - 0x1094], eax
lea eax, [ebp - 0x105c]
push eax
mov byte [ebp - 4], 2
call fcn.0042a4e0
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.00401ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x105c]
call fcn.00408680
lea ecx, [ebp - 0x103c]
call fcn.004025b0
movzx eax, al
test eax, eax
jne 0x42a9c2
mov dword [ebp - 0x1060], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x103c]
call fcn.00408680
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408680
mov eax, dword [ebp - 0x1060]
jmp 0x42ae11
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x103c]
call fcn.00408680
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x24]
call fcn.0046310c
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0
push 0x4c9240
lea ecx, [ebp + 8]
call fcn.00402010
test eax, eax
jge 0x42aa46
mov dword [ebp - 0x1064], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0046391b
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408680
mov eax, dword [ebp - 0x1064]
jmp 0x42ae11
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1044]
call fcn.00401e00
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x1068], esp
lea edx, [ebp + 8]
push edx
call fcn.00401e20
mov dword [ebp - 0x10a0], eax
lea eax, [ebp - 0x106c]
push eax
call fcn.0042ae30
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.00401ec0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x106c]
call fcn.00408680
lea ecx, [ebp - 0x1044]
call fcn.004025b0
movzx eax, al
test eax, eax
jne 0x42aaea
lea ecx, [ebp + 8]
call fcn.004077a0
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea ecx, [ebp - 0x1044]
call fcn.004077a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x400002
push 0
lea ecx, [ebp + 8]
call fcn.004077a0
push eax
lea ecx, [ebp - 0x24]
call fcn.00463dd2
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.0042af40
add esp, 4
mov dword [ebp - 0x10b0], eax
mov ecx, dword [ebp - 0x10b0]
mov dword [ebp - 0x1040], ecx
cmp dword [ebp - 0x1040], 0
je 0x42ab8d
mov dword [ebp - 0x1070], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1044]
call fcn.00408680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0046391b
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408680
mov eax, dword [ebp - 0x1070]
jmp 0x42ae11
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
lea ecx, [ebp + 0xc]
call fcn.004077a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x42ac02
mov dword [ebp - 0x1074], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1044]
call fcn.00408680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0046391b
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408680
mov eax, dword [ebp - 0x1074]
jmp 0x42ae11
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 0x42ac16
cmp dword [ebp - 0x28], 0
jne 0x42acd6
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 0x42acc5
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 0x42accf
mov dword [ebp - 0x10bc], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.004637a5
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.00408680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0046391b
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408680
mov eax, dword [ebp - 0x1080]
jmp 0x42ae11
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.00480723
mov esp, ebp
pop ebp
ret