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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471473
mov eax, dword fs:[0]
push eax
mov eax, 0x4060
call fcn.0046fc30
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x404c], edx
mov esi, ecx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x4050], eax
mov byte [ebp - 0x4039], 0
test ebx, ebx
je 0x41b731
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, dword [ebx]
mov ecx, ebx
push esi
push 0
push 0
push 0
push 0
mov dword [ebx + 0x2c], 0
call dword [eax + 4]
push 0x60
call fcn.004511c8
add esp, 4
mov dword [ebp - 0x4020], eax
push ebx
push edi
push esi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0041a6e0
mov esi, eax
mov dword [ebp - 0x4020], esi
mov dword [ebp - 4], 1
cmp byte [esi + 8], 0
jne 0x41b78d
cmp dword [esi + 0x1c], 0
lea edi, [esi + 0xc]
je 0x41b77c
push 0x4c7bf0
mov ecx, edi
call fcn.00411d70
push str.InternetStream_creation_failed
mov ecx, edi
call fcn.00411d70
jmp 0x41b88d
push 0
push 0
push 2
push 0
push 3
push 2
push dword [ebp - 0x404c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x401c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4048], eax
cmp eax, 0xffffffff
jne 0x41b7e1
cmp dword [esi + 0x1c], 0
lea edi, [esi + 0xc]
je 0x41b7d0
push 0x4c7bf0
mov ecx, edi
call fcn.00411d70
push str.FileCreate_failed
mov ecx, edi
call fcn.00411d70
jmp 0x41b88d
push 0x4000
lea edx, [ebp - 0x4014]
mov ecx, esi
call fcn.0041b5c0
mov edi, eax
add esp, 4
test edi, edi
je 0x41b87a
mov eax, dword [ebp - 0x4018]
mov dword [ebp - 0x4044], eax
mov eax, dword [ebp - 0x401c]
mov dword [ebp - 0x4040], eax
cmp edi, 0xffffffff
je 0x41b8ec
push 0
lea eax, [ebp - 0x4018]
mov dword [ebp - 0x4018], 0
push eax
push edi
lea eax, [ebp - 0x4014]
push eax
push dword [ebp - 0x4048]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x4018]
cmp eax, edi
jne 0x41b8d4
add dword [ebp - 0x4040], eax
lea edx, [ebp - 0x4014]
push 0x4000
adc dword [ebp - 0x4044], 0
mov ecx, esi
call fcn.0041b5c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x41b814
push dword [ebp - 0x4048]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x4039], 1
test ebx, ebx
je 0x41b898
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov bl, byte [ebp - 0x4039]
test bl, bl
jne 0x41b8a5
mov byte [esi + 8], bl
mov eax, dword [ebp - 0x4050]
lea ecx, [ebp - 0x4020]
cmp eax, ecx
je 0x41ba96
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x41baa8
mov ecx, edi
call fcn.0041b480
push 0x60
push edi
jmp 0x41baa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FileWrite_failed
mov ecx, esi
call fcn.00419fa0
jmp 0x41ba79
push 0x17
mov dword [ebp - 0x4038], 0
lea ecx, [ebp - 0x4038]
push str.DownloadFile_failed_at
mov dword [ebp - 0x4028], 0
mov dword [ebp - 0x4024], 0xf
mov byte [ebp - 0x4038], 0
call fcn.00411c40
mov eax, dword [ebp - 0x4044]
lea ecx, [ebp - 0x4068]
push eax
mov eax, dword [ebp - 0x4040]
push eax
mov byte [ebp - 4], 0xa
call fcn.004162b0
add esp, 8
push eax
lea ecx, [ebp - 0x4038]
mov byte [ebp - 4], 0xb
call fcn.00411de0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x4054]
cmp edx, 0x10
jb 0x41b991
mov ecx, dword [ebp - 0x4068]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b987
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bac6
push edx
push ecx
call fcn.00451449
add esp, 8
push 0x4c8028
lea ecx, [ebp - 0x4038]
call fcn.00411d70
push dword [esi + 4]
lea ecx, [ebp - 0x4068]
push dword [esi]
call fcn.00416210
add esp, 8
push eax
lea ecx, [ebp - 0x4038]
mov byte [ebp - 4], 0xc
call fcn.00411de0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x4054]
cmp edx, 0x10
jb 0x41ba02
mov ecx, dword [ebp - 0x4068]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b9f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bacb
push edx
push ecx
call fcn.00451449
add esp, 8
cmp dword [ebp - 0x4024], 0x10
lea eax, [ebp - 0x4038]
lea edi, [esi + 0xc]
cmovae eax, dword [ebp - 0x4038]
cmp dword [esi + 0x1c], 0
mov dword [ebp - 0x4040], eax
je 0x41ba37
push 0x4c7bf0
mov ecx, edi
call fcn.00411d70
mov eax, dword [ebp - 0x4040]
push eax
mov ecx, edi
call fcn.00411d70
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4024]
cmp edx, 0x10
jb 0x41ba79
mov ecx, dword [ebp - 0x4038]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ba6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bad0
push edx
push ecx
call fcn.00451449
add esp, 8
push dword [ebp - 0x4048]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x404c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41b88d
mov ecx, esi
call fcn.0041b480
push 0x60
push esi
call fcn.00451449
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
ret
call fcn.00460976
call fcn.00460976
call fcn.00460976
int3