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

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
mov edi, dword [esp + 0x4c]
lea esi, [ebx + 0x98]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], eax
mov dword [esi + 0x64], eax
push dword [edi]
push 0xa
push eax
call dword [sym.imp.MSVCR110.dll_memchr]
add esp, 0xc
mov dword [esi + 0x68], eax
test eax, eax
je 0x5245e6
mov ecx, dword [esi + 0x60]
sub ecx, eax
dec ecx
add dword [edi], ecx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
push eax
push esi
push ebx
call fcn.00524960
add esp, 0xc
test eax, eax
jne 0x524411
cmp dword [esi + 0x54], 0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 0xc64]
mov dword [esi + 0x6c], eax
jne 0x523728
mov eax, dword [ebp + 0x2c8]
mov ecx, dword [esi + 0x5c]
test dword [eax + 0x40], 0x40000
mov edx, dword [ebx + 0xc64]
je 0x523714
cmp ecx, 5
sbb edi, edi
inc edi
cmp ecx, 5
mov eax, 5
cmova ecx, eax
push ecx
push edx
push str.RTSP_
call fcn.0051bea0
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [esp + 0x4c]
jmp 0x52371f
push ecx
push edx
push ebx
call fcn.00524760
add esp, 0xc
cmp eax, 2
je 0x5243e1
mov edx, dword [esi + 0x6c]
mov al, byte [edx]
cmp al, 0xa
je 0x524076
cmp al, 0xd
je 0x52407a
mov ecx, dword [esi + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x54], eax
test ecx, ecx
jne 0x523a0a
mov eax, dword [ebp + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x523873
lea eax, [esi + 0x78]
push eax
lea eax, [esp + 0x48]
push eax
lea edi, [ebp + 0x180]
push edi
lea eax, [esp + 0x20]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call dword [sym.imp.MSVCR110.dll_sscanf]
add esp, 0x18
cmp eax, 1
jne 0x5237be
cmp dword [esp + 0x14], 2
jne 0x524437
lea eax, [esi + 0x78]
push eax
push str._HTTP_2__d
push dword [esi + 0x6c]
call dword [sym.imp.MSVCR110.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x524437
mov dword [edi], 0
mov byte [esp + 0x44], 0x20
jmp 0x5237ce
cmp eax, 4
jne 0x523821
cmp byte [esp + 0x44], 0x20
jne 0x524437
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x94], 2
jne 0x5237f9
cmp dword [edi], 0x14
je 0x5238d1
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00517d30
add esp, 8
cmp dword [edi], 0x14
jge 0x5238d1
mov eax, dword [ebp + 0x58c]
push str.Mark_bundle_as_not_supporting_multiuse_n
push ebx
mov dword [eax], 0xffffffff
call fcn.00517d30
add esp, 8
jmp 0x5238d1
test eax, eax
jne 0x524437
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x6c]
call dword [sym.imp.MSVCR110.dll_sscanf]
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x5238d1
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push ebx
call fcn.00524760
add esp, 0xc
cmp eax, 1
jne 0x524468
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x5238d1
test eax, 0x40000
je 0x524468
lea eax, [esi + 0x78]
push eax
lea eax, [esp + 0x17]
push eax
lea edi, [ebp + 0x184]
push edi
lea eax, [esp + 0x24]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call dword [sym.imp.MSVCR110.dll_sscanf]
add esp, 0x18
cmp eax, 4
jne 0x524468
cmp byte [esp + 0x13], 0x20
jne 0x524468
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x180], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebp + 0x180]
mov eax, dword [esi + 0x78]
mov dword [ebx + 0xfb0], eax
mov eax, dword [edi]
mov dword [ebx + 0xfb8], eax
mov eax, dword [ebx + 0xf14]
test eax, eax
je 0x5238f0
cmp eax, dword [edi]
jle 0x5238f8
mov eax, dword [edi]
mov dword [ebx + 0xf14], eax
mov eax, dword [ebx + 0xf20]
or eax, dword [ebx + 0xf24]
je 0x523921
cmp dword [ebx + 0x838], 1
jne 0x523921
cmp dword [esi + 0x78], 0x1a0
jne 0x523921
or dword [esi + 0x500], 8
jmp 0x523962
test dword [ebx + 0xa9c], 0x100000
je 0x523962
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x523962
cmp eax, 0x191
jne 0x523947
test byte [ebp + 0x2a4], 0x80
jne 0x523962
cmp eax, 0x197
jne 0x524452
test dword [ebp + 0x2a4], 0x100
je 0x524452
mov eax, dword [edi]
cmp eax, 0xa
jne 0x523981
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00517d30
push 1
push ebp
call fcn.00518750
add esp, 0x10
jmp 0x5239a1
cmp eax, 0x14
je 0x523995
cmp dword [esi + 0x94], 1
jne 0x5239a1
cmp dword [esi + 0x78], 0x65
jne 0x5239a1
mov eax, dword [ebp + 0x58c]
mov dword [eax], 2
mov ecx, dword [esi + 0x78]
cmp ecx, 0x64
jl 0x5239b8
cmp ecx, 0xc8
jge 0x5239b8
mov eax, 1
jmp 0x5239ba
xor eax, eax
shl eax, 4
xor eax, dword [esi + 0x500]
and eax, 0x10
xor dword [esi + 0x500], eax
sub ecx, 0xcc
je 0x5239e8
sub ecx, 0x64
jne 0x523a0a
cmp dword [ebx + 0x82c], ecx
je 0x5239e8
or dword [ebx + 0x1064], 1
or dword [esi + 0x500], 0x10
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test byte [esi + 0x500], 0x10
jne 0x523ad7
test byte [ebx + 0xaa0], 0x10
jne 0x523ad7
push 0xf
push dword [esi + 0x6c]
push str.Content_Length:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523ad7
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x6c]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.00527990
add esp, 0x10
test eax, eax
jne 0x523aa1
mov edi, dword [ebx + 0x908]
mov edx, dword [ebx + 0x90c]
mov ecx, dword [esp + 0x2c]
mov eax, edi
or eax, edx
mov eax, dword [esp + 0x28]
je 0x523a86
cmp ecx, edx
jg 0x524479
jl 0x523a86
cmp eax, edi
ja 0x524479
push ecx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.00525e90
add esp, 0xc
jmp 0x524009
cmp eax, 1
jne 0x524494
mov eax, dword [ebx + 0x908]
or eax, dword [ebx + 0x90c]
jne 0x524479
push 2
push ebp
call fcn.00518750
push str.Overflow_Content_Length:_value__n
push ebx
call fcn.00517d30
add esp, 0x10
jmp 0x524009
push 0xd
push dword [esi + 0x6c]
push str.Content_Type:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523b30
push dword [esi + 0x6c]
call fcn.00522f80
mov edi, eax
add esp, 4
test edi, edi
je 0x5244af
cmp byte [edi], 0
jne 0x523b16
push edi
call dword [0x5ca754]
add esp, 4
jmp 0x524009
push dword [ebx + 0xfe4]
call dword [0x5ca754]
add esp, 4
mov dword [ebx + 0xfe4], edi
jmp 0x524009
cmp dword [ebp + 0x180], 0xa
jne 0x523b76
test byte [ebp + 0x2a4], 0x20
je 0x523b76
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x6c]
call fcn.00522eb0
add esp, 0xc
test eax, eax
je 0x523b76
push 0
push ebp
call fcn.00518750
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.00517d30
add esp, 0x10
jmp 0x524009
cmp dword [ebp + 0x180], 0xb
jne 0x523bbc
test byte [ebp + 0x2a4], 0x20
je 0x523bbc
push str.close
push str.Proxy_Connection:
push dword [esi + 0x6c]
call fcn.00522eb0
add esp, 0xc
test eax, eax
je 0x523bbc
push 1
push ebp
call fcn.00518750
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.00517d30
add esp, 0x10
jmp 0x524009
cmp dword [ebp + 0x180], 0xa
jne 0x523bf9
push str.keep_alive
push str.Connection:
push dword [esi + 0x6c]
call fcn.00522eb0
add esp, 0xc
test eax, eax
je 0x523bf9
push 0
push ebp
call fcn.00518750
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.00517d30
add esp, 0x10
jmp 0x524009
push str.close
push str.Connection:
push dword [esi + 0x6c]
call fcn.00522eb0
add esp, 0xc
test eax, eax
je 0x523c22
push 2
push ebp
call fcn.00518750
add esp, 8
jmp 0x524009
test byte [esi + 0x500], 0x10
jne 0x523d5b
push 0x12
push dword [esi + 0x6c]
push str.Transfer_Encoding:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523c5c
mov eax, dword [esi + 0x6c]
push 1
add eax, 0x12
push eax
push ebp
call fcn.0051c060
add esp, 0xc
jmp 0x524001
test byte [esi + 0x500], 0x10
jne 0x523d5b
push 0x11
push dword [esi + 0x6c]
push str.Content_Encoding:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523c9f
cmp dword [ebx + 0x960], 0
je 0x523c9f
mov eax, dword [esi + 0x6c]
push 0
add eax, 0x11
push eax
push ebp
call fcn.0051c060
add esp, 0xc
jmp 0x524001
test byte [esi + 0x500], 0x10
jne 0x523d5b
push 0xe
push dword [esi + 0x6c]
push str.Content_Range:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523d5b
mov edi, dword [esi + 0x6c]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x523cef
movzx eax, al
push eax
call fcn.0051c390
add esp, 4
test eax, eax
jne 0x523cef
cmp byte [edi], 0x2a
je 0x523cef
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x523cd2
movzx eax, byte [edi]
push eax
call fcn.0051c390
add esp, 4
test eax, eax
je 0x523d42
lea eax, [esi + 0x70]
push eax
push 0xa
push 0
push edi
call fcn.00527990
add esp, 0x10
test eax, eax
jne 0x524009
mov eax, dword [ebx + 0xf20]
cmp eax, dword [esi + 0x70]
jne 0x524009
mov eax, dword [ebx + 0xf24]
cmp eax, dword [esi + 0x74]
jne 0x524009
or dword [esi + 0x500], 2
jmp 0x524009
mov dword [ebx + 0xf20], 0
mov dword [ebx + 0xf24], 0
jmp 0x524009
cmp dword [ebx + 0xabc], 0
je 0x523dd4
push 0xb
push dword [esi + 0x6c]
push str.Set_Cookie:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523dd4
push 2
push 2
push ebx
call fcn.0051c2b0
mov ecx, dword [ebp + 0x310]
add esp, 0xc
test ecx, ecx
jne 0x523d97
mov ecx, dword [ebp + 0x9c]
mov eax, dword [ebp + 0x2c8]
mov eax, dword [eax + 0x40]
shr eax, 1
and eax, 1
push eax
push dword [ebx + 0xf70]
mov eax, dword [esi + 0x6c]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [ebx + 0xabc]
push ebx
call fcn.0050beb0
push 2
push ebx
call fcn.0051c2f0
add esp, 0x28
jmp 0x524009
test byte [esi + 0x500], 0x10
jne 0x523e63
push 0xe
push dword [esi + 0x6c]
push str.Last_Modified:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523e63
cmp dword [ebx + 0x82c], 0
jne 0x523e0c
test dword [ebx + 0xa9c], 0x200
je 0x523e63
push 0
call dword [sym.imp.MSVCR110.dll__time64]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0x6c]
add eax, 0xe
push eax
mov dword [esp + 0x40], edx
call fcn.00527200
add esp, 0xc
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
test dword [ebx + 0xa9c], 0x200
je 0x524009
mov dword [ebx + 0xfc0], eax
mov eax, dword [esi + 0xa4]
mov dword [ebx + 0xfc4], eax
jmp 0x524009
push 0x11
push dword [esi + 0x6c]
push str.WWW_Authenticate:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523e83
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x523ea3
push 0x13
push dword [esi + 0x6c]
push str.Proxy_authenticate:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523ee8
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x523ee8
push dword [esi + 0x6c]
xor ecx, ecx
cmp eax, 0x197
sete cl
mov dword [esp + 0x20], ecx
call fcn.00522f80
mov edi, eax
add esp, 4
test edi, edi
je 0x5244af
push edi
push dword [esp + 0x20]
push ebp
call fcn.00523300
push edi
mov dword [esp + 0x2c], eax
call dword [0x5ca754]
mov eax, dword [esp + 0x2c]
add esp, 0x10
jmp 0x524001
push 0xf
push dword [esi + 0x6c]
push str.Persistent_Auth
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523f59
cmp dword [ebx + 0xcec], 4
jne 0x524009
push dword [esi + 0x6c]
call fcn.00522f80
mov edi, eax
add esp, 4
test edi, edi
je 0x5244af
push 5
push edi
push str.false
call fcn.0051bea0
push edi
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push ebx
mov dword [ebp + 0x43c], eax
mov dword [ebp + 0x440], 1
call fcn.00517d30
push edi
call dword [0x5ca754]
add esp, 0x20
jmp 0x524009
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x523fe6
cmp eax, 0x190
jge 0x523fe6
push 9
push dword [esi + 0x6c]
push str.Location:
call fcn.0051bea0
add esp, 0xc
test eax, eax
je 0x523fe6
cmp dword [ebx + 0x14c], 0
jne 0x523fe6
push dword [esi + 0x6c]
call fcn.00522f80
add esp, 4
test eax, eax
je 0x5244af
cmp byte [eax], 0
jne 0x523fb1
push eax
call dword [0x5ca754]
add esp, 4
jmp 0x524009
test dword [ebx + 0xa9c], 0x400000
mov dword [ebx + 0x14c], eax
je 0x524009
push eax
call dword [0x5ca75c]
add esp, 4
mov dword [ebx + 0x150], eax
test eax, eax
je 0x5244af
push ebp
call fcn.00524b70
add esp, 4
jmp 0x524001
mov eax, dword [ebp + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x524009
push dword [esi + 0x6c]
push ebp
call fcn.0053b070
add esp, 8
test eax, eax
jne 0x524411
mov eax, dword [ebx + 0xa9c]
test eax, 0x2000000
mov edi, 2
mov ecx, 3
cmovne edi, ecx
test eax, 0x40000000
je 0x524039
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push 1
push ebx
call fcn.00517bb0
add esp, 0x10
push dword [esi + 0x5c]
push dword [esi + 0x6c]
push edi
push ebp
call fcn.00517b80
add esp, 0x10
test eax, eax
jne 0x524411
mov eax, dword [esi + 0x5c]
cdq
add dword [ebx + 0xfc8], eax
adc dword [ebx + 0xfcc], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [ebx + 0xb8], eax
adc dword [ebx + 0xbc], edx
jmp 0x5243c0
cmp al, 0xd
jne 0x524080
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x52408c
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x524104
cmp eax, 0xc7
jg 0x524104
sub eax, 0x64
je 0x5240cf
dec eax
je 0x5240b6
or dword [esi + 0x500], 1
mov dword [esi + 0x54], 0
jmp 0x52415e
cmp dword [esi + 0x94], 1
je 0x5244bc
and dword [esi + 0x500], 0xfffffffe
jmp 0x52415e
or dword [esi + 0x500], 1
cmp dword [esi + 0x90], 0
mov dword [esi + 0x54], 0
jle 0x52415e
or dword [esi + 0xb0], 2
push 0
push ebx
mov dword [esi + 0x90], 0
call fcn.005091d0
add esp, 8
jmp 0x52415e
mov eax, dword [esi]
and eax, dword [esi + 4]
and dword [esi + 0x500], 0xfffffffe
cmp eax, 0xffffffff
jne 0x52415e
test byte [esi + 0x500], 0x20
jne 0x52415e
test byte [ebp + 0x2a4], 1
jne 0x52416b
cmp dword [ebp + 0x180], 0xb
jne 0x52415e
mov eax, dword [ebp + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x52415e
cmp dword [ebx + 0x838], 6
je 0x52415e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.00517d30
push 2
push ebp
call fcn.00518750
add esp, 0x10
test byte [ebp + 0x2a4], 1
je 0x5241ea
mov eax, dword [ebx + 0x110]
cmp eax, 0x191
jne 0x524181
cmp dword [ebp + 0x36c], 2
je 0x524191
cmp eax, 0x197
jne 0x5241a6
cmp dword [ebp + 0x370], 2
jne 0x5241a6
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.00517d30
add esp, 8
or dword [ebx + 0xf84], 0x20
test byte [ebp + 0x2a4], 1
je 0x5241ea
mov eax, dword [ebx + 0x110]
cmp eax, 0x191
jne 0x5241c5
cmp dword [ebp + 0x3f4], 1
je 0x5241d5
cmp eax, 0x197
jne 0x5241ea
cmp dword [ebp + 0x3f8], 1
jne 0x5241ea
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.00517d30
add esp, 8
or dword [ebx + 0xf84], 0x20
cmp dword [ebp + 0x3f4], 3
jne 0x524209
cmp dword [ebx + 0x110], 0x191
je 0x524209
mov dword [ebp + 0x3f4], 4
cmp dword [ebp + 0x3f8], 3
jne 0x524228
cmp dword [ebx + 0x110], 0x197
je 0x524228
mov dword [ebp + 0x3f8], 4
push ebp
call fcn.00524dd0
add esp, 4
test eax, eax
jne 0x5245c8
test dword [ebx + 0xa9c], 0x2000000
mov edi, dword [esi + 0x6c]
mov eax, 3
mov ecx, 2
cmovne ecx, eax
mov eax, dword [ebx + 0xc64]
sub edi, eax
push edi
push eax
push ecx
push ebp
mov dword [esp + 0x2c], edi
call fcn.00517b80
add esp, 0x10
test eax, eax
jne 0x524411
mov eax, edi
cdq
add dword [ebx + 0xfc8], eax
adc dword [ebx + 0xfcc], edx
add dword [ebx + 0xb8], eax
adc dword [ebx + 0xbc], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x5242ab
cmp eax, 0xc7
jg 0x5242ab
mov eax, dword [ebx + 0xb8]
mov ecx, dword [ebx + 0xbc]
jmp 0x5242bc
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebp
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], ecx
call fcn.00523040
add esp, 4
test eax, eax
jne 0x524411
cmp dword [esi + 0x78], 0x12c
jl 0x5243b3
mov eax, dword [ebp + 0x2a4]
test eax, 0x18000
jne 0x524395
test al, 1
jne 0x524395
mov eax, dword [ebx + 0x838]
add eax, 0xfffffffe
cmp eax, 3
ja 0x524395
push 0
push ebx
call fcn.005091d0
add esp, 8
test byte [esi + 0x500], 4
jne 0x524395
test dword [ebx + 0xa9c], 0x200000
je 0x52435b
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.00517d30
add esp, 8
cmp dword [esi + 0x90], 0
jle 0x524395
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], 0
jmp 0x524395
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.00517d30
push 2
push ebp
call fcn.00518750
or dword [esi + 0x500], 4
and dword [esi + 0xb0], 0xfffffffd
add esp, 0x10
test dword [ebx + 0xf84], 0x100
je 0x524395
mov dword [esi + 0x90], 3
test byte [ebp + 0x2a6], 1
je 0x5243b3
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.00517d30
add esp, 8
or dword [esi + 0xb0], 2
test byte [esi + 0x500], 1
je 0x5244ef
mov eax, dword [ebx + 0xc64]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
cmp byte [eax], 0
je 0x52440f
mov edi, dword [esp + 0x4c]
jmp 0x523676
push 2
push ebp
call fcn.00518750
add esp, 8
test dword [ebx + 0xaa0], 0x4000000
je 0x524643
and dword [esi + 0x500], 0xfffffffe
cmp dword [edi], 0
je 0x524419
mov dword [esi + 0x50], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x20]
mov dword [esi + 0x50], 2
mov dword [edi], eax
mov eax, dword [esp + 0x24]
pop edi
mov dword [esi + 0x60], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
push str.Unsupported_HTTP_version_in_response_n
push ebx
call fcn.00517c40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push ebx
call fcn.00525060
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
and dword [esi + 0x500], 0xfffffffe
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.00517c40
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Invalid_Content_Length:_value
push ebx
call fcn.00517c40
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x30
ret
push str.Received_101_n
push ebx
call fcn.00517d30
add esp, 8
or dword [esi + 0x500], 1
pop edi
mov dword [esi + 0x94], 2
mov dword [esi + 0x54], 0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret
test dword [ebx + 0xa9c], 0x10000000
mov edi, dword [esp + 0x50]
je 0x524507
mov dword [edi], 1
jmp 0x524558
mov eax, dword [ebp + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x524534
cmp dword [ebx + 0xa44], 2
jne 0x524534
cmp dword [esi + 4], 0xffffffff
jg 0x524534
jl 0x52452c
cmp dword [esi], 0xffffffff
ja 0x524534
mov dword [edi], 1
jmp 0x524558
test byte [esi + 0x500], 0x20
je 0x524558
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x524566
cmp eax, ecx
je 0x52457c
push eax
push ecx
push ebx
call fcn.00525e90
mov eax, dword [esi]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
jne 0x524590
cmp dword [esi + 0xc], 0
jne 0x524590
mov dword [edi], 1
jmp 0x524595
cmp dword [edi], 0
je 0x52459c
and dword [esi + 0xb0], 0xfffffffe
test dword [ebx + 0xa9c], 0x40000000
je 0x52440f
push dword [esp + 0x1c]
push dword [esi + 0x64]
push 1
push ebx
call fcn.00517bb0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.00517c40
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [edi]
push esi
push ebx
call fcn.00524960
add esp, 0xc
test eax, eax
jne 0x524411
cmp dword [esi + 0x54], eax
jne 0x52440f
push dword [esi + 0x5c]
push dword [ebx + 0xc64]
push ebp
push ebx
call fcn.00524800
add esp, 0x10
cmp eax, 2
jne 0x52440f
and dword [esi + 0x500], 0xfffffffe
push eax
push ebp
mov dword [esi + 0x50], eax
call fcn.00518750
add esp, 8
test dword [ebx + 0xaa0], 0x4000000
jne 0x52440f
push str.Received_HTTP_0.9_when_not_allowed_n
push ebx
call fcn.00517c40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret