Function at 0x544850
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.00554a90
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x545729
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.005459e0
add esp, 0xc
test eax, eax
jne 0x5458ff
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 0x5448ef
cmp dword [esi + 0x58], 5
jbe 0x5448ef
mov ecx, dword [ebp + 0x6c4]
mov edx, dword [esp + 0x24]
push ecx
push edx
push ebp
call fcn.00545980
add esp, 0xc
test eax, eax
je 0x545786
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x5453f2
cmp cl, 0xd
je 0x5453f7
mov ecx, dword [esi + 0x50]
cmp ecx, edx
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
jne 0x544bb0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x308]
mov ecx, dword [edx + 0x3c]
test cl, 3
je 0x544a00
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.00506004
add esp, 0x14
cmp eax, 1
jne 0x54497a
cmp dword [esp + 0x10], 2
jne 0x5449bb
mov eax, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push eax
call fcn.00506004
add esp, 0xc
cmp eax, 1
jne 0x5449bb
mov dword [edi], 0
jmp 0x54497f
cmp eax, 3
jne 0x5449bb
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 0x544a60
cmp eax, 0x14
je 0x544a60
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.0052a5a0
add esp, 8
jmp 0x544a60
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push edx
call fcn.00506004
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov dword [edi], 0xa
jne 0x544a60
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00545910
add esp, 8
test eax, eax
je 0x544a58
mov dword [ebx], 0xc8
mov dword [edi], 0xa
jmp 0x544a60
test ecx, 0x40000
je 0x5457cd
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.00506004
mov ebp, eax
add esp, 0x14
cmp ebp, 3
jne 0x5457cd
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 0x5457cd
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 0x544a82
cmp eax, dword [edi]
jle 0x544a8a
mov eax, dword [edi]
mov dword [ebp + 0x47e8], eax
mov eax, dword [ebp + 0x388]
test eax, eax
je 0x544af3
mov eax, dword [ebx]
cmp eax, 0x190
jl 0x544af3
cmp eax, 0x191
jne 0x544ab2
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x288]
test edx, edx
jne 0x544af3
cmp eax, 0x197
jne 0x544ac7
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x28c]
test ecx, ecx
jne 0x544af3
mov ecx, dword [ebp + 0x4810]
mov edx, dword [ebp + 0x4814]
or ecx, edx
je 0x5457b7
cmp dword [ebp + 0x25c], 1
jne 0x5457b7
cmp eax, 0x1a0
jne 0x5457b7
mov edi, dword [edi]
cmp edi, 0xa
jne 0x544b16
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.0052a5a0
mov edx, dword [esp + 0x2c]
push 1
push edx
call fcn.0052e5e0
add esp, 0x10
jmp 0x544b76
cmp edi, 0x14
je 0x544b66
cmp dword [esi + 0x88], 1
jne 0x544b29
cmp dword [ebx], 0x65
je 0x544b66
cmp edi, 0xb
jl 0x544b76
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x26c]
test ecx, ecx
jne 0x544b76
mov ecx, dword [eax + 0x594]
test ecx, ecx
je 0x544b76
push eax
push ebp
call fcn.00546e20
add esp, 8
test eax, eax
jne 0x544b76
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x594]
mov dword [edx], 1
jmp 0x544b76
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x594]
mov dword [ecx], 2
mov ebx, dword [ebx]
sub ebx, 0xcc
je 0x544b85
sub ebx, 0x64
jne 0x544bb0
mov ecx, dword [ebp + 0x254]
xor eax, eax
cmp ecx, eax
je 0x544b9b
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 0x544c7c
mov eax, dword [ebp + 0x3e8]
test eax, eax
jne 0x544c7c
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544c7c
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0054cd40
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 0x544c26
cmp ebp, eax
jg 0x5457de
jl 0x544c26
cmp edi, ecx
ja 0x5457de
test ebp, ebp
jl 0x544c53
jg 0x544c30
test edi, edi
jb 0x544c53
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.00549050
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add esp, 0xc
jmp 0x545376
mov eax, dword [esp + 0x24]
push 2
push eax
call fcn.0052e5e0
push ebp
push edi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.0052a5a0
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
add esp, 0x18
jmp 0x545376
mov ecx, dword [esi + 0x68]
push 0xd
push ecx
push str.Content_Type:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544ce0
mov edx, dword [esi + 0x68]
push edx
call fcn.00541b70
mov edi, eax
add esp, 4
test edi, edi
je 0x545803
cmp byte [edi], 0
jne 0x544cc1
push edi
call dword [0x5af228]
mov ebx, dword [esp + 0x28]
add esp, 4
jmp 0x545376
mov eax, dword [ebp + 0x48a0]
push eax
call dword [0x5af228]
mov ebx, dword [esp + 0x28]
add esp, 4
mov dword [ebp + 0x48a0], edi
jmp 0x545376
mov ecx, dword [esi + 0x68]
push 7
push ecx
push str.Server:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544d4e
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x178], 0x14
jge 0x545376
mov edx, dword [esi + 0x68]
push edx
call fcn.00541b70
mov edi, eax
mov eax, dword [ebx + 0x594]
add esp, 4
test eax, eax
je 0x544d3f
cmp dword [eax], 1
jne 0x544d3f
push edi
push ebp
call fcn.00546fd0
add esp, 8
test eax, eax
je 0x544d3f
mov eax, dword [ebx + 0x594]
mov dword [eax], 0xffffffff
push edi
call dword [0x5af228]
add esp, 4
jmp 0x545376
mov ebx, dword [esp + 0x24]
mov edi, 0xa
cmp dword [ebx + 0x178], edi
jne 0x544d9e
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x544d9e
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push ecx
call fcn.00542a50
add esp, 0xc
test eax, eax
je 0x544d9e
push 0
push ebx
call fcn.0052e5e0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
call fcn.0052a5a0
add esp, 0x10
jmp 0x545376
cmp dword [ebx + 0x178], 0xb
jne 0x544de6
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x544de6
mov edx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push edx
call fcn.00542a50
add esp, 0xc
test eax, eax
je 0x544de6
push 1
push ebx
call fcn.0052e5e0
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
call fcn.0052a5a0
add esp, 0x10
jmp 0x545376
cmp dword [ebx + 0x178], edi
jne 0x544e23
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push eax
call fcn.00542a50
add esp, 0xc
test eax, eax
je 0x544e23
push 0
push ebx
call fcn.0052e5e0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
call fcn.0052a5a0
add esp, 0x10
jmp 0x545376
mov ecx, dword [esi + 0x68]
push str.close
push str.Connection:
push ecx
call fcn.00542a50
add esp, 0xc
test eax, eax
je 0x544e4d
push 2
push ebx
call fcn.0052e5e0
add esp, 8
jmp 0x545376
mov edx, dword [esi + 0x68]
push 0x12
push edx
push str.Transfer_Encoding:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544f85
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x544eb1
cmp dword [0x5aeec4], 1
jle 0x544e8f
and eax, 0xff
push 8
push eax
call fcn.0050fe31
add esp, 8
jmp 0x544ea0
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x544ea9
cmp byte [edi], 0x2c
jne 0x544eb1
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x544e74
push 7
push edi
push str.chunked
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544edb
push ebx
mov dword [esi + 0xc4], 1
call fcn.005527c0
add esp, 4
add edi, 7
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x545376
push 8
push edi
push str.identity
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544f0f
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x544e6e
push 7
push edi
push str.deflate
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544f35
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x544e6e
push 4
push edi
push str.gzip
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x544f5b
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x544e6e
push 6
push edi
push str.x_gzip
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x545376
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x544e6e
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.Content_Encoding:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x545073
mov eax, dword [ebp + 0x430]
test eax, eax
je 0x545073
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x544ff2
cmp dword [0x5aeec4], 1
jle 0x544fd5
and eax, 0xff
push 8
push eax
call fcn.0050fe31
add esp, 8
jmp 0x544fe6
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
je 0x544ff2
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x544fba
push 8
push edi
push str.identity
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x545015
mov dword [esi + 0x8c], 0
jmp 0x545376
push 7
push edi
push str.deflate
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x545038
mov dword [esi + 0x8c], 1
jmp 0x545376
push 4
push edi
push str.gzip
call fcn.005462a0
add esp, 0xc
test eax, eax
jne 0x545064
push 6
push edi
push str.x_gzip
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x545376
mov dword [esi + 0x8c], 2
jmp 0x545376
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x545158
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x5450d7
cmp dword [0x5aeec4], 1
jle 0x5450b5
and eax, 0xff
push 4
push eax
call fcn.0050fe31
add esp, 8
jmp 0x5450c6
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 4
test eax, eax
jne 0x5450d7
cmp byte [edi], 0x2a
je 0x5450d7
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54509a
cmp dword [0x5aeec4], 1
jle 0x5450f1
xor edx, edx
push 4
mov dl, byte [edi]
push edx
call fcn.0050fe31
add esp, 8
jmp 0x545101
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 0x545147
push 0xa
push ecx
push edi
call fcn.0054cd40
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 0x545376
mov eax, dword [ebp + 0x4814]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jne 0x545376
mov dword [esi + 0x6c], 1
jmp 0x545376
mov dword [ebp + 0x4810], ecx
mov dword [ebp + 0x4814], ecx
jmp 0x545376
mov eax, dword [ebp + 0x578]
test eax, eax
je 0x5451c4
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x5451c4
push 2
push 2
push ebp
call fcn.00531c10
mov eax, dword [ebx + 0x338]
add esp, 0xc
test eax, eax
jne 0x545196
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.0052bb10
push 2
push ebp
call fcn.00531c60
add esp, 0x20
jmp 0x545376
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x54522d
mov eax, dword [ebp + 0x254]
test eax, eax
jne 0x5451ef
mov eax, dword [ebp + 0x36c]
test eax, eax
je 0x54522d
push 0
call fcn.00554b67
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
add ecx, 0xe
push eax
push ecx
call fcn.0054c540
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x36c]
add esp, 0xc
test ecx, ecx
je 0x545376
mov dword [ebp + 0x4884], eax
jmp 0x545376
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x54524e
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x54526f
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x5452b8
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x5452b8
mov ecx, dword [esi + 0x68]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.00541b70
mov edi, eax
add esp, 4
test edi, edi
je 0x545803
mov edx, dword [esp + 0x24]
push edi
push ebx
push edx
call fcn.005423e0
push edi
mov ebx, eax
call dword [0x5af228]
add esp, 0x10
test ebx, ebx
jne 0x5457f9
mov ebx, dword [esp + 0x24]
jmp 0x545376
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x545352
cmp eax, 0x190
jge 0x545352
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.005462a0
add esp, 0xc
test eax, eax
je 0x545352
mov eax, dword [ebp + 0x104]
test eax, eax
jne 0x545352
mov ecx, dword [esi + 0x68]
push ecx
call fcn.00541b70
add esp, 4
test eax, eax
je 0x545803
cmp byte [eax], 0
jne 0x545317
push eax
call dword [0x5af228]
add esp, 4
jmp 0x545376
mov ecx, dword [ebp + 0x390]
mov dword [ebp + 0x104], eax
test ecx, ecx
je 0x545376
push eax
call dword [0x5af230]
add esp, 4
mov dword [ebp + 0x108], eax
test eax, eax
je 0x545803
push ebx
call fcn.00541ed0
add esp, 4
test eax, eax
jne 0x5458ff
jmp 0x545376
mov edx, dword [ebx + 0x308]
test dword [edx + 0x3c], 0x40000
je 0x545376
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.00532ae0
add esp, 8
test eax, eax
jne 0x5458ff
mov eax, dword [ebp + 0x39c]
mov edi, 2
test eax, eax
je 0x54538a
mov edi, 3
mov eax, dword [ebp + 0x3b4]
test eax, eax
je 0x5453a8
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
push ebx
push ecx
push edx
push 1
push ebp
call fcn.0052af20
add esp, 0x14
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
push eax
push ecx
push edi
push ebx
call fcn.0052ad50
add esp, 0x10
test eax, eax
jne 0x5458ff
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 0x5456c2
cmp cl, 0xd
jne 0x5453fb
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x545407
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x54546c
cmp eax, 0xc7
jg 0x54546c
sub eax, 0x64
je 0x545442
dec eax
je 0x54542d
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
jmp 0x5454cc
cmp dword [esi + 0x88], 1
je 0x5456fa
mov dword [esi + 0x48], edx
jmp 0x5454cc
mov eax, dword [esi + 0x84]
mov dword [esi + 0x48], 1
cmp eax, edx
mov dword [esi + 0x50], edx
jle 0x5454cc
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x84], edx
or al, 2
mov dword [esi + 0xa4], eax
jmp 0x5454cc
mov eax, dword [esi]
mov edi, dword [esi + 4]
and eax, edi
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x5454cc
cmp dword [esi + 0xc4], edx
jne 0x5454cc
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x26c], edx
jne 0x5454cc
cmp dword [eax + 0x178], 0xb
jne 0x5454cc
mov ecx, dword [eax + 0x308]
test dword [ecx + 0x3c], 0x40000
jne 0x5454cc
cmp dword [ebp + 0x25c], 5
je 0x5454cc
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.0052a5a0
mov edx, dword [esp + 0x2c]
push 2
push edx
call fcn.0052e5e0
add esp, 0x10
xor edx, edx
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x26c], edx
je 0x54551e
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x5454f2
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x380], 2
je 0x545506
cmp eax, 0x197
jne 0x54551e
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x398], 2
jne 0x54551e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.0052a5a0
add esp, 8
mov dword [ebp + 0x47a4], 1
mov ebx, dword [esp + 0x24]
push ebx
call fcn.005425a0
add esp, 4
test eax, eax
jne 0x545810
mov eax, dword [ebp + 0x39c]
mov ecx, 2
test eax, eax
je 0x545547
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.0052ad50
add esp, 0x10
test eax, eax
jne 0x5458ff
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 0x545597
cmp eax, 0xc7
jg 0x545597
mov eax, ecx
jmp 0x545599
xor eax, eax
push ebx
mov dword [ebp + 0x84], eax
call fcn.00541c70
add esp, 4
test eax, eax
jne 0x5458ff
cmp dword [esi + 0x78], 0x12c
jl 0x5456ae
mov eax, dword [ebx + 0x2b0]
test eax, eax
jne 0x545688
mov eax, dword [ebx + 0x26c]
test eax, eax
jne 0x545688
mov eax, dword [ebx + 0x2b4]
test eax, eax
jne 0x545692
mov eax, dword [ebp + 0x25c]
cmp eax, 2
jl 0x545688
cmp eax, 4
jg 0x545688
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x545688
mov eax, dword [ebp + 0x38c]
test eax, eax
je 0x545645
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebp
call fcn.0052a5a0
mov eax, dword [esi + 0x84]
add esp, 8
test eax, eax
jle 0x545688
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x84], 0
or al, 2
mov dword [esi + 0xa4], eax
jmp 0x545688
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.0052a5a0
push 2
push ebx
call fcn.0052e5e0
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 0x545688
mov dword [esi + 0x84], 3
mov eax, dword [ebx + 0x2b4]
test eax, eax
je 0x5456ae
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.0052a5a0
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 0x54582f
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 0x5458fd
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.00554a90
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x545729
mov ebx, dword [esp + 0x28]
jmp 0x544884
push str.Received_101_n
push ebp
call fcn.0052a5a0
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.005459e0
add esp, 0xc
test eax, eax
jne 0x5458ff
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x5458fd
cmp dword [esi + 0x58], 5
jbe 0x5458fd
mov edx, dword [ebp + 0x6c4]
mov eax, dword [esp + 0x24]
push edx
push eax
push ebp
call fcn.00545980
add esp, 0xc
test eax, eax
jne 0x5458fd
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 0x5457a4
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.00545ab0
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.0052a610
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.0052a610
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 0x545848
mov dword [ebx], 1
or edx, 0xffffffff
jmp 0x545894
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x308]
test dword [eax + 0x3c], 0x40000
je 0x54587c
cmp dword [ebp + 0x500], 2
jne 0x54587c
mov eax, dword [esi + 4]
or edx, 0xffffffff
cmp eax, edx
jg 0x54587f
jl 0x545874
cmp dword [esi], edx
ja 0x54587f
mov dword [ebx], 1
jmp 0x545894
or edx, 0xffffffff
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x545894
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 0x5458a1
cmp ecx, edx
je 0x5458b7
push ecx
push eax
push ebp
call fcn.00549050
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 0x5458cb
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x5458cb
mov dword [ebx], 1
cmp dword [ebx], 0
je 0x5458de
mov eax, dword [esi + 0xa4]
and al, 0xfe
mov dword [esi + 0xa4], eax
mov eax, dword [ebp + 0x3b4]
test eax, eax
je 0x5458fd
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x60]
push eax
push edi
push ecx
push 1
push ebp
call fcn.0052af20
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret