Function at 0x4988a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x50]
nop
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.005a87e0
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, edi
test eax, eax
je 0x49961c
sub eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
inc eax
sub dword [ecx], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.00496b40
add esp, 4
test eax, eax
jne 0x4997a1
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x5bc]
mov dword [esi + 0x68], ecx
jne 0x498932
cmp dword [esi + 0x58], 5
jbe 0x498932
mov eax, dword [edi + 0x5bc]
push edi
mov ecx, ebx
call fcn.00496b10
add esp, 4
test eax, eax
je 0x499670
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4993a7
cmp cl, 0xd
je 0x4993ac
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x498b41
mov ecx, dword [ebx + 0x240]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x4989da
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x13c
push edi
lea edx, [ebp - 8]
push edx
push str._HTTP__d._d__3d
push eax
call fcn.005aa37b
add esp, 0x14
cmp eax, 3
jne 0x49899c
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
jmp 0x498a25
mov ecx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push ecx
call fcn.005aa37b
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x498a25
mov ebx, dword [esi + 0x68]
mov eax, dword [ebp + 8]
call fcn.00496a90
test eax, eax
je 0x4996b9
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x498a25
test ecx, 0x40000
je 0x4996b9
lea ecx, [esi + 0x78]
push ecx
lea edi, [ebx + 0x140]
push edi
lea edx, [ebp - 0xc]
push edx
push str._RTSP__d._d__3d
push eax
call fcn.005aa37b
add esp, 0x14
cmp eax, 3
jne 0x4996b9
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [ebp + 0xc]
add edi, 0x13c
mov dword [edi], 0xb
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x78]
mov eax, dword [ebx + 0x86a8]
mov dword [ebx + 0x870c], ecx
mov edx, dword [edi]
mov dword [ebx + 0x8714], edx
test eax, eax
je 0x498a47
cmp eax, dword [edi]
jle 0x498a4f
mov eax, dword [edi]
mov dword [ebx + 0x86a8], eax
cmp dword [ebx + 0x300], 0
je 0x498ab2
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x498ab2
cmp eax, 0x191
jne 0x498a75
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x1dc], 0
jne 0x498ab2
cmp eax, 0x197
jne 0x498a88
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x1e0], 0
jne 0x498ab2
mov ecx, dword [ebx + 0x86d0]
or ecx, dword [ebx + 0x86d4]
je 0x4996a4
cmp dword [ebx + 0x268], 1
jne 0x4996a4
cmp eax, 0x1a0
jne 0x4996a4
mov edi, dword [edi]
cmp edi, 0xa
jne 0x498ad6
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.0047f7a0
mov edx, dword [ebp + 0xc]
add esp, 8
mov dword [edx + 0x1cc], 1
jmp 0x498b09
cmp edi, 0xb
jl 0x498b09
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1cc], 0
jne 0x498b09
mov ecx, eax
mov edi, dword [ecx + 0x4f4]
test edi, edi
je 0x498b09
mov edx, eax
push edx
push ebx
call fcn.0049f900
add esp, 8
test eax, eax
jne 0x498b09
mov dword [edi], 1
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x498b18
sub eax, 0x64
jne 0x498b41
xor eax, eax
cmp dword [ebx + 0x258], eax
je 0x498b2c
mov dword [ebx + 0x871c], 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
mov edi, dword [ebp + 8]
jne 0x498c70
cmp dword [edi + 0x360], 0
jne 0x498c70
mov eax, dword [esi + 0x68]
push 0xf
push eax
push str.Content_Length:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498c70
mov ecx, dword [esi + 0x68]
push 0xa
add ecx, 0xf
push 0
push ecx
call fcn.005ab32d
mov ebx, dword [edi + 0x2c8]
mov ecx, dword [edi + 0x2cc]
add esp, 0xc
or ebx, ecx
je 0x498bb2
cmp edx, ecx
jg 0x4996c9
jl 0x498bb2
cmp eax, dword [edi + 0x2c8]
ja 0x4996c9
test edx, edx
jl 0x498c4e
jg 0x498bc4
test eax, eax
jb 0x498c4e
push edx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.0049c6e0
add esp, 0xc
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x310], 0
mov dword [ebp - 4], 2
je 0x498bf4
mov dword [ebp - 4], 3
cmp dword [edi + 0x32c], 0
je 0x498c11
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
push ebx
push eax
push ecx
push 1
push edi
call fcn.0047f6c0
add esp, 0x14
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp - 4]
push edx
push eax
push ecx
push ebx
call fcn.0047faf0
add esp, 0x10
test eax, eax
jne 0x4997a1
mov edx, dword [esi + 0x58]
add dword [edi + 0x8720], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [edi + 0x5bc]
add dword [edi + 0x80], eax
mov dword [esi + 0x54], ecx
jmp 0x4995d3
mov ebx, dword [ebp + 0xc]
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
mov dword [ebx + 0x1cc], 1
call fcn.0047f7a0
add esp, 0x10
jmp 0x498bdd
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498cda
mov eax, dword [esi + 0x68]
push eax
call fcn.00495cd0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4996e3
cmp byte [ebx], 0
jne 0x498cb1
push ebx
call dword [0x636004]
add esp, 4
jmp 0x498bda
mov eax, dword [edi + 0x8734]
test eax, eax
je 0x498ccf
push eax
call dword [0x636004]
add esp, 4
mov dword [edi + 0x8734], 0
mov dword [edi + 0x8734], ebx
jmp 0x498bda
mov ecx, dword [esi + 0x68]
push 7
push ecx
push str.Server:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498d4b
mov edx, dword [esi + 0x68]
push edx
call fcn.00495cd0
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x4f4]
add esp, 4
test eax, eax
je 0x498d2f
cmp dword [eax], 0
je 0x498d2f
mov eax, dword [ebp - 4]
push eax
push edi
call fcn.0049fac0
add esp, 8
test eax, eax
je 0x498d2f
mov ecx, dword [ebx + 0x4f4]
mov dword [ecx], 0
cmp dword [ebp - 4], 0
je 0x498bdd
mov edx, dword [ebp - 4]
push edx
call dword [0x636004]
add esp, 4
jmp 0x498bdd
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x13c], 0xa
jne 0x498d97
cmp dword [ebx + 0x1d8], 0
je 0x498d97
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.004967e0
add esp, 0xc
test eax, eax
je 0x498d97
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1cc], 0
call fcn.0047f7a0
add esp, 8
jmp 0x498bdd
cmp dword [ebx + 0x13c], 0xb
jne 0x498de0
cmp dword [ebx + 0x1d8], 0
je 0x498de0
mov ecx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.004967e0
add esp, 0xc
test eax, eax
je 0x498de0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
mov dword [ebx + 0x1cc], 1
call fcn.0047f7a0
add esp, 8
jmp 0x498bdd
cmp dword [ebx + 0x13c], 0xa
jne 0x498e20
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push edx
call fcn.004967e0
add esp, 0xc
test eax, eax
je 0x498e20
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1cc], 0
call fcn.0047f7a0
add esp, 8
jmp 0x498bdd
mov eax, dword [esi + 0x68]
push str.close
push str.Connection:
push eax
call fcn.004967e0
add esp, 0xc
test eax, eax
je 0x498e49
mov dword [ebx + 0x1cc], 1
jmp 0x498bdd
mov ecx, dword [esi + 0x68]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498fb5
mov ebx, dword [esi + 0x68]
add ebx, 0x12
lea ebx, [ebx]
mov al, byte [ebx]
test al, al
je 0x498e93
movzx edx, al
push edx
call fcn.005aad97
add esp, 4
test eax, eax
jne 0x498e8b
cmp byte [ebx], 0x2c
jne 0x498e93
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x498e76
push 7
push ebx
push str.chunked
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498ec0
mov eax, dword [ebp + 0xc]
push eax
mov dword [esi + 0xc8], 1
call fcn.004a3b20
add esp, 4
add ebx, 7
cmp dword [esi + 0x8c], 0
jne 0x498bda
push 8
push ebx
push str.identity
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498ef3
mov dword [esi + 0x8c], 0
add ebx, 8
jmp 0x498e70
push 7
push ebx
push str.deflate
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498f19
mov dword [esi + 0x8c], 1
add ebx, 7
jmp 0x498e70
push 4
push ebx
push str.gzip
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498f3f
mov dword [esi + 0x8c], 2
add ebx, 4
jmp 0x498e70
push 6
push ebx
push str.x_gzip
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498f65
mov dword [esi + 0x8c], 2
add ebx, 6
jmp 0x498e70
push 8
push ebx
push str.compress
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498f8b
mov dword [esi + 0x8c], 3
add ebx, 8
jmp 0x498e70
push 0xa
push ebx
push str.x_compress
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498bda
mov dword [esi + 0x8c], 3
add ebx, 0xa
jmp 0x498e70
mov ecx, dword [esi + 0x68]
push 0x11
push ecx
push str.Content_Encoding:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x4990c3
cmp dword [edi + 0x3a0], 0
jne 0x498fe6
cmp dword [ebx + 0x13c], 0x14
jne 0x4990c3
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x49900b
movzx edx, al
push edx
call fcn.005aad97
add esp, 4
test eax, eax
je 0x49900b
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x498ff3
push 8
push ebx
push str.identity
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x49902e
mov dword [esi + 0x8c], 0
jmp 0x498bda
push 7
push ebx
push str.deflate
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x499051
mov dword [esi + 0x8c], 1
jmp 0x498bda
push 4
push ebx
push str.gzip
call fcn.0049bb00
add esp, 0xc
test eax, eax
jne 0x4990b4
push 6
push ebx
push str.x_gzip
call fcn.0049bb00
add esp, 0xc
test eax, eax
jne 0x4990b4
push 8
push ebx
push str.compress
call fcn.0049bb00
add esp, 0xc
test eax, eax
jne 0x4990a5
push 0xa
push ebx
push str.x_compress
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x498bda
mov dword [esi + 0x8c], 3
jmp 0x498bda
mov dword [esi + 0x8c], 2
jmp 0x498bda
mov eax, dword [esi + 0x68]
push 0xe
push eax
push str.Content_Range:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x49916a
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x49910d
jmp 0x4990f0
movzx ecx, al
push ecx
call fcn.005aac92
add esp, 4
test eax, eax
jne 0x49910d
cmp byte [ebx], 0x2a
je 0x49910d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4990f0
movzx edx, byte [ebx]
push edx
call fcn.005aac92
add esp, 4
test eax, eax
je 0x499157
push 0xa
push 0
push ebx
call fcn.005ab32d
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0x86d0]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x498bda
cmp dword [edi + 0x86d4], edx
jne 0x498bda
mov dword [esi + 0x6c], 1
jmp 0x498bda
xor eax, eax
mov dword [edi + 0x86d0], eax
mov dword [edi + 0x86d4], eax
jmp 0x498bda
cmp dword [edi + 0x490], 0
je 0x4991d5
mov edx, dword [esi + 0x68]
push 0xb
push edx
push str.Set_Cookie:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x4991d5
push 2
push 2
push edi
call fcn.00485860
mov eax, dword [ebx + 0x270]
add esp, 0xc
test eax, eax
jne 0x4991a7
mov eax, dword [ebx + 0x98]
mov ecx, dword [edi + 0x86b8]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [edi + 0x490]
add edx, 0xb
push edx
push 1
push eax
push edi
call fcn.00480630
push 2
push edi
call fcn.004858a0
add esp, 0x20
jmp 0x498bdd
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x499244
cmp dword [edi + 0x258], 0
jne 0x4991fe
cmp dword [edi + 0x2e4], 0
je 0x499244
push 0
call fcn.005a77c3
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x14]
push edx
add eax, 0xe
push eax
call fcn.004a0a40
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x2e4], 0
je 0x498bdd
mov ecx, eax
mov dword [edi + 0x8718], ecx
jmp 0x498bdd
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x499265
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x499286
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x4992d8
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x4992d8
mov edx, dword [esi + 0x68]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov dword [ebp - 4], ecx
call fcn.00495cd0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4996e3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
call fcn.004962e0
push ebx
mov dword [ebp - 4], eax
call dword [0x636004]
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x498bda
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x49937a
cmp eax, 0x190
jge 0x49937a
mov edx, dword [esi + 0x68]
push 9
push edx
push str.Location:
call fcn.0049bb00
add esp, 0xc
test eax, eax
je 0x49937a
cmp dword [edi + 0x108], 0
jne 0x49937a
mov eax, dword [esi + 0x68]
push eax
call fcn.00495cd0
add esp, 4
test eax, eax
je 0x4996e3
cmp byte [eax], 0
jne 0x499339
push eax
call dword [0x636004]
add esp, 4
jmp 0x498bdd
cmp dword [edi + 0x304], 0
mov dword [edi + 0x108], eax
je 0x498bdd
push eax
call dword [0x63600c]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x4996e3
push ebx
call fcn.00495f10
add esp, 4
test eax, eax
jne 0x4997a1
jmp 0x498bdd
mov ecx, dword [ebx + 0x240]
test dword [ecx + 0x3c], 0x40000
je 0x498bdd
mov edx, dword [esi + 0x68]
push edx
push ebx
call fcn.004864d0
add esp, 8
test eax, eax
jne 0x4997a1
jmp 0x498bdd
cmp cl, 0xd
jne 0x4993b0
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4993bc
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x499485
cmp eax, 0xc7
jg 0x499485
xor ecx, ecx
sub eax, 0x64
mov ebx, 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ecx
je 0x49946b
sub eax, ebx
jne 0x4993f9
cmp dword [esi + 0x88], ebx
je 0x4995fb
mov ebx, dword [ebp + 0xc]
mov edx, ebx
call fcn.00496410
test eax, eax
jne 0x4996ef
lea ecx, [eax + 2]
cmp dword [edi + 0x310], eax
je 0x499419
lea ecx, [eax + 3]
mov eax, dword [edi + 0x5bc]
mov ebx, dword [esi + 0x68]
sub ebx, eax
push ebx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047faf0
add esp, 0x10
test eax, eax
jne 0x4997a1
add dword [edi + 0x80], ebx
add dword [edi + 0x8720], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x80]
cmp eax, 0x64
jl 0x4994fe
cmp eax, 0xc7
jg 0x4994fe
mov eax, ecx
jmp 0x499500
cmp dword [esi + 0x84], ecx
je 0x4993f9
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], ecx
jmp 0x4993f9
mov edx, dword [esi]
and edx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp edx, 0xffffffff
jne 0x4993fc
cmp dword [esi + 0xc8], 0
jne 0x4993fc
cmp dword [ebx + 0x1cc], 0
jne 0x4993fc
cmp dword [ebx + 0x13c], 0xb
jne 0x4993fc
mov eax, dword [ebx + 0x240]
test dword [eax + 0x3c], 0x40000
jne 0x4993fc
cmp dword [edi + 0x268], 5
je 0x4993fc
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.0047f7a0
add esp, 8
mov dword [ebx + 0x1cc], 1
jmp 0x4993fc
xor eax, eax
mov edx, dword [ebp + 0x14]
mov dword [edi + 0x84], eax
cmp dword [edx], 0
jne 0x4995c0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00496ca0
add esp, 4
test eax, eax
jne 0x4997a1
cmp dword [esi + 0x78], 0x12c
jl 0x49959f
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x204], eax
jne 0x4995a2
cmp dword [ecx + 0x1cc], eax
jne 0x4995a2
cmp dword [ecx + 0x208], eax
jne 0x4995ab
mov eax, dword [edi + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4995a2
cmp dword [esi + 0xac], 0
jne 0x4995a2
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.0047f7a0
mov ecx, dword [ebp + 0xc]
mov eax, 1
mov dword [ecx + 0x1cc], eax
and dword [esi + 0xa8], 0xfffffffd
add esp, 8
mov dword [esi + 0xac], eax
cmp dword [edi + 0x86ac], 0
je 0x49959f
mov dword [esi + 0x84], 3
jmp 0x4995a2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x208], 0
je 0x4995c0
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.0047f7a0
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x49970d
mov edx, dword [edi + 0x5bc]
mov dword [esi + 0x54], edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x58], 0
cmp dword [eax], 0
jne 0x49979f
mov ecx, dword [esi + 0x5c]
cmp byte [ecx], 0
jne 0x4988b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.0047f7a0
add esp, 8
pop edi
mov dword [esi + 0x88], 2
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.00496b40
add esp, 4
test eax, eax
jne 0x4997a1
cmp dword [esi + 0x50], eax
jne 0x49979f
cmp dword [esi + 0x58], 5
jbe 0x49979f
mov eax, dword [edi + 0x5bc]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00496b10
add esp, 4
test eax, eax
jne 0x49979f
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x49968f
pop edi
mov dword [esi + 0x4c], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x4c], 2
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00496c00
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.0047f820
add esp, 8
pop edi
pop esi
mov eax, 0x3f
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.0047f820
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x31c], 0
je 0x499721
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x499738
cmp dword [esi + 0xc8], 0
je 0x499738
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x499746
cmp ecx, eax
je 0x49975c
push ecx
push eax
push edi
call fcn.0049c6e0
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 0x499773
cmp dword [esi + 0x14], 0
jne 0x499773
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x49977b
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x499782
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x32c], 0
je 0x49979f
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x60]
push edx
push ebx
push eax
push 1
push edi
call fcn.0047f6c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret