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

Disassembly:
mov eax, 0x626c
call fcn.006ab750
push ebx
mov ebx, dword [esp + 0x627c]
cmp dword [ebx], 0xffffffff
push ebp
mov ebp, dword [esp + 0x627c]
push esi
push edi
je 0x579176
mov ecx, dword [esp + 0x628c]
lea eax, [esp + 0x4270]
push eax
mov edi, 0x2002
lea eax, [esp + 0x164]
call fcn.00541330
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0x4274]
push edx
mov esi, edi
push str.GET__s_HTTP_1.0_r_nHost:__s_r_n_r_n
lea edi, [esp + 0x2274]
call fcn.004af0b0
mov edx, dword [ebx]
mov eax, edi
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x578d72
push 0x81aa
lea ecx, [esp + 0x226c]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], edx
push ebp
lea edx, [esp + 0x28]
sub eax, esi
push edx
call fcn.00542f60
mov ecx, dword [esp + 0x18]
xor edi, edi
cmp ecx, edi
je 0x578dba
mov eax, dword [esp + 0x6280]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x626c
ret 0x18
mov esi, dword [ebx]
mov ecx, 0x2bf20
push ecx
mov edx, esp
mov dword [edx], esi
lea eax, [esp + 0x5c]
push ebp
lea esi, [esp + 0x20]
call fcn.00499ae0
mov ecx, dword [eax]
cmp ecx, edi
jne 0x578da4
lea eax, [esp + 0x58]
push str.HTTP
push eax
mov byte [esp + 0x64], 0
call fcn.006adcb9
add esp, 8
test eax, eax
jne 0x579176
lea ecx, [esp + 0x61]
push ecx
mov byte [esp + 0x68], al
call fcn.0069e33e
add esp, 4
cmp byte [esp + 0x6294], 0
je 0x578f95
lea edx, [eax - 0x12c]
cmp edx, 0x63
ja 0x578f95
mov eax, dword [str.Location:]
mov ecx, dword [0x706c04]
mov dx, word [0x706c08]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x48], dx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov edx, dword [ebx]
push 0x2710
push ecx
mov ecx, esp
lea eax, [esp + 0x3c]
push ebp
lea edi, [esp + 0x24]
mov dword [ecx], edx
call fcn.00499b30
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
je 0x578f0f
cmp byte [eax], 0
je 0x578f0f
push 9
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.006addf9
add esp, 0xc
test eax, eax
jne 0x578e52
mov eax, dword [esp + 0x34]
cmp eax, esi
jne 0x578ea4
mov eax, 0x6bc0ce
add eax, 9
cmp byte [eax], 0x20
jne 0x578eb8
lea esp, [esp]
add eax, 1
cmp byte [eax], 0x20
je 0x578eb0
mov ecx, dword [esp + 0x628c]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00541c70
test al, al
mov eax, dword [esp + 0x20]
jne 0x578f1f
mov esi, dword [esp + 0x6280]
mov dword [esi], 2
push eax
call fcn.0069c8fa
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call fcn.0069c8fa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x626c
ret 0x18
mov esi, dword [esp + 0x6280]
mov dword [esi], 2
push eax
jmp 0x578ef8
cmp eax, esi
jne 0x578f28
mov eax, 0x6bc0ce
push 6
push str.https:
push eax
call fcn.0069d18d
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x578f69
cmp eax, esi
jne 0x578f49
mov eax, 0x6bc0ce
mov edx, dword [esp + 0x6290]
push esi
mov esi, dword [esp + 0x6284]
push edx
push eax
mov edx, ebp
mov ecx, esi
call fcn.00542210
mov eax, dword [esp + 0x20]
jmp 0x578eea
cmp eax, esi
jne 0x578f72
mov eax, 0x6bc0ce
mov edx, dword [esp + 0x6290]
push esi
mov esi, dword [esp + 0x6284]
push edx
push eax
mov edx, ebp
mov ecx, esi
call fcn.00541e10
mov eax, dword [esp + 0x20]
jmp 0x578eea
add eax, 0xffffff38
cmp eax, 0x63
ja 0x579176
mov edx, dword [esp + 0x6290]
push 2
push edi
push 0xc0000000
push edx
mov eax, 0xc8
call fcn.004abf70
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
je 0x579176
mov dword [esp + 0x1c], 0xffffffff
mov byte [esp + 0x17], 0
mov esi, dword [ebx]
mov ecx, 0xea60
push ecx
mov edx, esp
mov dword [edx], esi
lea eax, [esp + 0x5c]
push ebp
lea esi, [esp + 0x20]
call fcn.00499ae0
cmp byte [esp + 0x58], 0
mov edi, dword [eax]
je 0x57902a
push 0x10
lea eax, [esp + 0x5c]
push str.Content_Length:
push eax
call fcn.0069d18d
add esp, 0xc
test eax, eax
jne 0x578fd7
lea ecx, [esp + 0x68]
push ecx
call fcn.0069e33e
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x17], 1
jmp 0x578fd7
mov esi, dword [esp + 0x1c]
fldz
mov edx, esi
fstp qword [esp + 0x20]
shr edx, 0xd
add edx, 1
test edx, edx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
jge 0x57904e
fadd qword [0x7235b8]
test esi, esi
fld1
fdivrp st(1)
fstp qword [esp + 0x40]
ja 0x5790a5
test edi, edi
je 0x579075
lea esi, [esp + 0x30]
call fcn.0068cf60
mov ecx, dword [esp + 0x6290]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x6280]
mov dword [esi], edi
je 0x578f00
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x626c
ret 0x18
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, ebp
call edx
test al, al
jne 0x57916c
mov eax, 0x2000
cmp esi, eax
jae 0x5790c1
mov eax, esi
push 0xea60
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x274]
push edx
push ecx
mov ecx, dword [esp + 0x629c]
mov edx, dword [ecx]
mov eax, esp
mov dword [eax], edx
lea eax, [esp + 0x68]
push eax
mov eax, ebp
xor bl, bl
mov dword [esp + 0x30], 0
call fcn.00543220
mov edi, dword [eax]
test edi, edi
je 0x579115
cmp edi, 2
jne 0x57905a
cmp byte [esp + 0x17], bl
jne 0x57905e
xor edi, edi
mov bl, 1
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x54]
push ecx
push esi
lea edx, [esp + 0x274]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
fld qword [esp + 0x40]
fadd qword [esp + 0x20]
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
sub dword [esp + 0x1c], esi
sub esp, 8
fst qword [esp + 0x28]
mov ecx, ebp
fstp qword [esp]
call eax
test bl, bl
jne 0x57905a
cmp dword [esp + 0x1c], 0
ja 0x5790a1
jmp 0x57905a
mov edi, 1
jmp 0x57905e
mov eax, dword [esp + 0x6280]
pop edi
pop esi
pop ebp
mov dword [eax], 2
pop ebx
add esp, 0x626c
ret 0x18