Function at 0x4b09e0
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
lea edi, [ebp + 0x4c]
mov edi, edi
mov ebx, dword [esp + 0x28]
mov eax, dword [edi + 0x44]
mov dword [edi + 0x48], eax
push dword [ebx]
push 0xa
push eax
call dword [sym.imp.MSVCRT.dll_memchr]
mov esi, eax
add esp, 0xc
mov dword [edi + 0x4c], esi
test esi, esi
je 0x4b176a
sub esi, dword [edi + 0x44]
inc esi
sub dword [ebx], esi
mov eax, dword [edi + 0x4c]
inc eax
mov dword [edi + 0x44], eax
sub eax, dword [edi + 0x48]
push eax
push edi
push ebp
call fcn.004b18d0
add esp, 0xc
test eax, eax
jne 0x4b17a5
cmp dword [edi + 0x38], 0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp + 0x4bc]
mov dword [edi + 0x50], eax
jne 0x4b0a6a
cmp dword [edi + 0x40], 5
jbe 0x4b0a6a
push dword [ebp + 0x4bc]
push ebp
call fcn.004b17b0
add esp, 8
test al, al
je 0x4b1630
mov edx, dword [edi + 0x50]
mov al, byte [edx]
cmp al, 0xa
je 0x4b1405
cmp al, 0xd
je 0x4b1409
mov ecx, dword [edi + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x38], eax
test ecx, ecx
jne 0x4b0ca2
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x25c]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x4b0be0
lea ebx, [edi + 0x5c]
push ebx
lea esi, [ecx + 0x12c]
push esi
lea eax, [esp + 0x28]
push eax
push str._HTTP__d._d__d
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x4b0b9b
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
cmp dword [edi + 0x6c], 2
jne 0x4b0af1
cmp dword [esi], 0x14
je 0x4b0af1
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.004a9320
add esp, 8
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx]
mov dword [ebp + 0x8624], eax
mov eax, dword [esi]
mov dword [ebp + 0x862c], eax
mov eax, dword [ebp + 0x85dc]
test eax, eax
je 0x4b0b13
cmp eax, dword [esi]
jle 0x4b0b1b
mov eax, dword [esi]
mov dword [ebp + 0x85dc], eax
cmp byte [ebp + 0x274], 0
je 0x4b0b72
mov eax, dword [ebx]
cmp eax, 0x190
jl 0x4b0b72
cmp eax, 0x191
jne 0x4b0b3d
cmp byte [ecx + 0x234], 0
jne 0x4b0b72
cmp eax, 0x197
jne 0x4b0b4d
cmp byte [ecx + 0x235], 0
jne 0x4b0b72
cmp dword [ebp + 0x85f4], 0
je 0x4b165d
cmp dword [ebp + 0x200], 1
jne 0x4b165d
cmp eax, 0x1a0
jne 0x4b165d
mov eax, dword [esi]
cmp eax, 0xa
jne 0x4b0c37
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.004a9320
mov ecx, dword [esp + 0x2c]
add esp, 8
mov byte [ecx + 0x230], 1
jmp 0x4b0c70
push ebx
push str._HTTP__3d
push dword [edi + 0x50]
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x4b0af1
push dword [edi + 0x50]
push ebp
call fcn.004b17b0
add esp, 8
test al, al
je 0x4b179f
mov dword [ebx], 0xc8
mov dword [esi], 0xa
jmp 0x4b0af1
test eax, 0x40000
je 0x4b179f
lea ebx, [edi + 0x5c]
push ebx
lea esi, [ecx + 0x130]
push esi
lea eax, [esp + 0x18]
push eax
push str._RTSP__d._d__3d
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x4b179f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x12c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
lea esi, [ecx + 0x12c]
jmp 0x4b0af5
cmp eax, 0x14
je 0x4b0c70
cmp dword [edi + 0x6c], 1
jne 0x4b0c47
cmp dword [ebx], 0x65
je 0x4b0c70
cmp eax, 0xb
jl 0x4b0c70
cmp byte [ecx + 0x230], 0
jne 0x4b0c70
mov esi, dword [ecx + 0x520]
test esi, esi
je 0x4b0c70
push ecx
push ebp
call fcn.004b3a70
add esp, 8
test al, al
jne 0x4b0c70
mov byte [esi], 1
mov eax, dword [ebx]
sub eax, 0xcc
je 0x4b0c7e
sub eax, 0x64
jne 0x4b0ca2
cmp dword [ebp + 0x1f8], 0
je 0x4b0c8e
mov byte [ebp + 0x8634], 1
mov dword [edi], 0
mov dword [edi + 8], 0
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
jne 0x4b0d2a
cmp byte [ebp + 0x29b], 0
jne 0x4b0d2a
push 0xf
push dword [edi + 0x50]
push str.Content_Length:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0d2a
mov eax, dword [edi + 0x50]
push 0xa
add eax, 0xf
push 0
push eax
call dword [sym.imp.MSVCRT.dll_strtol]
mov ecx, dword [ebp + 0x258]
add esp, 0xc
test ecx, ecx
je 0x4b0cf0
cmp eax, ecx
jg 0x4b1673
push eax
test eax, eax
js 0x4b0d0c
push ebp
mov dword [edi], eax
mov dword [edi + 8], eax
call fcn.004b7400
mov ebx, dword [esp + 0x2c]
add esp, 8
jmp 0x4b13ab
mov ebx, dword [esp + 0x28]
push str.Negative_content_length:__ld__closing_after_transfer_n
push ebp
mov byte [ebx + 0x230], 1
call fcn.004a9320
add esp, 0xc
jmp 0x4b13ab
push 0xd
push dword [edi + 0x50]
push str.Content_Type:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0d8b
push dword [edi + 0x50]
call fcn.004b0450
mov esi, eax
add esp, 4
test esi, esi
je 0x4b168e
cmp byte [esi], 0
jne 0x4b0d6d
push esi
call dword [0x6fb5a4]
mov ebx, dword [esp + 0x28]
add esp, 4
jmp 0x4b13ab
push dword [ebp + 0x864c]
call dword [0x6fb5a4]
mov ebx, dword [esp + 0x28]
add esp, 4
mov dword [ebp + 0x864c], esi
jmp 0x4b13ab
push 7
push dword [edi + 0x50]
push str.Server:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0de7
push dword [edi + 0x50]
call fcn.004b0450
mov ebx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov ecx, dword [ebx + 0x520]
test ecx, ecx
je 0x4b0dd8
cmp byte [ecx], 0
je 0x4b0dd8
push esi
push ebp
call fcn.004b3830
add esp, 8
test al, al
je 0x4b0dd8
mov eax, dword [ebx + 0x520]
mov byte [eax], 0
push esi
call dword [0x6fb5a4]
add esp, 4
jmp 0x4b13ab
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x12c], 0xa
jne 0x4b0e30
cmp byte [ebx + 0x233], 0
je 0x4b0e30
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x50]
call fcn.004b0380
add esp, 0xc
test al, al
je 0x4b0e30
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
mov byte [ebx + 0x230], 0
call fcn.004a9320
add esp, 8
jmp 0x4b13ab
cmp dword [ebx + 0x12c], 0xb
jne 0x4b0e75
cmp byte [ebx + 0x233], 0
je 0x4b0e75
push str.close
push str.Proxy_Connection:
push dword [edi + 0x50]
call fcn.004b0380
add esp, 0xc
test al, al
je 0x4b0e75
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
mov byte [ebx + 0x230], 1
call fcn.004a9320
add esp, 8
jmp 0x4b13ab
cmp dword [ebx + 0x12c], 0xa
jne 0x4b0eb1
push str.keep_alive
push str.Connection:
push dword [edi + 0x50]
call fcn.004b0380
add esp, 0xc
test al, al
je 0x4b0eb1
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
mov byte [ebx + 0x230], 0
call fcn.004a9320
add esp, 8
jmp 0x4b13ab
push str.close
push str.Connection:
push dword [edi + 0x50]
call fcn.004b0380
add esp, 0xc
test al, al
je 0x4b0ed6
mov byte [ebx + 0x230], 1
jmp 0x4b13ab
push 0x12
push dword [edi + 0x50]
push str.Transfer_Encoding:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b1022
mov esi, dword [edi + 0x50]
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x4b0f1e
lea esp, [esp]
movzx eax, al
push eax
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
jne 0x4b0f16
cmp byte [esi], 0x2c
jne 0x4b0f1e
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b0f00
push 7
push esi
push str.chunked
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0f45
push ebx
mov byte [edi + 0xa0], 1
call fcn.004c0c30
add esp, 4
add esi, 7
cmp dword [edi + 0x70], 0
jne 0x4b13ab
push 8
push esi
push str.identity
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0f6f
mov dword [edi + 0x70], 0
add esi, 8
jmp 0x4b0ef6
push 7
push esi
push str.deflate
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0f92
mov dword [edi + 0x70], 1
add esi, 7
jmp 0x4b0ef6
push 4
push esi
push str.gzip
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0fb5
mov dword [edi + 0x70], 2
add esi, 4
jmp 0x4b0ef6
push 6
push esi
push str.x_gzip
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0fd8
mov dword [edi + 0x70], 2
add esi, 6
jmp 0x4b0ef6
push 8
push esi
push str.compress
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b0ffb
mov dword [edi + 0x70], 3
add esi, 8
jmp 0x4b0ef6
push 0xa
push esi
push str.x_compress
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b13ab
mov dword [edi + 0x70], 3
add esi, 0xa
jmp 0x4b0ef6
push 0x11
push dword [edi + 0x50]
push str.Content_Encoding:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b1125
cmp dword [ebp + 0x2cc], 0
jne 0x4b1052
cmp dword [ebx + 0x12c], 0x14
jne 0x4b1125
mov esi, dword [edi + 0x50]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x4b1079
mov edi, edi
movzx eax, al
push eax
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x4b1079
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b1060
push 8
push esi
push str.identity
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b1099
mov dword [edi + 0x70], 0
jmp 0x4b13ab
push 7
push esi
push str.deflate
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b10b9
mov dword [edi + 0x70], 1
jmp 0x4b13ab
push 4
push esi
push str.gzip
call fcn.004b4060
add esp, 0xc
test eax, eax
jne 0x4b1119
push 6
push esi
push str.x_gzip
call fcn.004b4060
add esp, 0xc
test eax, eax
jne 0x4b1119
push 8
push esi
push str.compress
call fcn.004b4060
add esp, 0xc
test eax, eax
jne 0x4b110d
push 0xa
push esi
push str.x_compress
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b13ab
mov dword [edi + 0x70], 3
jmp 0x4b13ab
mov dword [edi + 0x70], 2
jmp 0x4b13ab
push 0xe
push dword [edi + 0x50]
push str.Content_Range:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b11b4
mov esi, dword [edi + 0x50]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x4b116e
jmp 0x4b1150
movzx eax, al
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
add esp, 4
test eax, eax
jne 0x4b116e
cmp byte [esi], 0x2a
je 0x4b116e
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b1150
movzx eax, byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
add esp, 4
test eax, eax
je 0x4b11a5
push 0xa
push 0
push esi
call dword [sym.imp.MSVCRT.dll_strtol]
add esp, 0xc
mov dword [edi + 0x58], eax
cmp dword [ebp + 0x85f4], eax
jne 0x4b13ab
mov byte [edi + 0x54], 1
jmp 0x4b13ab
mov dword [ebp + 0x85f4], 0
jmp 0x4b13ab
cmp dword [ebp + 0x3c8], 0
je 0x4b121c
push 0xb
push dword [edi + 0x50]
push str.Set_Cookie:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b121c
push 2
push 2
push ebp
call fcn.004b48c0
mov eax, dword [ebx + 0x28c]
add esp, 0xc
test eax, eax
jne 0x4b11f0
mov eax, dword [ebx + 0x88]
push dword [ebp + 0x85e8]
push eax
mov eax, dword [edi + 0x50]
add eax, 0xb
push eax
push 1
push dword [ebp + 0x3c8]
push ebp
call fcn.004a63a0
push 2
push ebp
call fcn.004b4900
add esp, 0x20
jmp 0x4b13ab
push 0xe
push dword [edi + 0x50]
push str.Last_Modified:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b127f
cmp dword [ebp + 0x1f8], 0
jne 0x4b1244
cmp byte [ebp + 0x26d], 0
je 0x4b127f
push 0
call dword [0x6fb5c4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x50]
add eax, 0xe
push eax
call fcn.004bb150
add esp, 0xc
mov dword [edi + 0x74], eax
cmp byte [ebp + 0x26d], 0
je 0x4b13ab
mov dword [ebp + 0x8630], eax
jmp 0x4b13ab
push 0x11
push dword [edi + 0x50]
push str.WWW_Authenticate:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b129f
mov eax, dword [edi + 0x5c]
cmp eax, 0x191
je 0x4b12bf
push 0x13
push dword [edi + 0x50]
push str.Proxy_authenticate:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b1306
mov eax, dword [edi + 0x5c]
cmp eax, 0x197
jne 0x4b1306
push dword [edi + 0x50]
cmp eax, 0x197
sete byte [esp + 0x1c]
call fcn.004b0450
mov esi, eax
add esp, 4
test esi, esi
je 0x4b168e
push esi
push dword [esp + 0x1c]
push ebx
call fcn.004b06d0
push esi
mov ebx, eax
call dword [0x6fb5a4]
add esp, 0x10
test ebx, ebx
jne 0x4b169b
mov ebx, dword [esp + 0x24]
jmp 0x4b13ab
mov eax, dword [edi + 0x5c]
cmp eax, 0x12c
jl 0x4b1398
cmp eax, 0x190
jge 0x4b1398
push 9
push dword [edi + 0x50]
push str.Location:
call fcn.004b4060
add esp, 0xc
test eax, eax
je 0x4b1398
cmp dword [ebp + 0xdc], 0
jne 0x4b1398
push dword [edi + 0x50]
call fcn.004b0450
add esp, 4
test eax, eax
je 0x4b168e
cmp byte [eax], 0
jne 0x4b135e
push eax
call dword [0x6fb5a4]
add esp, 4
jmp 0x4b13ab
cmp byte [ebp + 0x275], 0
mov dword [ebp + 0xdc], eax
je 0x4b13ab
push eax
call dword [0x6fb5ac]
add esp, 4
mov dword [ebp + 0xe0], eax
test eax, eax
je 0x4b168e
push ebx
call fcn.004b1a80
add esp, 4
test eax, eax
jne 0x4b17a5
jmp 0x4b13ab
mov eax, dword [ebx + 0x25c]
test dword [eax + 0x3c], 0x40000
jne 0x4b16a5
cmp byte [ebp + 0x278], 0
mov esi, 2
je 0x4b13be
mov esi, 3
cmp byte [ebp + 0x284], 0
je 0x4b13d9
push ebx
push dword [edi + 0x40]
push dword [edi + 0x50]
push 1
push ebp
call fcn.004a9180
add esp, 0x14
push dword [edi + 0x40]
push dword [edi + 0x50]
push esi
push ebx
call fcn.004a9150
add esp, 0x10
test eax, eax
jne 0x4b17a5
mov eax, dword [edi + 0x40]
add dword [ebp + 0x8638], eax
mov eax, dword [edi + 0x40]
add dword [ebp + 0x64], eax
jmp 0x4b156a
cmp al, 0xd
jne 0x4b140f
lea eax, [edx + 1]
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x50]
cmp byte [eax], 0xa
jne 0x4b141b
inc eax
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x5c]
cmp eax, 0x64
jl 0x4b15be
cmp eax, 0xc7
jg 0x4b15be
mov byte [edi + 0x30], 1
mov dword [edi + 0x38], 0
sub eax, 0x64
je 0x4b159d
dec eax
jne 0x4b1453
cmp dword [edi + 0x6c], 1
je 0x4b16b2
mov ebx, dword [esp + 0x24]
push ebx
call fcn.004b1bc0
add esp, 4
test eax, eax
jne 0x4b174c
lea ecx, [eax + 2]
cmp byte [ebp + 0x278], al
je 0x4b1476
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x4bc]
mov esi, dword [edi + 0x50]
sub esi, eax
push esi
push eax
push ecx
push ebx
call fcn.004a9150
add esp, 0x10
test eax, eax
jne 0x4b17a5
add dword [ebp + 0x64], esi
add dword [ebp + 0x8638], esi
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp + 0x64]
cmp eax, 0x64
jl 0x4b14b0
cmp eax, 0xc7
jle 0x4b14b2
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x68], ecx
cmp byte [eax], 0
jne 0x4b1560
push ebx
call fcn.004b0510
add esp, 4
test eax, eax
jne 0x4b17a5
cmp dword [edi + 0x5c], 0x12c
jl 0x4b153e
cmp byte [ebx + 0x23e], al
jne 0x4b153e
cmp byte [ebx + 0x230], al
jne 0x4b153e
cmp byte [ebx + 0x23f], al
jne 0x4b1547
mov eax, dword [ebp + 0x200]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4b153e
cmp byte [edi + 0x8c], 0
jne 0x4b153e
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.004a9320
mov byte [ebx + 0x230], 1
add esp, 8
and dword [edi + 0x88], 0xfffffffd
mov byte [edi + 0x8c], 1
cmp byte [ebp + 0x85e0], 0
je 0x4b153e
mov dword [edi + 0x68], 3
cmp byte [ebx + 0x23f], 0
je 0x4b155c
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.004a9320
add esp, 8
or dword [edi + 0x88], 2
mov eax, dword [esp + 0x2c]
cmp byte [edi + 0x30], 0
je 0x4b16d4
mov eax, dword [ebp + 0x4bc]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x40], 0
cmp byte [eax], 0
jne 0x4b17a3
mov eax, dword [edi + 0x44]
cmp byte [eax], 0
jne 0x4b09f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x68], 0
mov ebx, dword [esp + 0x24]
je 0x4b1457
or dword [edi + 0x88], 2
mov dword [edi + 0x68], 0
jmp 0x4b1457
cmp dword [edi], 0xffffffff
mov byte [edi + 0x30], 0
jne 0x4b1453
cmp byte [edi + 0xa0], 0
mov ebx, dword [esp + 0x24]
jne 0x4b1457
cmp byte [ebx + 0x230], 0
jne 0x4b1457
cmp dword [ebx + 0x12c], 0xb
jne 0x4b1457
mov eax, dword [ebx + 0x25c]
test dword [eax + 0x3c], 0x40000
jne 0x4b1457
cmp dword [ebp + 0x200], 5
je 0x4b1457
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.004a9320
add esp, 8
mov byte [ebx + 0x230], 1
jmp 0x4b1457
mov byte [edi + 0x30], 0
cmp dword [ebx], 0
je 0x4b164a
mov dword [edi + 0x34], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov dword [edi + 0x34], 2
xor eax, eax
pop edi
mov dword [ebx], esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebp
call fcn.004b1e40
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
push ebp
call fcn.004a9250
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xc
ret
push str.Received_101_n
push ebp
call fcn.004a9320
add esp, 8
mov dword [edi + 0x6c], 2
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp byte [ebp + 0x27b], 0
je 0x4b16e2
mov byte [eax], 1
jmp 0x4b16f8
cmp byte [edi + 0xa0], 0
je 0x4b16f8
mov dword [edi], 0xffffffff
mov dword [edi + 8], 0xffffffff
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4b170e
push eax
push ebp
call fcn.004b7400
mov eax, dword [edi]
add esp, 8
mov dword [edi + 8], eax
cmp dword [edi + 8], 0
mov eax, dword [esp + 0x2c]
jne 0x4b171d
mov byte [eax], 1
jmp 0x4b1722
cmp byte [eax], 0
je 0x4b1729
and dword [edi + 0x88], 0xfffffffe
cmp byte [ebp + 0x284], 0
je 0x4b17a3
push ebx
push esi
push dword [edi + 0x48]
push 1
push ebp
call fcn.004a9180
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push dword [edi + 0x5c]
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.004a9250
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push dword [ebx]
push edi
push ebp
call fcn.004b18d0
add esp, 0xc
test eax, eax
jne 0x4b17a5
cmp dword [edi + 0x38], eax
jne 0x4b17a3
cmp dword [edi + 0x40], 5
jbe 0x4b17a3
push dword [ebp + 0x4bc]
push ebp
call fcn.004b17b0
add esp, 8
test al, al
jne 0x4b17a3
mov dword [edi + 0x34], 2
mov byte [edi + 0x30], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret