Function at 0x4f66ab
Capabilities:
Write file on windows

Disassembly:
push 0x18
mov eax, 0x5990e2
call fcn.00584f68
mov esi, ecx
push 0x5a3f7c
push str..CHttpResponseDataWriter::Write
push str.CHttpResponseDataWriter::Write
push 1
push 0x14e
mov ebx, str.....SourceCommonNetworkHttpHttpResponseDataWriter.cpp
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004b1d3b
add esp, 0x1c
xor ecx, ecx
cmp dword [ebp + 8], ecx
mov dword [ebp - 4], ecx
je 0x4f678c
cmp dword [ebp + 0xc], ecx
je 0x4f678c
cmp dword [esi], ecx
je 0x4f67be
cmp dword [esi + 0xc], ecx
jne 0x4f671b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004b1dba
xor eax, eax
call fcn.00585040
ret 8
cmp dword [esi + 0x10], ecx
jne 0x4f6734
mov edi, 0x2800
push edi
call fcn.0058432a
pop ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
xor ecx, ecx
mov eax, dword [esi + 0x18]
mov edx, dword [ebp + 0xc]
lea edi, [eax + edx]
cmp edi, dword [esi + 0x14]
jbe 0x4f67a1
push 2
push ecx
push dword [esi + 0xc]
call dword [sym.imp.MSVCR80.dll_fseek]
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0xc
test eax, eax
jbe 0x4f6775
push dword [esi + 0xc]
push eax
push 1
push dword [esi + 0x10]
call edi
add esp, 0x10
cmp eax, dword [esi + 0x18]
jne 0x4f6705
and dword [esi + 0x18], 0
push dword [esi + 0xc]
xor esi, esi
push dword [ebp + 0xc]
inc esi
push esi
push dword [ebp + 8]
call edi
add esp, 0x10
cmp eax, dword [ebp + 0xc]
je 0x4f678e
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004b1dba
mov eax, esi
jmp 0x4f6713
mov ecx, dword [esi + 0x10]
push edx
push dword [ebp + 8]
add ecx, eax
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [ebp + 0xc]
add esp, 0xc
add dword [esi + 0x18], eax
xor esi, esi
inc esi
jmp 0x4f678e
cmp dword [esi + 0x1c], ecx
mov edi, 0x2800
jne 0x4f67d8
push edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ecx
call fcn.0058432a
pop ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x24]
add ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
cmp ecx, eax
jbe 0x4f687c
lea ecx, [eax + 0x2800]
mov eax, 0x61a8000
cmp ecx, eax
jbe 0x4f6821
push eax
push ecx
push dword [esi + 0x28]
push str.Id__lu__Recv_Buf_Len__lu____MAX__d__FAIL
push str.Http
push 2
push str.CHttpResponseDataWriter::Write
push 0x18f
push ebx
call fcn.00452950
add esp, 0x24
jmp 0x4f678c
push ecx
call fcn.0058432a
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jne 0x4f685c
mov eax, dword [esi + 0x20]
add eax, edi
push eax
push dword [esi + 0x28]
push str.Id__lu__Recv_new_Buf__lu__FAIL
push str.Http
push 2
push str.CHttpResponseDataWriter::Write
push 0x197
push ebx
call fcn.00452950
add esp, 0x20
jmp 0x4f678c
push dword [esi + 0x20]
push dword [esi + 0x1c]
push eax
call sub.MSVCR80.dll_memcpy
push dword [esi + 0x1c]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0x10
add dword [esi + 0x20], edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 0xc]
lea edx, [eax + ecx]
cmp edx, dword [esi + 0x20]
jbe 0x4f68aa
push edi
push ecx
push dword [esi + 0x28]
push str.Id__lu__Error_the_One_PK__Len__lu____PKMAX__d__FAIL
push str.Http
push 2
push str.CHttpResponseDataWriter::Write
push 0x1a4
jmp 0x4f6813
push ecx
mov ecx, dword [esi + 0x1c]
push dword [ebp + 8]
add ecx, eax
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [ebp + 0xc]
add esp, 0xc
add dword [esi + 0x24], eax
jmp 0x4f67b9