Function at 0x487342
Capabilities:
Write file on windows

Disassembly:
push 0x18
mov eax, 0x4d4aed
call fcn.004cbc30
mov esi, ecx
push 0x4dcd18
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.0045ba29
add esp, 0x1c
xor ecx, ecx
cmp dword [ebp + 8], ecx
mov dword [ebp - 4], ecx
je 0x487423
cmp dword [ebp + 0xc], ecx
je 0x487423
cmp dword [esi], ecx
je 0x487455
cmp dword [esi + 0xc], ecx
jne 0x4873b2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0045baa8
xor eax, eax
call fcn.004cbd08
ret 8
cmp dword [esi + 0x10], ecx
jne 0x4873cb
mov edi, 0x2800
push edi
call fcn.004cb568
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 0x487438
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 0x48740c
push dword [esi + 0xc]
push eax
push 1
push dword [esi + 0x10]
call edi
add esp, 0x10
cmp eax, dword [esi + 0x18]
jne 0x48739c
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 0x487425
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0045baa8
mov eax, esi
jmp 0x4873aa
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 0x487425
cmp dword [esi + 0x1c], ecx
mov edi, 0x2800
jne 0x48746f
push edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ecx
call fcn.004cb568
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 0x487513
lea ecx, [eax + 0x2800]
mov eax, 0x61a8000
cmp ecx, eax
jbe 0x4874b8
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.00442b40
add esp, 0x24
jmp 0x487423
push ecx
call fcn.004cb568
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jne 0x4874f3
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.00442b40
add esp, 0x20
jmp 0x487423
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 0x487541
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 0x4874aa
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 0x487450