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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov eax, dword [ebp + 0xac]
lea esi, [ebp + 0x50]
mov dword [esi + 0x60], eax
mov ecx, dword [ebx]
push ecx
push 0xa
push eax
call fcn.00555f60
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x546c09
mov edi, dword [esi + 0x64]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ebx]
sub edi, ecx
inc edi
sub edx, edi
mov dword [ebx], edx
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
inc eax
mov dword [esi + 0x5c], eax
sub eax, ecx
push eax
push esi
push ebp
call fcn.00546ec0
add esp, 0xc
test eax, eax
jne 0x546ddf
mov edx, dword [esi + 0x54]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x6c4]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x50]
xor edx, edx
cmp eax, edx
jne 0x545dcf
cmp dword [esi + 0x58], 5
jbe 0x545dcf
mov ecx, dword [ebp + 0x6c4]
mov edx, dword [esp + 0x24]
push ecx
push edx
push ebp
call fcn.00546e60
add esp, 0xc
test eax, eax
je 0x546c66
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x5468d2
cmp cl, 0xd
je 0x5468d7
mov ecx, dword [esi + 0x50]
cmp ecx, edx
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
jne 0x546090
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x308]
mov ecx, dword [edx + 0x3c]
test cl, 3
je 0x545ee0
mov ecx, dword [esp + 0x24]
lea ebx, [esi + 0x78]
push ebx
lea edx, [esp + 0x14]
lea edi, [ecx + 0x178]
push edi
push edx
push str._HTTP__d._d__d
push eax
call fcn.0050727c
add esp, 0x14
cmp eax, 1
jne 0x545e5a
cmp dword [esp + 0x10], 2
jne 0x545e9b
mov eax, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push eax
call fcn.0050727c
add esp, 0xc
cmp eax, 1
jne 0x545e9b
mov dword [edi], 0
jmp 0x545e5f
cmp eax, 3
jne 0x545e9b
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
lea ecx, [eax + eax*4]
shl ecx, 1
add edx, ecx
mov dword [edi], edx
mov ecx, dword [esi + 0x88]
cmp ecx, 2
mov eax, edx
jne 0x545f40
cmp eax, 0x14
je 0x545f40
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.0052bab0
add esp, 8
jmp 0x545f40
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push edx
call fcn.0050727c
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov dword [edi], 0xa
jne 0x545f40
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00546df0
add esp, 8
test eax, eax
je 0x545f38
mov dword [ebx], 0xc8
mov dword [edi], 0xa
jmp 0x545f40
test ecx, 0x40000
je 0x546cad
mov edx, dword [esp + 0x24]
lea ebx, [esi + 0x78]
push ebx
lea ecx, [esp + 0x18]
lea edi, [edx + 0x17c]
push edi
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.0050727c
mov ebp, eax
add esp, 0x14
cmp ebp, 3
jne 0x546cad
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [edi]
shl edx, 1
add eax, edx
mov dword [edi], eax
mov eax, dword [esp + 0x24]
lea edi, [eax + 0x178]
mov dword [edi], 0xb
test ebp, ebp
je 0x546cad
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x47e8]
mov dword [ebp + 0x4878], ecx
mov edx, dword [edi]
test eax, eax
mov dword [ebp + 0x4880], edx
je 0x545f62
cmp eax, dword [edi]
jle 0x545f6a
mov eax, dword [edi]
mov dword [ebp + 0x47e8], eax
mov eax, dword [ebp + 0x388]
test eax, eax
je 0x545fd3
mov eax, dword [ebx]
cmp eax, 0x190
jl 0x545fd3
cmp eax, 0x191
jne 0x545f92
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x288]
test edx, edx
jne 0x545fd3
cmp eax, 0x197
jne 0x545fa7
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x28c]
test ecx, ecx
jne 0x545fd3
mov ecx, dword [ebp + 0x4810]
mov edx, dword [ebp + 0x4814]
or ecx, edx
je 0x546c97
cmp dword [ebp + 0x25c], 1
jne 0x546c97
cmp eax, 0x1a0
jne 0x546c97
mov edi, dword [edi]
cmp edi, 0xa
jne 0x545ff6
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.0052bab0
mov edx, dword [esp + 0x2c]
push 1
push edx
call fcn.0052faf0
add esp, 0x10
jmp 0x546056
cmp edi, 0x14
je 0x546046
cmp dword [esi + 0x88], 1
jne 0x546009
cmp dword [ebx], 0x65
je 0x546046
cmp edi, 0xb
jl 0x546056
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x26c]
test ecx, ecx
jne 0x546056
mov ecx, dword [eax + 0x594]
test ecx, ecx
je 0x546056
push eax
push ebp
call fcn.005482f0
add esp, 8
test eax, eax
jne 0x546056
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x594]
mov dword [edx], 1
jmp 0x546056
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x594]
mov dword [ecx], 2
mov ebx, dword [ebx]
sub ebx, 0xcc
je 0x546065
sub ebx, 0x64
jne 0x546090
mov ecx, dword [ebp + 0x254]
xor eax, eax
cmp ecx, eax
je 0x54607b
mov dword [ebp + 0x4888], 1
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb0], 1
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x54615c
mov eax, dword [ebp + 0x3e8]
test eax, eax
jne 0x54615c
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x54615c
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0054e210
mov ebx, dword [esp + 0x2c]
mov edi, eax
mov ebp, edx
add esp, 0xc
mov ecx, dword [ebx + 0x350]
mov eax, dword [ebx + 0x354]
mov edx, ecx
or edx, eax
je 0x546106
cmp ebp, eax
jg 0x546cbe
jl 0x546106
cmp edi, ecx
ja 0x546cbe
test ebp, ebp
jl 0x546133
jg 0x546110
test edi, edi
jb 0x546133
push ebp
push edi
mov dword [esi], edi
mov dword [esi + 0x10], edi
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
call fcn.0054a520
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add esp, 0xc
jmp 0x546856
mov eax, dword [esp + 0x24]
push 2
push eax
call fcn.0052faf0
push ebp
push edi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.0052bab0
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
add esp, 0x18
jmp 0x546856
mov ecx, dword [esi + 0x68]
push 0xd
push ecx
push str.Content_Type:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x5461c0
mov edx, dword [esi + 0x68]
push edx
call fcn.00543050
mov edi, eax
add esp, 4
test edi, edi
je 0x546ce3
cmp byte [edi], 0
jne 0x5461a1
push edi
call dword [0x5b1228]
mov ebx, dword [esp + 0x28]
add esp, 4
jmp 0x546856
mov eax, dword [ebp + 0x48a0]
push eax
call dword [0x5b1228]
mov ebx, dword [esp + 0x28]
add esp, 4
mov dword [ebp + 0x48a0], edi
jmp 0x546856
mov ecx, dword [esi + 0x68]
push 7
push ecx
push str.Server:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x54622e
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x178], 0x14
jge 0x546856
mov edx, dword [esi + 0x68]
push edx
call fcn.00543050
mov edi, eax
mov eax, dword [ebx + 0x594]
add esp, 4
test eax, eax
je 0x54621f
cmp dword [eax], 1
jne 0x54621f
push edi
push ebp
call fcn.005484a0
add esp, 8
test eax, eax
je 0x54621f
mov eax, dword [ebx + 0x594]
mov dword [eax], 0xffffffff
push edi
call dword [0x5b1228]
add esp, 4
jmp 0x546856
mov ebx, dword [esp + 0x24]
mov edi, 0xa
cmp dword [ebx + 0x178], edi
jne 0x54627e
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x54627e
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push ecx
call fcn.00543f30
add esp, 0xc
test eax, eax
je 0x54627e
push 0
push ebx
call fcn.0052faf0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
call fcn.0052bab0
add esp, 0x10
jmp 0x546856
cmp dword [ebx + 0x178], 0xb
jne 0x5462c6
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x5462c6
mov edx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push edx
call fcn.00543f30
add esp, 0xc
test eax, eax
je 0x5462c6
push 1
push ebx
call fcn.0052faf0
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
call fcn.0052bab0
add esp, 0x10
jmp 0x546856
cmp dword [ebx + 0x178], edi
jne 0x546303
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push eax
call fcn.00543f30
add esp, 0xc
test eax, eax
je 0x546303
push 0
push ebx
call fcn.0052faf0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
call fcn.0052bab0
add esp, 0x10
jmp 0x546856
mov ecx, dword [esi + 0x68]
push str.close
push str.Connection:
push ecx
call fcn.00543f30
add esp, 0xc
test eax, eax
je 0x54632d
push 2
push ebx
call fcn.0052faf0
add esp, 8
jmp 0x546856
mov edx, dword [esi + 0x68]
push 0x12
push edx
push str.Transfer_Encoding:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546465
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x546391
cmp dword [0x5b0ec4], 1
jle 0x54636f
and eax, 0xff
push 8
push eax
call fcn.00511331
add esp, 8
jmp 0x546380
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x546389
cmp byte [edi], 0x2c
jne 0x546391
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x546354
push 7
push edi
push str.chunked
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x5463bb
push ebx
mov dword [esi + 0xc4], 1
call fcn.00553c90
add esp, 4
add edi, 7
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x546856
push 8
push edi
push str.identity
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x5463ef
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x54634e
push 7
push edi
push str.deflate
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546415
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x54634e
push 4
push edi
push str.gzip
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x54643b
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x54634e
push 6
push edi
push str.x_gzip
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546856
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x54634e
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.Content_Encoding:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546553
mov eax, dword [ebp + 0x430]
test eax, eax
je 0x546553
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x5464d2
cmp dword [0x5b0ec4], 1
jle 0x5464b5
and eax, 0xff
push 8
push eax
call fcn.00511331
add esp, 8
jmp 0x5464c6
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
je 0x5464d2
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54649a
push 8
push edi
push str.identity
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x5464f5
mov dword [esi + 0x8c], 0
jmp 0x546856
push 7
push edi
push str.deflate
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546518
mov dword [esi + 0x8c], 1
jmp 0x546856
push 4
push edi
push str.gzip
call fcn.00547780
add esp, 0xc
test eax, eax
jne 0x546544
push 6
push edi
push str.x_gzip
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546856
mov dword [esi + 0x8c], 2
jmp 0x546856
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546638
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x5465b7
cmp dword [0x5b0ec4], 1
jle 0x546595
and eax, 0xff
push 4
push eax
call fcn.00511331
add esp, 8
jmp 0x5465a6
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 4
test eax, eax
jne 0x5465b7
cmp byte [edi], 0x2a
je 0x5465b7
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54657a
cmp dword [0x5b0ec4], 1
jle 0x5465d1
xor edx, edx
push 4
mov dl, byte [edi]
push edx
call fcn.00511331
add esp, 8
jmp 0x5465e1
mov ecx, dword [str.________________________________H]
xor eax, eax
mov al, byte [edi]
mov al, byte [ecx + eax*2]
and eax, 4
xor ecx, ecx
cmp eax, ecx
je 0x546627
push 0xa
push ecx
push edi
call fcn.0054e210
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov edx, dword [ebp + 0x4810]
mov eax, dword [esi + 0x70]
add esp, 0xc
cmp edx, eax
jne 0x546856
mov eax, dword [ebp + 0x4814]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jne 0x546856
mov dword [esi + 0x6c], 1
jmp 0x546856
mov dword [ebp + 0x4810], ecx
mov dword [ebp + 0x4814], ecx
jmp 0x546856
mov eax, dword [ebp + 0x578]
test eax, eax
je 0x5466a4
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x5466a4
push 2
push 2
push ebp
call fcn.00533120
mov eax, dword [ebx + 0x338]
add esp, 0xc
test eax, eax
jne 0x546676
mov eax, dword [ebx + 0x98]
mov edx, dword [ebp + 0x47f8]
mov ecx, dword [ebp + 0x578]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push ebp
call fcn.0052d020
push 2
push ebp
call fcn.00533170
add esp, 0x20
jmp 0x546856
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x54670d
mov eax, dword [ebp + 0x254]
test eax, eax
jne 0x5466cf
mov eax, dword [ebp + 0x36c]
test eax, eax
je 0x54670d
push 0
call fcn.00556037
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
add ecx, 0xe
push eax
push ecx
call fcn.0054da10
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x36c]
add esp, 0xc
test ecx, ecx
je 0x546856
mov dword [ebp + 0x4884], eax
jmp 0x546856
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x54672e
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x54674f
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546798
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x546798
mov ecx, dword [esi + 0x68]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.00543050
mov edi, eax
add esp, 4
test edi, edi
je 0x546ce3
mov edx, dword [esp + 0x24]
push edi
push ebx
push edx
call fcn.005438c0
push edi
mov ebx, eax
call dword [0x5b1228]
add esp, 0x10
test ebx, ebx
jne 0x546cd9
mov ebx, dword [esp + 0x24]
jmp 0x546856
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x546832
cmp eax, 0x190
jge 0x546832
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.00547780
add esp, 0xc
test eax, eax
je 0x546832
mov eax, dword [ebp + 0x104]
test eax, eax
jne 0x546832
mov ecx, dword [esi + 0x68]
push ecx
call fcn.00543050
add esp, 4
test eax, eax
je 0x546ce3
cmp byte [eax], 0
jne 0x5467f7
push eax
call dword [0x5b1228]
add esp, 4
jmp 0x546856
mov ecx, dword [ebp + 0x390]
mov dword [ebp + 0x104], eax
test ecx, ecx
je 0x546856
push eax
call dword [0x5b1230]
add esp, 4
mov dword [ebp + 0x108], eax
test eax, eax
je 0x546ce3
push ebx
call fcn.005433b0
add esp, 4
test eax, eax
jne 0x546ddf
jmp 0x546856
mov edx, dword [ebx + 0x308]
test dword [edx + 0x3c], 0x40000
je 0x546856
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.00533ff0
add esp, 8
test eax, eax
jne 0x546ddf
mov eax, dword [ebp + 0x39c]
mov edi, 2
test eax, eax
je 0x54686a
mov edi, 3
mov eax, dword [ebp + 0x3b4]
test eax, eax
je 0x546888
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
push ebx
push ecx
push edx
push 1
push ebp
call fcn.0052c430
add esp, 0x14
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
push eax
push ecx
push edi
push ebx
call fcn.0052c260
add esp, 0x10
test eax, eax
jne 0x546ddf
mov edx, dword [esi + 0x58]
mov edi, dword [ebp + 0x488c]
mov ecx, dword [ebp + 0x80]
add edi, edx
mov dword [ebp + 0x488c], edi
mov eax, dword [esi + 0x58]
add ecx, eax
mov dword [ebp + 0x80], ecx
mov ecx, dword [ebp + 0x6c4]
mov dword [esi + 0x54], ecx
jmp 0x546ba2
cmp cl, 0xd
jne 0x5468db
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x5468e7
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x54694c
cmp eax, 0xc7
jg 0x54694c
sub eax, 0x64
je 0x546922
dec eax
je 0x54690d
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
jmp 0x5469ac
cmp dword [esi + 0x88], 1
je 0x546bda
mov dword [esi + 0x48], edx
jmp 0x5469ac
mov eax, dword [esi + 0x84]
mov dword [esi + 0x48], 1
cmp eax, edx
mov dword [esi + 0x50], edx
jle 0x5469ac
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x84], edx
or al, 2
mov dword [esi + 0xa4], eax
jmp 0x5469ac
mov eax, dword [esi]
mov edi, dword [esi + 4]
and eax, edi
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x5469ac
cmp dword [esi + 0xc4], edx
jne 0x5469ac
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x26c], edx
jne 0x5469ac
cmp dword [eax + 0x178], 0xb
jne 0x5469ac
mov ecx, dword [eax + 0x308]
test dword [ecx + 0x3c], 0x40000
jne 0x5469ac
cmp dword [ebp + 0x25c], 5
je 0x5469ac
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.0052bab0
mov edx, dword [esp + 0x2c]
push 2
push edx
call fcn.0052faf0
add esp, 0x10
xor edx, edx
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x26c], edx
je 0x5469fe
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x5469d2
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x380], 2
je 0x5469e6
cmp eax, 0x197
jne 0x5469fe
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x398], 2
jne 0x5469fe
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.0052bab0
add esp, 8
mov dword [ebp + 0x47a4], 1
mov ebx, dword [esp + 0x24]
push ebx
call fcn.00543a80
add esp, 4
test eax, eax
jne 0x546cf0
mov eax, dword [ebp + 0x39c]
mov ecx, 2
test eax, eax
je 0x546a27
mov ecx, 3
mov eax, dword [ebp + 0x6c4]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.0052c260
add esp, 0x10
test eax, eax
jne 0x546ddf
mov ecx, dword [ebp + 0x488c]
mov eax, dword [ebp + 0x80]
add ecx, edi
add eax, edi
mov dword [ebp + 0x488c], ecx
mov dword [ebp + 0x80], eax
mov ecx, eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x546a77
cmp eax, 0xc7
jg 0x546a77
mov eax, ecx
jmp 0x546a79
xor eax, eax
push ebx
mov dword [ebp + 0x84], eax
call fcn.00543150
add esp, 4
test eax, eax
jne 0x546ddf
cmp dword [esi + 0x78], 0x12c
jl 0x546b8e
mov eax, dword [ebx + 0x2b0]
test eax, eax
jne 0x546b68
mov eax, dword [ebx + 0x26c]
test eax, eax
jne 0x546b68
mov eax, dword [ebx + 0x2b4]
test eax, eax
jne 0x546b72
mov eax, dword [ebp + 0x25c]
cmp eax, 2
jl 0x546b68
cmp eax, 4
jg 0x546b68
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x546b68
mov eax, dword [ebp + 0x38c]
test eax, eax
je 0x546b25
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebp
call fcn.0052bab0
mov eax, dword [esi + 0x84]
add esp, 8
test eax, eax
jle 0x546b68
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x84], 0
or al, 2
mov dword [esi + 0xa4], eax
jmp 0x546b68
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.0052bab0
push 2
push ebx
call fcn.0052faf0
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0xa8], 1
and ecx, 0xfffffffd
add esp, 0x10
mov dword [esi + 0xa4], ecx
mov eax, dword [ebp + 0x47ec]
test eax, eax
je 0x546b68
mov dword [esi + 0x84], 3
mov eax, dword [ebx + 0x2b4]
test eax, eax
je 0x546b8e
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.0052bab0
mov eax, dword [esi + 0xa4]
add esp, 8
or al, 2
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x546d0f
mov eax, dword [ebp + 0x6c4]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
je 0x546ddd
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.00555f60
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x546c09
mov ebx, dword [esp + 0x28]
jmp 0x545d64
push str.Received_101_n
push ebp
call fcn.0052bab0
add esp, 8
mov eax, 1
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ecx
push esi
push ebp
call fcn.00546ec0
add esp, 0xc
test eax, eax
jne 0x546ddf
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x546ddd
cmp dword [esi + 0x58], 5
jbe 0x546ddd
mov edx, dword [ebp + 0x6c4]
mov eax, dword [esp + 0x24]
push edx
push eax
push ebp
call fcn.00546e60
add esp, 0xc
test eax, eax
jne 0x546ddd
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x48], 0
mov eax, dword [ebx]
test eax, eax
je 0x546c84
mov dword [esi + 0x4c], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x4c], 2
mov dword [ebx], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push ebp
call fcn.00546f90
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x48], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.0052bb20
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
mov ecx, dword [esi + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.0052bb20
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 0x3a8]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x546d28
mov dword [ebx], 1
or edx, 0xffffffff
jmp 0x546d74
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x308]
test dword [eax + 0x3c], 0x40000
je 0x546d5c
cmp dword [ebp + 0x500], 2
jne 0x546d5c
mov eax, dword [esi + 4]
or edx, 0xffffffff
cmp eax, edx
jg 0x546d5f
jl 0x546d54
cmp dword [esi], edx
ja 0x546d5f
mov dword [ebx], 1
jmp 0x546d74
or edx, 0xffffffff
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x546d74
mov dword [esi], edx
mov dword [esi + 0x10], edx
mov dword [esi + 4], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x546d81
cmp ecx, edx
je 0x546d97
push ecx
push eax
push ebp
call fcn.0054a520
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi + 0x10], ecx
add esp, 0xc
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x546dab
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x546dab
mov dword [ebx], 1
cmp dword [ebx], 0
je 0x546dbe
mov eax, dword [esi + 0xa4]
and al, 0xfe
mov dword [esi + 0xa4], eax
mov eax, dword [ebp + 0x3b4]
test eax, eax
je 0x546ddd
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x60]
push eax
push edi
push ecx
push 1
push ebp
call fcn.0052c430
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret