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

Disassembly:
mov eax, 0x626c
call fcn.006ab750
push ebx
mov ebx, dword [esp + 0x627c]
cmp dword [ebx + 0x20], 0xffffffff
push ebp
mov ebp, dword [esp + 0x627c]
push esi
push edi
je 0x57979e
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 eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x579371
push 0x81aa
lea ecx, [esp + 0x226c]
push ecx
sub eax, edx
push ebp
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.0054d6a0
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp ecx, esi
je 0x5793b6
mov eax, dword [esp + 0x6280]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x626c
ret 0x18
push 0x2bf20
lea eax, [esp + 0x5c]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
push ecx
lea eax, [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x103
call fcn.005549b0
mov ecx, dword [esp + 0x14]
cmp ecx, esi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov byte [edx + eax], 0
jne 0x5793a0
lea ecx, [esp + 0x58]
push str.HTTP
push ecx
mov byte [esp + 0x64], 0
call fcn.006adcb9
add esp, 8
test eax, eax
jne 0x57979e
lea edx, [esp + 0x61]
push edx
mov byte [esp + 0x68], al
call fcn.0069e33e
add esp, 4
cmp byte [esp + 0x6294], 0
je 0x5795a8
lea ecx, [eax - 0x12c]
cmp ecx, 0x63
ja 0x5795a8
mov edx, dword [str.Location:]
mov eax, dword [0x706c04]
mov cx, word [0x706c08]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov word [esp + 0x48], cx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea esp, [esp]
push ebx
push ebp
lea edx, [esp + 0x1c]
push edx
mov edi, 0x2710
lea eax, [esp + 0x28]
call fcn.00499e50
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x579522
cmp byte [eax], 0
je 0x579522
push 9
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.006addf9
add esp, 0xc
test eax, eax
jne 0x579470
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x5794bb
mov eax, 0x6bc0ce
add eax, 9
cmp byte [eax], 0x20
jne 0x5794cb
add eax, 1
cmp byte [eax], 0x20
je 0x5794c3
mov ecx, dword [esp + 0x628c]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00541c70
test al, al
mov eax, dword [esp + 0x28]
jne 0x579532
mov esi, dword [esp + 0x6280]
mov dword [esi], 2
push eax
call fcn.0069c8fa
mov ecx, dword [esp + 0x20]
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 0x57950b
cmp eax, esi
jne 0x57953b
mov eax, 0x6bc0ce
push 5
push str.http:
push eax
call fcn.0069d18d
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x28]
je 0x57957c
cmp eax, esi
jne 0x57955c
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 + 0x28]
jmp 0x5794fd
cmp eax, esi
jne 0x579585
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 + 0x28]
jmp 0x5794fd
add eax, 0xffffff38
cmp eax, 0x63
ja 0x57979e
mov edx, dword [esp + 0x6290]
push 2
push esi
push 0xc0000000
push edx
mov eax, 0xc8
call fcn.004abf70
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
je 0x57979e
push ebx
push ebp
mov ecx, 0xea60
lea eax, [esp + 0x60]
lea esi, [esp + 0x1c]
mov dword [esp + 0x20], 0xffffffff
mov byte [esp + 0x1b], 0
call fcn.00499e10
cmp byte [esp + 0x58], 0
mov edi, dword [eax]
je 0x57965b
jmp 0x579610
push 0x10
lea eax, [esp + 0x5c]
push str.Content_Length:
push eax
call fcn.0069d18d
add esp, 0xc
test eax, eax
jne 0x57963e
lea ecx, [esp + 0x68]
push ecx
call fcn.0069e33e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], 1
push ebx
push ebp
mov ecx, 0xea60
lea eax, [esp + 0x60]
lea esi, [esp + 0x1c]
call fcn.00499e10
cmp byte [esp + 0x58], 0
mov edi, dword [eax]
jne 0x579610
mov esi, dword [esp + 0x18]
fldz
mov edx, esi
fstp qword [esp + 0x28]
shr edx, 0xd
add edx, 1
test edx, edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
jge 0x57967f
fadd qword [0x7235b8]
test esi, esi
fld1
fdivrp st(1)
fstp qword [esp + 0x40]
ja 0x5796d6
test edi, edi
je 0x5796a6
lea esi, [esp + 0x3c]
call fcn.0068cf60
mov eax, dword [esp + 0x6290]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x6280]
mov dword [esi], edi
je 0x579513
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 + 0x18]
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, ebp
call edx
test al, al
jne 0x579794
mov edi, 0x2000
cmp esi, edi
jae 0x5796f2
mov edi, esi
mov ecx, dword [esp + 0x6288]
push 0xea60
lea eax, [esp + 0x26c]
push eax
push ecx
push ebp
lea edx, [esp + 0x64]
push edx
lea esi, [esp + 0x28]
xor bl, bl
mov dword [esp + 0x28], 0
call fcn.0054e330
mov edi, dword [eax]
test edi, edi
je 0x57973d
cmp edi, 2
jne 0x57968b
cmp byte [esp + 0x13], bl
jne 0x57968f
xor edi, edi
mov bl, 1
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
push 0
lea eax, [esp + 0x54]
push eax
push esi
lea ecx, [esp + 0x274]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
fld qword [esp + 0x40]
fadd qword [esp + 0x28]
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
sub dword [esp + 0x18], esi
sub esp, 8
fst qword [esp + 0x30]
mov ecx, ebp
fstp qword [esp]
call edx
test bl, bl
jne 0x57968b
cmp dword [esp + 0x18], 0
ja 0x5796d2
jmp 0x57968b
mov edi, 1
jmp 0x57968f
mov eax, dword [esp + 0x6280]
pop edi
pop esi
pop ebp
mov dword [eax], 2
pop ebx
add esp, 0x626c
ret 0x18