Function at 0x47f7f0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov eax, dword [edi + 0xe8]
lea esi, [edi + 0x88]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov dword [esi + 0x64], eax
mov ecx, dword [edx]
push ecx
push 0xa
push eax
call dword [sym.imp.MSVCR80.dll_memchr]
add esp, 0xc
test eax, eax
mov dword [esi + 0x68], eax
mov ebx, edi
je 0x4805a6
mov edx, dword [esi + 0x60]
sub edx, eax
mov eax, dword [esp + 0x48]
sub edx, 1
add dword [eax], edx
mov eax, dword [esi + 0x68]
add eax, 1
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
push eax
call fcn.0047d650
add esp, 4
test eax, eax
jne 0x4807d7
mov eax, dword [esi + 0x58]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0xdf4]
xor ebx, ebx
cmp dword [esi + 0x54], ebx
mov dword [esi + 0x6c], ecx
jne 0x47f89a
mov ecx, dword [esi + 0x5c]
mov eax, dword [edi + 0xdf4]
push edi
mov edx, ebp
call fcn.0047d620
add esp, 4
cmp eax, 2
je 0x480622
mov eax, dword [esi + 0x6c]
mov cl, byte [eax]
cmp cl, 0xa
je 0x480262
cmp cl, 0xd
je 0x480267
mov ecx, dword [esi + 0x54]
cmp ecx, ebx
lea edx, [ecx + 1]
mov dword [esi + 0x54], edx
jne 0x47fb97
mov ecx, dword [ebp + 0x5c0]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x47f9f1
mov ebx, dword [esp + 0x44]
lea ebp, [esi + 0x78]
push ebp
lea edx, [esp + 0x44]
push edx
add ebx, 0x3e8
push ebx
lea ecx, [esp + 0x24]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x18
cmp eax, 1
jne 0x47f93a
cmp dword [esp + 0x18], 2
jl 0x480672
mov eax, dword [esi + 0x6c]
push ebp
lea edx, [esp + 0x18]
push edx
push str._HTTP__1_23___d
push eax
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x10
cmp eax, 2
jne 0x480672
mov dword [ebx], 0
mov byte [esp + 0x40], 0x20
jmp 0x47f94a
cmp eax, 4
jne 0x47f99f
cmp byte [esp + 0x40], 0x20
jne 0x480672
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [ebx], ecx
cmp dword [esi + 0x94], 2
mov eax, dword [ebx]
jne 0x47f973
cmp eax, 0x14
je 0x47f973
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.0045c170
add esp, 8
cmp dword [ebx], 0x14
jge 0x47fa63
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x740]
push str.Mark_bundle_as_not_supporting_multiuse_n
push edi
mov dword [eax], 0xffffffff
call fcn.0045c170
add esp, 8
jmp 0x47fa63
test eax, eax
jne 0x480672
mov ecx, dword [esi + 0x6c]
push ebp
push str._HTTP__3d
push ecx
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
mov dword [ebx], 0xa
jne 0x47fa63
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x5c]
push edx
mov eax, edi
call fcn.0047d580
add esp, 4
cmp eax, 1
jne 0x47fa58
mov dword [ebp], 0xc8
mov dword [ebx], 0xa
jmp 0x47fa63
test ecx, 0x40000
je 0x4806a3
mov ebx, dword [esp + 0x44]
lea ebp, [esi + 0x78]
push ebp
lea ecx, [esp + 0x17]
push ecx
add ebx, 0x3ec
push ebx
lea edx, [esp + 0x2c]
push edx
push str._RTSP__1d._1d_c_3d
push eax
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x18
cmp eax, 4
mov dword [esp + 0x1c], eax
jne 0x4806a3
cmp byte [esp + 0x13], 0x20
jne 0x4806a3
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
mov ebx, dword [esp + 0x44]
add ebx, 0x3e8
mov dword [ebx], 0xb
cmp dword [esp + 0x1c], 0
je 0x4806a3
mov ecx, dword [ebp]
mov eax, dword [edi + 0x1104]
test eax, eax
mov dword [edi + 0x11e0], ecx
mov edx, dword [ebx]
mov dword [edi + 0x11e8], edx
je 0x47fa82
cmp eax, dword [ebx]
jle 0x47fa8a
mov eax, dword [ebx]
mov dword [edi + 0x1104], eax
mov ecx, dword [edi + 0x1110]
or ecx, dword [edi + 0x1114]
mov ecx, 1
je 0x47fab6
cmp dword [edi + 0x858], ecx
jne 0x47fab6
cmp dword [ebp], 0x1a0
jne 0x47fab6
mov dword [esi + 0x50c], ecx
jmp 0x47faf9
cmp dword [edi + 0xb8c], 0
je 0x47faf9
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x47faf9
cmp eax, 0x191
jne 0x47fadd
mov edx, dword [esp + 0x44]
cmp dword [edx + 0x544], 0
jne 0x47faf9
cmp eax, 0x197
jne 0x48068d
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x548], 0
je 0x48068d
mov ebx, dword [ebx]
cmp ebx, 0xa
jne 0x47fb1c
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.0045c170
mov ecx, dword [esp + 0x4c]
push 1
push ecx
call fcn.00461b60
add esp, 0x10
jmp 0x47fb3f
cmp ebx, 0x14
je 0x47fb2f
cmp dword [esi + 0x94], ecx
jne 0x47fb3f
cmp dword [ebp], 0x65
jne 0x47fb3f
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x740]
mov dword [eax], 2
mov ebp, dword [ebp]
cmp ebp, 0x64
jl 0x47fb56
cmp ebp, 0xc8
jge 0x47fb56
mov eax, 1
jmp 0x47fb58
xor eax, eax
mov dword [esi + 0x510], eax
mov eax, ebp
sub eax, 0xcc
je 0x47fb80
sub eax, 0x64
jne 0x47fb97
cmp dword [edi + 0x84c], eax
je 0x47fb82
mov dword [edi + 0x12a0], 1
jmp 0x47fb82
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x510], 1
cmp dword [esi + 0x510], 0
jne 0x47fcea
cmp dword [edi + 0xbcc], 0
jne 0x47fcea
mov ecx, dword [esi + 0x6c]
push 0xf
push ecx
push str.Content_Length:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x47fcea
mov eax, dword [esi + 0x6c]
lea edx, [esp + 0x34]
push edx
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0048a190
add esp, 0x10
test eax, eax
jne 0x47fcb0
mov ebx, dword [edi + 0x968]
mov edx, dword [edi + 0x96c]
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, edx
mov ecx, dword [esp + 0x38]
je 0x47fc18
cmp ecx, edx
jg 0x4806b7
jl 0x47fc18
cmp eax, ebx
ja 0x4806b7
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.0046a9b0
add esp, 0xc
mov ebp, dword [esp + 0x44]
cmp dword [edi + 0xba0], 0
mov ebx, 2
je 0x47fc45
mov ebx, 3
cmp dword [edi + 0xbb4], 0
je 0x47fc61
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x6c]
push edx
push eax
push 1
push edi
call fcn.0045c0e0
add esp, 0x10
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x6c]
push ecx
push edx
push ebx
push ebp
call fcn.0045c6c0
add esp, 0x10
test eax, eax
jne 0x4807d7
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0x11f8], eax
adc dword [edi + 0x11fc], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xa8], eax
mov eax, dword [edi + 0xdf4]
adc dword [edi + 0xac], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
jmp 0x480567
cmp eax, 1
jne 0x4806d2
mov edx, dword [edi + 0x968]
or edx, dword [edi + 0x96c]
jne 0x4806b7
mov ebp, dword [esp + 0x44]
push 2
push ebp
call fcn.00461b60
push str.Overflow_Content_Length:_value__n
push edi
call fcn.0045c170
add esp, 0x10
jmp 0x47fc32
mov eax, dword [esi + 0x6c]
push 0xd
push eax
push str.Content_Type:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x47fd46
mov ecx, dword [esi + 0x6c]
push ecx
call fcn.0047c430
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4806ed
cmp byte [ebx], 0
jne 0x47fd2b
push ebx
call dword [0x5d203c]
add esp, 4
jmp 0x47fc2e
mov edx, dword [edi + 0x1214]
push edx
call dword [0x5d203c]
add esp, 4
mov dword [edi + 0x1214], ebx
jmp 0x47fc2e
mov ebp, dword [esp + 0x44]
mov ebx, 0xa
cmp dword [ebp + 0x3e8], ebx
jne 0x47fd95
cmp dword [ebp + 0x53c], 0
je 0x47fd95
mov eax, dword [esi + 0x6c]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.0047d130
add esp, 0xc
test eax, eax
je 0x47fd95
push 0
push ebp
call fcn.00461b60
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.0045c170
add esp, 0x10
jmp 0x47fc32
cmp dword [ebp + 0x3e8], 0xb
jne 0x47fddc
cmp dword [ebp + 0x53c], 0
je 0x47fddc
mov ecx, dword [esi + 0x6c]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.0047d130
add esp, 0xc
test eax, eax
je 0x47fddc
push 1
push ebp
call fcn.00461b60
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.0045c170
add esp, 0x10
jmp 0x47fc32
cmp dword [ebp + 0x3e8], ebx
jne 0x47fe19
mov edx, dword [esi + 0x6c]
push str.keep_alive
push str.Connection:
push edx
call fcn.0047d130
add esp, 0xc
test eax, eax
je 0x47fe19
push 0
push ebp
call fcn.00461b60
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.0045c170
add esp, 0x10
jmp 0x47fc32
mov eax, dword [esi + 0x6c]
push str.close
push str.Connection:
push eax
call fcn.0047d130
add esp, 0xc
test eax, eax
je 0x47fe43
push 2
push ebp
call fcn.00461b60
add esp, 8
jmp 0x47fc32
cmp dword [esi + 0x510], 0
jne 0x47feb6
mov ecx, dword [esi + 0x6c]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x47fe6e
mov edx, dword [esi + 0x6c]
push 1
add edx, 0x12
push edx
jmp 0x47fea0
cmp dword [esi + 0x510], 0
jne 0x47feb6
mov eax, dword [esi + 0x6c]
push 0x11
push eax
push str.Content_Encoding:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x47feb6
cmp dword [edi + 0x9c0], 0
je 0x47feb6
mov ecx, dword [esi + 0x6c]
push 0
add ecx, 0x11
push ecx
push ebp
call fcn.004634d0
add esp, 0xc
test eax, eax
jne 0x4807d7
jmp 0x47fc32
mov edx, dword [esi + 0x6c]
push 0xc
push edx
push str.Retry_After:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x47ff44
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x6c]
add eax, 0xc
push eax
call fcn.0048a100
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
mov ebp, edx
jne 0x47ff24
cmp ebp, eax
jne 0x47ff24
mov edx, dword [esi + 0x6c]
lea ecx, [esp + 0x2c]
push ecx
push 0xa
add edx, 0xc
push 0
push edx
call fcn.0048a190
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
add esp, 0x10
mov dword [edi + 0x1220], ebx
mov dword [edi + 0x1224], ebp
jmp 0x47fc2e
push 0
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
sub ebx, eax
sbb ebp, edx
mov dword [edi + 0x1220], ebx
mov dword [edi + 0x1224], ebp
jmp 0x47fc2e
cmp dword [esi + 0x510], 0
jne 0x480008
mov eax, dword [esi + 0x6c]
push 0xe
push eax
push str.Content_Range:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x480008
mov ebx, dword [esi + 0x6c]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x47ff9f
lea esp, [esp]
movzx ecx, al
push ecx
call fcn.0048b7c0
add esp, 4
test eax, eax
jne 0x47ff9f
cmp byte [ebx], 0x2a
je 0x47ff9f
mov al, byte [ebx + 1]
add ebx, 1
test al, al
jne 0x47ff80
movzx edx, byte [ebx]
push edx
call fcn.0048b7c0
add esp, 4
test eax, eax
je 0x47fff5
lea ebp, [esi + 0x70]
push ebp
push 0xa
push 0
push ebx
call fcn.0048a190
add esp, 0x10
test eax, eax
jne 0x47fc2e
mov eax, dword [edi + 0x1110]
cmp eax, dword [ebp]
jne 0x47fc2e
mov ecx, dword [edi + 0x1114]
cmp ecx, dword [ebp + 4]
jne 0x47fc2e
mov dword [esi + 0x504], 1
jmp 0x47fc2e
xor eax, eax
mov dword [edi + 0x1110], eax
mov dword [edi + 0x1114], eax
jmp 0x47fc32
cmp dword [edi + 0xc44], 0
je 0x48008d
cmp dword [edi + 0x11b0], 0
je 0x48008d
mov edx, dword [esi + 0x6c]
push 0xb
push edx
push str.Set_Cookie:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x48008d
push 2
push 2
push edi
call fcn.004631a0
mov eax, dword [ebp + 0x608]
add esp, 0xc
test eax, eax
jne 0x48004e
mov eax, dword [ebp + 0x304]
mov ecx, dword [ebp + 0x5c0]
mov edx, dword [ecx + 0x40]
mov ecx, dword [edi + 0x1160]
shr edx, 1
and edx, 1
push edx
mov edx, dword [esi + 0x6c]
push ecx
push eax
mov eax, dword [edi + 0xc44]
add edx, 0xb
push edx
push 0
push 1
push eax
push edi
call fcn.0045f310
push 2
push edi
call fcn.004631e0
add esp, 0x28
jmp 0x47fc32
cmp dword [esi + 0x510], 0
jne 0x4800fe
mov ecx, dword [esi + 0x6c]
push 0xe
push ecx
push str.Last_Modified:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x4800fe
cmp dword [edi + 0x84c], 0
jne 0x4800bf
cmp dword [edi + 0xb60], 0
je 0x4800fe
mov edx, dword [esi + 0x6c]
add edx, 0xe
push edx
call fcn.0048a100
add esp, 4
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
cmp dword [edi + 0xb60], 0
je 0x47fc32
mov dword [edi + 0x11f0], eax
mov ecx, dword [esi + 0xa4]
mov dword [edi + 0x11f4], ecx
jmp 0x47fc32
mov edx, dword [esi + 0x6c]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x48011f
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x480140
mov eax, dword [esi + 0x6c]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x480195
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x480195
mov edx, dword [esi + 0x6c]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov dword [esp + 0x20], ecx
call fcn.0047c430
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4806ed
mov eax, dword [esp + 0x1c]
push ebx
push eax
push ebp
call fcn.0047caf0
push ebx
mov dword [esp + 0x2c], eax
call dword [0x5d203c]
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x47fc32
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x480235
cmp eax, 0x190
jge 0x480235
mov ecx, dword [esi + 0x6c]
push 9
push ecx
push str.Location:
call fcn.00463190
add esp, 0xc
test eax, eax
je 0x480235
cmp dword [edi + 0x13c], 0
jne 0x480235
mov edx, dword [esi + 0x6c]
push edx
call fcn.0047c430
add esp, 4
test eax, eax
je 0x4806ed
cmp byte [eax], 0
jne 0x4801f6
push eax
call dword [0x5d203c]
add esp, 4
jmp 0x47fc32
cmp dword [edi + 0xb94], 0
mov dword [edi + 0x13c], eax
je 0x47fc32
push eax
call dword [0x5d2044]
add esp, 4
test eax, eax
mov dword [edi + 0x140], eax
je 0x4806ed
mov ebx, ebp
call fcn.0047c6e0
test eax, eax
jne 0x4807d7
jmp 0x47fc32
mov eax, dword [ebp + 0x5c0]
test dword [eax + 0x40], 0x40000
je 0x47fc32
mov ecx, dword [esi + 0x6c]
push ecx
push ebp
call fcn.0046c820
add esp, 8
test eax, eax
jne 0x4807d7
jmp 0x47fc32
cmp cl, 0xd
jne 0x48026d
add eax, 1
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x48027b
add eax, 1
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4802eb
cmp eax, 0xc7
jg 0x4802eb
sub eax, 0x64
je 0x4802bd
mov ecx, 1
sub eax, ecx
je 0x4802a6
mov dword [esi + 0x500], ecx
mov dword [esi + 0x54], ebx
jmp 0x480342
cmp dword [esi + 0x94], ecx
je 0x480578
mov dword [esi + 0x500], ebx
jmp 0x480342
cmp dword [esi + 0x90], ebx
mov dword [esi + 0x500], 1
mov dword [esi + 0x54], ebx
jle 0x480342
or dword [esi + 0xb0], 2
push ebx
push edi
mov dword [esi + 0x90], ebx
call fcn.00459f90
add esp, 8
jmp 0x480342
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x500], ebx
cmp ecx, 0xffffffff
jne 0x480342
cmp dword [esi + 0x514], ebx
jne 0x480342
cmp dword [ebp + 0x524], ebx
jne 0x48034a
cmp dword [ebp + 0x3e8], 0xb
jne 0x480342
mov edx, dword [ebp + 0x5c0]
test dword [edx + 0x40], 0x40000
jne 0x480342
cmp dword [edi + 0x858], 6
je 0x480342
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.0045c170
push 2
push ebp
call fcn.00461b60
add esp, 0x10
cmp dword [ebp + 0x524], ebx
je 0x480388
mov eax, dword [edi + 0x100]
cmp eax, 0x191
jne 0x480360
cmp dword [ebp + 0x62c], 2
je 0x480370
cmp eax, 0x197
jne 0x480388
cmp dword [ebp + 0x630], 2
jne 0x480388
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.0045c170
add esp, 8
mov dword [edi + 0x1188], 1
mov edx, ebp
call fcn.0047cca0
test eax, eax
jne 0x4806fa
cmp dword [edi + 0xba0], ebx
lea ecx, [eax + 2]
je 0x4803a5
lea ecx, [eax + 3]
mov eax, dword [edi + 0xdf4]
mov ebx, dword [esi + 0x6c]
sub ebx, eax
push ebx
push eax
push ecx
push ebp
mov dword [esp + 0x2c], ebx
call fcn.0045c6c0
add esp, 0x10
test eax, eax
jne 0x4807d7
mov eax, ebx
cdq
add dword [edi + 0x11f8], eax
adc dword [edi + 0x11fc], edx
add dword [edi + 0xa8], eax
adc dword [edi + 0xac], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x480400
cmp eax, 0xc7
jg 0x480400
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
jmp 0x480404
xor eax, eax
xor ecx, ecx
push ebp
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], ecx
call fcn.0047d7a0
xor ebx, ebx
add esp, 4
cmp eax, ebx
jne 0x4807d7
cmp dword [esi + 0x78], 0x12c
jl 0x48054f
cmp dword [ebp + 0x564], ebx
jne 0x480532
cmp dword [ebp + 0x524], ebx
jne 0x480532
cmp dword [ebp + 0x568], ebx
jne 0x48053a
mov eax, dword [edi + 0x858]
add eax, 0xfffffffe
cmp eax, 3
ja 0x480532
push ebx
push edi
call fcn.00459f90
add esp, 8
cmp dword [esi + 0x508], ebx
jne 0x480532
cmp dword [esi + 0x78], 0x1a1
jne 0x4804c4
cmp dword [edi + 0x1194], ebx
je 0x4804c4
push str.Got_417_while_waiting_for_a_100_n
push edi
call fcn.0045c170
mov dword [edi + 0x1198], 1
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc28]
push ecx
call dword [0x5d2044]
push esi
push ebp
mov dword [edi + 0x140], eax
call fcn.00485300
add esp, 0x14
jmp 0x480532
cmp dword [edi + 0xb90], ebx
je 0x4804f1
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.0045c170
add esp, 8
cmp dword [esi + 0x90], ebx
jle 0x480532
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], ebx
jmp 0x480532
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.0045c170
push 2
push ebp
call fcn.00461b60
push esi
push ebp
call fcn.00485300
add esp, 0x18
cmp eax, ebx
jne 0x4807d7
mov dword [esi + 0x508], 1
cmp dword [edi + 0x1194], ebx
je 0x480532
mov dword [esi + 0x90], 3
cmp dword [ebp + 0x568], ebx
je 0x48054f
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.0045c170
add esp, 8
or dword [esi + 0xb0], 2
cmp dword [esi + 0x500], ebx
je 0x480719
mov edx, dword [edi + 0xdf4]
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x60]
cmp byte [eax], 0
je 0x4807d5
jmp 0x47f815
push str.Received_101_n
push edi
call fcn.0045c170
add esp, 8
pop edi
mov eax, 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x94], 2
mov dword [esi + 0x500], eax
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push ecx
call fcn.0047d650
add esp, 4
test eax, eax
jne 0x4807d7
cmp dword [esi + 0x54], eax
jne 0x4807d5
mov ecx, dword [esi + 0x5c]
mov eax, dword [edi + 0xdf4]
push edi
mov edx, ebp
call fcn.0047d620
add esp, 4
cmp eax, 2
jne 0x4807d5
push eax
push ebp
mov dword [esi + 0x500], 0
mov dword [esi + 0x50], eax
call fcn.00461b60
add esp, 8
cmp dword [edi + 0xc20], 0
jne 0x4807d5
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.0045c260
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret
push 2
push ebp
call fcn.00461b60
add esp, 8
cmp dword [edi + 0xc20], ebx
je 0x480607
mov eax, dword [esp + 0x48]
mov dword [esi + 0x500], ebx
cmp dword [eax], ebx
je 0x480654
pop edi
mov dword [esi + 0x50], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
mov edx, dword [esp + 0x24]
mov dword [esi + 0x50], 2
mov dword [eax], edx
mov eax, dword [esp + 0x28]
pop edi
mov dword [esi + 0x60], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
push str.Unsupported_HTTP_version_in_response
push edi
call fcn.0045c260
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret
push edi
call fcn.0047d700
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x2c
ret
pop edi
mov dword [esi + 0x500], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.0045c260
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x2c
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.0045c260
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esi + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.0045c260
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x2c
ret
cmp dword [edi + 0xbac], ebx
mov ebx, dword [esp + 0x4c]
je 0x480730
mov dword [ebx], 1
or edx, 0xffffffff
jmp 0x480775
mov edx, dword [ebp + 0x5c0]
test dword [edx + 0x40], 0x40000
je 0x48075e
cmp dword [edi + 0xae4], 2
jne 0x48075e
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x480761
jl 0x480756
cmp dword [esi], edx
ja 0x480761
mov dword [ebx], 1
jmp 0x480775
or edx, 0xffffffff
cmp dword [esi + 0x514], 0
je 0x480775
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov eax, dword [esi]
cmp eax, edx
mov ecx, dword [esi + 4]
jne 0x480782
cmp ecx, edx
je 0x480798
push ecx
push eax
push edi
call fcn.0046a9b0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
cmp dword [esi + 8], 0
jne 0x4807ac
cmp dword [esi + 0xc], 0
jne 0x4807ac
mov dword [ebx], 1
jmp 0x4807b1
cmp dword [ebx], 0
je 0x4807b8
and dword [esi + 0xb0], 0xfffffffe
cmp dword [edi + 0xbb4], 0
je 0x4807d5
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x64]
push edx
push eax
push 1
push edi
call fcn.0045c0e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret