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

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
lea esi, [ebp + 0x50]
mov edi, edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
mov ecx, dword [edi]
push ecx
push 0xa
push eax
call fcn.0055c130
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x54d48b
sub eax, dword [esi + 0x5c]
inc eax
mov edi, eax
mov eax, dword [esp + 0x2c]
sub dword [eax], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.0054a890
add esp, 4
test eax, eax
jne 0x54d644
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x6dc]
xor edx, edx
mov dword [esi + 0x68], eax
cmp dword [esi + 0x50], edx
jne 0x54c7b7
cmp dword [esi + 0x58], 5
jbe 0x54c7b7
mov eax, dword [ebp + 0x6dc]
push ebp
mov ecx, ebx
call fcn.0054a860
add esp, 4
test eax, eax
je 0x54d4de
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x54d1d4
cmp cl, 0xd
je 0x54d1d9
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x54ca45
mov ecx, dword [ebx + 0x440]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x54c8b6
mov edi, dword [esp + 0x28]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x178
push edi
lea edx, [esp + 0x2c]
push edx
push str._HTTP__d._d__d
push eax
call fcn.0050e94e
add esp, 0x14
cmp eax, 1
jne 0x54c83e
cmp dword [esp + 0x24], 2
jne 0x54c879
mov eax, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push eax
call fcn.0050e94e
add esp, 0xc
cmp eax, 1
jne 0x54c879
mov dword [edi], 0
jmp 0x54c843
cmp eax, 3
jne 0x54c879
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [edi], ecx
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x54c913
cmp eax, 0x14
je 0x54c913
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.005301c0
add esp, 8
jmp 0x54c913
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push edx
call fcn.0050e94e
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [edi], 0xa
test eax, eax
jne 0x54c913
mov ebx, dword [esi + 0x68]
mov eax, ebp
call fcn.0054a7e0
test eax, eax
je 0x54c908
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x54c913
test ecx, 0x40000
je 0x54d528
lea ecx, [esi + 0x78]
push ecx
lea edi, [ebx + 0x17c]
push edi
lea ecx, [esp + 0x1c]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.0050e94e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 3
jne 0x54d528
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
add edx, edx
add dword [edi], edx
mov edi, dword [esp + 0x28]
add edi, 0x178
mov dword [edi], 0xb
cmp dword [esp + 0x10], 0
je 0x54d528
mov eax, dword [esi + 0x78]
mov ebx, dword [esp + 0x28]
mov dword [ebp + 0x48e0], eax
mov eax, dword [ebp + 0x4850]
mov ecx, dword [edi]
mov dword [ebp + 0x48e8], ecx
test eax, eax
je 0x54c936
cmp eax, dword [edi]
jle 0x54c93e
mov edx, dword [edi]
mov dword [ebp + 0x4850], edx
cmp dword [ebp + 0x398], 0
je 0x54c99b
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x54c99b
cmp eax, 0x191
jne 0x54c961
cmp dword [ebx + 0x3b8], 0
jne 0x54c99b
cmp eax, 0x197
jne 0x54c971
cmp dword [ebx + 0x3bc], 0
jne 0x54c99b
mov ecx, dword [ebp + 0x4878]
or ecx, dword [ebp + 0x487c]
je 0x54d512
cmp dword [ebp + 0x268], 1
jne 0x54d512
cmp eax, 0x1a0
jne 0x54d512
mov edi, dword [edi]
cmp edi, 0xa
jne 0x54c9ba
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.005301c0
push 1
push ebx
call fcn.005331f0
add esp, 0x10
jmp 0x54ca0d
cmp edi, 0x14
je 0x54ca01
cmp dword [esi + 0x88], 1
jne 0x54c9ce
cmp dword [esi + 0x78], 0x65
je 0x54ca01
cmp edi, 0xb
jl 0x54ca0d
cmp dword [ebx + 0x39c], 0
jne 0x54ca0d
cmp dword [ebx + 0x748], 0
je 0x54ca0d
push ebx
push ebp
call fcn.0054d9f0
add esp, 8
test eax, eax
jne 0x54ca0d
mov edx, dword [ebx + 0x748]
mov dword [edx], 1
jmp 0x54ca0d
mov eax, dword [ebx + 0x748]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x54ca1c
sub eax, 0x64
jne 0x54ca45
xor eax, eax
cmp dword [ebp + 0x25c], eax
je 0x54ca30
mov dword [ebp + 0x48f0], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x54cafb
cmp dword [ebp + 0x3f8], 0
jne 0x54cafb
mov ecx, dword [esi + 0x68]
push 0xf
push ecx
push str.Content_Length:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cafb
mov edx, dword [esi + 0x68]
push 0xa
add edx, 0xf
push 0
push edx
call fcn.0051550c
mov ecx, dword [ebp + 0x360]
mov ebx, edx
mov edi, eax
mov eax, dword [ebp + 0x364]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x54cab5
cmp ebx, eax
jg 0x54d539
jl 0x54cab5
cmp edi, ecx
ja 0x54d539
test ebx, ebx
jl 0x54cada
jg 0x54cabf
test edi, edi
jb 0x54cada
push ebx
push edi
push ebp
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
call fcn.00538e00
add esp, 0xc
jmp 0x54d162
mov eax, dword [esp + 0x28]
push 2
push eax
call fcn.005331f0
push ebx
push edi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebp
call fcn.005301c0
add esp, 0x18
jmp 0x54d162
mov ecx, dword [esi + 0x68]
push 0xd
push ecx
push str.Content_Type:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cb57
mov edx, dword [esi + 0x68]
push edx
call fcn.00549820
mov edi, eax
add esp, 4
test edi, edi
je 0x54d554
cmp byte [edi], 0
jne 0x54cb3c
push edi
call dword [0x5c2298]
add esp, 4
jmp 0x54d162
mov eax, dword [ebp + 0x4908]
push eax
call dword [0x5c2298]
add esp, 4
mov dword [ebp + 0x4908], edi
jmp 0x54d162
mov ecx, dword [esi + 0x68]
push 7
push ecx
push str.Server:
call fcn.00536b20
mov ebx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x54cbc5
cmp dword [ebx + 0x178], 0x14
jge 0x54d162
mov edx, dword [esi + 0x68]
push edx
call fcn.00549820
mov edi, eax
mov eax, dword [ebx + 0x748]
add esp, 4
test eax, eax
je 0x54cbb6
cmp dword [eax], 1
jne 0x54cbb6
push edi
push ebp
call fcn.0054db70
add esp, 8
test eax, eax
je 0x54cbb6
mov eax, dword [ebx + 0x748]
mov dword [eax], 0xffffffff
push edi
call dword [0x5c2298]
add esp, 4
jmp 0x54d162
mov edi, 0xa
cmp dword [ebx + 0x178], edi
jne 0x54cc10
cmp dword [ebx + 0x3b0], 0
je 0x54cc10
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push ecx
call fcn.0054a4f0
add esp, 0xc
test eax, eax
je 0x54cc10
push 0
push ebx
call fcn.005331f0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
call fcn.005301c0
add esp, 0x10
jmp 0x54d162
cmp dword [ebx + 0x178], 0xb
jne 0x54cc57
cmp dword [ebx + 0x3b0], 0
je 0x54cc57
mov edx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push edx
call fcn.0054a4f0
add esp, 0xc
test eax, eax
je 0x54cc57
push 1
push ebx
call fcn.005331f0
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
call fcn.005301c0
add esp, 0x10
jmp 0x54d162
cmp dword [ebx + 0x178], edi
jne 0x54cc94
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push eax
call fcn.0054a4f0
add esp, 0xc
test eax, eax
je 0x54cc94
push 0
push ebx
call fcn.005331f0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
call fcn.005301c0
add esp, 0x10
jmp 0x54d162
mov ecx, dword [esi + 0x68]
push str.close
push str.Connection:
push ecx
call fcn.0054a4f0
add esp, 0xc
test eax, eax
je 0x54ccbe
push 2
push ebx
call fcn.005331f0
add esp, 8
jmp 0x54d162
mov edx, dword [esi + 0x68]
push 0x12
push edx
push str.Transfer_Encoding:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cdd5
mov edi, dword [esi + 0x68]
add edi, 0x12
nop
mov al, byte [edi]
test al, al
je 0x54cd03
movzx eax, al
push eax
call fcn.0051f907
add esp, 4
test eax, eax
jne 0x54ccfb
cmp byte [edi], 0x2c
jne 0x54cd03
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54cce6
push 7
push edi
push str.chunked
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cd2f
mov ecx, ebx
push ecx
mov dword [esi + 0xc8], 1
call fcn.00558d70
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x54d162
push 8
push edi
push str.identity
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cd5f
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x54cce0
push 7
push edi
push str.deflate
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cd85
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x54cce0
push 4
push edi
push str.gzip
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cdab
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x54cce0
push 6
push edi
push str.x_gzip
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54d162
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x54cce0
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.Content_Encoding:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cea9
cmp dword [ebp + 0x440], 0
je 0x54cea9
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x54ce28
lea ebx, [ebx]
movzx eax, al
push eax
call fcn.0051f907
add esp, 4
test eax, eax
je 0x54ce28
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54ce10
push 8
push edi
push str.identity
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54ce4b
mov dword [esi + 0x8c], 0
jmp 0x54d162
push 7
push edi
push str.deflate
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54ce6e
mov dword [esi + 0x8c], 1
jmp 0x54d162
push 4
push edi
push str.gzip
call fcn.00536b20
add esp, 0xc
test eax, eax
jne 0x54ce9a
push 6
push edi
push str.x_gzip
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54d162
mov dword [esi + 0x8c], 2
jmp 0x54d162
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Content_Range:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cf4d
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x54ceee
movzx edx, al
push edx
call fcn.0051f802
add esp, 4
test eax, eax
jne 0x54ceee
cmp byte [edi], 0x2a
je 0x54ceee
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54ced1
movzx eax, byte [edi]
push eax
call fcn.0051f802
add esp, 4
test eax, eax
je 0x54cf3a
push 0xa
push 0
push edi
call fcn.0051550c
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov ecx, dword [ebp + 0x4878]
add esp, 0xc
cmp ecx, eax
jne 0x54d162
mov edx, dword [ebp + 0x487c]
cmp edx, dword [esi + 0x74]
jne 0x54d162
mov dword [esi + 0x6c], 1
jmp 0x54d162
xor eax, eax
mov dword [ebp + 0x4878], eax
mov dword [ebp + 0x487c], eax
jmp 0x54d162
cmp dword [ebp + 0x590], 0
je 0x54cfb8
mov eax, dword [esi + 0x68]
push 0xb
push eax
push str.Set_Cookie:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54cfb8
push 2
push 2
push ebp
call fcn.00539690
mov eax, dword [ebx + 0x470]
add esp, 0xc
test eax, eax
jne 0x54cf8a
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebp + 0x4860]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [ebp + 0x590]
add edx, 0xb
push edx
push 1
push eax
push ebp
call fcn.00531230
push 2
push ebp
call fcn.005396d0
add esp, 0x20
jmp 0x54d162
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54d02a
cmp dword [ebp + 0x25c], 0
jne 0x54cfe1
cmp dword [ebp + 0x37c], 0
je 0x54d02a
push 0
call fcn.0055bc1a
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
push edx
add eax, 0xe
push eax
call fcn.005531f0
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebp + 0x37c], 0
je 0x54d162
mov ecx, eax
mov dword [ebp + 0x48ec], ecx
jmp 0x54d162
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54d04b
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x54d06c
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54d0b6
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x54d0b6
mov ecx, dword [esi + 0x68]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.00549820
mov edi, eax
add esp, 4
test edi, edi
je 0x54d554
mov edx, dword [esp + 0x28]
push edi
push ebx
push edx
call fcn.00549eb0
push edi
mov ebx, eax
call dword [0x5c2298]
add esp, 0x10
test ebx, ebx
je 0x54d162
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x54d13e
cmp eax, 0x190
jge 0x54d13e
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.00536b20
add esp, 0xc
test eax, eax
je 0x54d13e
cmp dword [ebp + 0x108], 0
jne 0x54d13e
mov ecx, dword [esi + 0x68]
push ecx
call fcn.00549820
add esp, 4
test eax, eax
je 0x54d554
cmp byte [eax], 0
jne 0x54d110
push eax
call dword [0x5c2298]
add esp, 4
jmp 0x54d162
cmp dword [ebp + 0x3a0], 0
mov dword [ebp + 0x108], eax
je 0x54d162
push eax
call dword [0x5c22a0]
add esp, 4
mov dword [ebp + 0x10c], eax
test eax, eax
je 0x54d554
call fcn.00549a70
jmp 0x54d15a
mov edx, dword [ebx + 0x440]
test dword [edx + 0x3c], 0x40000
je 0x54d162
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.0053adb0
add esp, 8
test eax, eax
jne 0x54d644
cmp dword [ebp + 0x3ac], 0
mov edi, 2
je 0x54d175
mov edi, 3
cmp dword [ebp + 0x3c4], 0
je 0x54d196
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push ebp
call fcn.005300d0
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push eax
call fcn.00530610
add esp, 0x10
test eax, eax
jne 0x54d644
mov ecx, dword [esi + 0x58]
add dword [ebp + 0x48f4], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [ebp + 0x6dc]
add dword [ebp + 0x80], edx
mov dword [esi + 0x54], eax
jmp 0x54d43f
cmp cl, 0xd
jne 0x54d1dd
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x54d1e9
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x54d243
cmp eax, 0xc7
jg 0x54d243
sub eax, 0x64
je 0x54d222
mov ecx, 1
sub eax, ecx
je 0x54d211
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
jmp 0x54d299
cmp dword [esi + 0x88], ecx
je 0x54d45c
mov dword [esi + 0x48], edx
jmp 0x54d299
cmp dword [esi + 0x84], edx
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
jle 0x54d299
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x54d299
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp ecx, 0xffffffff
jne 0x54d299
cmp dword [esi + 0xc8], edx
jne 0x54d299
cmp dword [ebx + 0x39c], edx
jne 0x54d2a1
cmp dword [ebx + 0x178], 0xb
jne 0x54d299
mov eax, dword [ebx + 0x440]
test dword [eax + 0x3c], 0x40000
jne 0x54d299
cmp dword [ebp + 0x268], 5
je 0x54d299
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.005301c0
push 2
push ebx
call fcn.005331f0
add esp, 0x10
xor edx, edx
cmp dword [ebx + 0x39c], edx
je 0x54d2df
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x54d2b7
cmp dword [ebx + 0x4ec], 2
je 0x54d2c7
cmp eax, 0x197
jne 0x54d2df
cmp dword [ebx + 0x528], 2
jne 0x54d2df
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.005301c0
add esp, 8
mov dword [ebp + 0x480c], 1
mov edx, ebx
call fcn.0054a100
test eax, eax
jne 0x54d561
lea ecx, [eax + 2]
cmp dword [ebp + 0x3ac], eax
je 0x54d2fc
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x6dc]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.00530610
add esp, 0x10
test eax, eax
jne 0x54d644
add dword [ebp + 0x80], edi
add dword [ebp + 0x48f4], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x80]
jl 0x54d340
cmp eax, 0xc7
jg 0x54d340
mov eax, ecx
jmp 0x54d342
xor eax, eax
push ebx
mov dword [ebp + 0x84], eax
call fcn.0054a9e0
add esp, 4
test eax, eax
jne 0x54d644
cmp dword [esi + 0x78], 0x12c
jl 0x54d42c
cmp dword [ebx + 0x3e0], eax
jne 0x54d40e
cmp dword [ebx + 0x39c], eax
jne 0x54d40e
cmp dword [ebx + 0x3e4], eax
jne 0x54d417
mov eax, dword [ebp + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x54d40e
cmp dword [esi + 0xac], 0
jne 0x54d40e
cmp dword [ebp + 0x39c], 0
je 0x54d3d4
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebp
call fcn.005301c0
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x54d40e
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x54d40e
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.005301c0
push 2
push ebx
call fcn.005331f0
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xac], 1
cmp dword [ebp + 0x4854], 0
je 0x54d40e
mov dword [esi + 0x84], 3
cmp dword [ebx + 0x3e4], 0
je 0x54d42c
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.005301c0
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x54d580
mov ecx, dword [ebp + 0x6dc]
mov dword [esi + 0x54], ecx
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [edx], 0
jne 0x54c730
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Received_101_n
push ebp
call fcn.005301c0
add esp, 8
pop edi
mov eax, 1
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [edi]
push eax
call fcn.0054a890
add esp, 4
test eax, eax
jne 0x54d644
cmp dword [esi + 0x50], eax
jne 0x54d642
cmp dword [esi + 0x58], 5
jbe 0x54d642
mov eax, dword [ebp + 0x6dc]
mov ecx, dword [esp + 0x28]
push ebp
call fcn.0054a860
add esp, 4
test eax, eax
jne 0x54d642
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x54d4ff
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push ebp
call fcn.0054a940
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Maximum_file_size_exceeded
push ebp
call fcn.00530250
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x10
ret
mov ecx, dword [esi + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.00530250
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 0x3b8], 0
mov ebx, dword [esp + 0x30]
je 0x54d598
mov dword [ebx], 1
or edx, 0xffffffff
jmp 0x54d5e1
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x440]
test dword [eax + 0x3c], 0x40000
je 0x54d5ca
cmp dword [ebp + 0x518], 2
jne 0x54d5ca
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x54d5cd
jl 0x54d5c2
cmp dword [esi], edx
ja 0x54d5cd
mov dword [ebx], 1
jmp 0x54d5e1
or edx, 0xffffffff
cmp dword [esi + 0xc8], 0
je 0x54d5e1
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x54d5ee
cmp ecx, edx
je 0x54d604
push ecx
push eax
push ebp
call fcn.00538e00
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
cmp dword [esi + 0x10], 0
jne 0x54d618
cmp dword [esi + 0x14], 0
jne 0x54d618
mov dword [ebx], 1
jmp 0x54d61d
cmp dword [ebx], 0
je 0x54d624
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x3c4], 0
je 0x54d642
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x60]
push eax
push edi
push ecx
push 1
push ebp
call fcn.005300d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret