Function at 0x4d55f0
Capabilities:
Clear file content
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d564
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5df7e4]
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 - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xcc], eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xd8], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], 0
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call esi
mov edi, eax
mov dword [ebp - 0xd4], edi
cmp edi, 0xffffffff
jne 0x4d56af
push 0x80070005
lea ecx, [ebp - 0xb4]
call fcn.004d4750
lea eax, [ebp - 0xf0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe0], eax
push dword [0x5d7048]
push ebx
lea eax, [ebp - 0xdc]
push eax
call fcn.004baa80
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push dword [eax]
call esi
mov esi, eax
mov dword [ebp - 0xc0], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.004badd0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x4d573a
push edi
call ebx
push 0x80070005
lea ecx, [ebp - 0xb4]
call fcn.004d4750
xorps xmm0, xmm0
movlpd qword [ebp - 0xbc], xmm0
push 0
lea eax, [ebp - 0xfc]
push eax
push 8
lea eax, [ebp - 0xbc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d5772
push 0x80070005
lea ecx, [ebp - 0xb4]
call fcn.004d4750
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
jl 0x4d579a
mov eax, dword [ebp - 0xbc]
jg 0x4d5788
test eax, eax
jb 0x4d579a
cmp ecx, dword [ebp - 0xe0]
jl 0x4d57b1
jg 0x4d579a
cmp eax, dword [ebp - 0xe4]
jbe 0x4d57b1
xorps xmm0, xmm0
movlpd qword [ebp - 0xbc], xmm0
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
push 0
push 0
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], esi
call sym.wwbizsrv.exe_curl_easy_init
mov esi, eax
test esi, esi
jne 0x4d57ec
push 0x8000ffff
lea ecx, [ebp - 0xb4]
call fcn.004d4750
lea eax, [ebp - 0xac]
mov dword [ebp - 0xb0], eax
push 3
mov eax, dword [ebp - 0xe8]
push dword [eax]
lea ecx, [ebp - 0xb0]
call fcn.004d5000
mov byte [ebp - 4], 2
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
call fcn.004d4550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
mov eax, dword [ebp - 0xb0]
cmp eax, ecx
je 0x4d583c
push eax
call fcn.0052dbc0
add esp, 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x2712
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
push 0x4d5a40
push 0x4e2b
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
lea eax, [ebp - 0xf8]
push eax
push 0x2711
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push 0x15
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
push 1
push 0x34
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
add esp, 0x40
push 1
push 0x2d
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
push 5
push 0x4e
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
add esp, 0x18
cmp dword [ebp - 0xd0], 0
je 0x4d58fb
push dword [ebp + 0x18]
push 0x65
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
push dword [ebp - 0xd0]
push 0x2714
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
add esp, 0x18
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x4d58ee
push eax
push 0x2716
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
add esp, 0xc
push 0xffffffffffffffef
push 0x6f
push esi
call sym.wwbizsrv.exe_curl_easy_setopt
add esp, 0xc
push esi
call sym.wwbizsrv.exe_curl_easy_perform
mov dword [ebp - 0xc4], eax
push esi
call sym.wwbizsrv.exe_curl_easy_cleanup
add esp, 8
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x4d592c
cmp eax, 0x12
je 0x4d592c
push 1
lea ecx, [ebp - 0xb4]
call fcn.004d4750
mov eax, dword [ebp - 0xc0]
cmp eax, 0xffffffff
je 0x4d593a
push eax
call ebx
cmp edi, 0xffffffff
je 0x4d5942
push edi
call ebx
push dword [0x5d7048]
push dword [ebp - 0xc8]
lea eax, [ebp - 0xc8]
push eax
call fcn.004baa80
add esp, 0xc
mov byte [ebp - 4], 5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.004badd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004c02e0
mov eax, 1
jmp 0x4d5a24
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.005121be
mov esp, ebp
pop ebp
ret