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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
lea edi, [ebx + 0x18]
mov edi, edi
mov eax, dword [edi + 0x5c]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x60], eax
push dword [ebp]
push 0xa
push eax
call fcn.004c2b50
mov esi, eax
add esp, 0xc
mov dword [edi + 0x64], esi
test esi, esi
je 0x4188b0
sub esi, dword [edi + 0x5c]
inc esi
sub dword [ebp], esi
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
push edi
push ebx
call fcn.00418ad0
add esp, 0xc
test eax, eax
jne 0x4188ef
cmp dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x574]
mov dword [edi + 0x68], eax
jne 0x417c3b
cmp dword [edi + 0x58], 5
jbe 0x417c3b
push dword [ebx + 0x574]
push ebx
call fcn.00418900
add esp, 8
test eax, eax
je 0x418787
mov edx, dword [edi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x418589
cmp al, 0xd
je 0x41858d
mov ecx, dword [edi + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x50], eax
test ecx, ecx
jne 0x417e56
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x238]
mov eax, dword [eax + 0x3c]
test al, 1
je 0x417da5
lea ebp, [edi + 0x78]
push ebp
lea esi, [ecx + 0x118]
push esi
lea eax, [esp + 0x28]
push eax
push str._HTTP__d._d__3d
push edx
call fcn.004c4e28
add esp, 0x14
cmp eax, 3
jne 0x417d60
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp]
mov dword [ebx + 0x86cc], eax
mov eax, dword [esi]
mov dword [ebx + 0x86d4], eax
mov eax, dword [ebx + 0x8660]
test eax, eax
je 0x417ccb
cmp eax, dword [esi]
jle 0x417cd3
mov eax, dword [esi]
mov dword [ebx + 0x8660], eax
cmp dword [ebx + 0x2f0], 0
je 0x417d34
mov edx, dword [ebp]
cmp edx, 0x190
jl 0x417d34
cmp edx, 0x191
jne 0x417cf8
cmp dword [ecx + 0x1d0], 0
jne 0x417d34
cmp edx, 0x197
jne 0x417d09
cmp dword [ecx + 0x1d4], 0
jne 0x417d34
mov eax, dword [ebx + 0x8690]
or eax, dword [ebx + 0x8694]
je 0x418892
cmp dword [ebx + 0x250], 1
jne 0x418892
cmp edx, 0x1a0
jne 0x418892
mov eax, dword [esi]
cmp eax, 0xa
jne 0x417df7
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.0040fba0
mov ecx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx + 0x1c0], 1
jmp 0x417e0f
push ebp
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.004c4e28
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x417ca8
push dword [edi + 0x68]
push ebx
call fcn.00418900
add esp, 8
test eax, eax
je 0x4188e6
mov dword [ebp], 0xc8
mov dword [esi], 0xa
jmp 0x417ca8
test eax, 0x40000
je 0x4188e6
lea ebp, [edi + 0x78]
push ebp
lea esi, [ecx + 0x11c]
push esi
lea eax, [esp + 0x18]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.004c4e28
add esp, 0x14
cmp eax, 3
jne 0x4188e6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
lea esi, [ecx + 0x118]
mov dword [esi], 0xb
jmp 0x417cac
cmp eax, 0xb
jl 0x417e0f
cmp dword [ecx + 0x1c0], 0
jne 0x417e0f
mov dword [ecx + 0x280], 1
mov eax, dword [ebp]
sub eax, 0xcc
je 0x417e1e
sub eax, 0x64
jne 0x417e56
cmp dword [ebx + 0x240], 0
je 0x417e31
mov dword [ebx + 0x86dc], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0xec], 1
cmp dword [edi + 0xec], 0
jne 0x417f0d
cmp dword [ebx + 0x350], 0
jne 0x417f0d
push 0xf
push dword [edi + 0x68]
push str.Content_Length:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x417f0d
mov eax, dword [edi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004c545a
mov ebp, dword [ebx + 0x2b8]
mov esi, dword [ebx + 0x2bc]
mov ecx, ebp
add esp, 0xc
or ecx, esi
je 0x417ec1
cmp edx, esi
jg 0x4187b9
jl 0x417ec1
cmp eax, ebp
ja 0x4187b9
test edx, edx
jl 0x417eea
jg 0x417ecb
test eax, eax
jb 0x417eea
push edx
push eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call fcn.00419a70
mov ebp, dword [esp + 0x30]
add esp, 0xc
jmp 0x41852e
mov ebp, dword [esp + 0x24]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov dword [ebp + 0x1c0], 1
call fcn.0040fba0
add esp, 0x10
jmp 0x41852e
push 0xd
push dword [edi + 0x68]
push str.Content_Type:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x417f7d
push dword [edi + 0x68]
call fcn.00418970
mov esi, eax
add esp, 4
test esi, esi
je 0x4187d4
cmp byte [esi], 0
jne 0x417f50
push esi
call dword [0x51f040]
mov ebp, dword [esp + 0x28]
add esp, 4
jmp 0x41852e
mov eax, dword [ebx + 0x86f4]
test eax, eax
je 0x417f6e
push eax
call dword [0x51f040]
add esp, 4
mov dword [ebx + 0x86f4], 0
mov ebp, dword [esp + 0x24]
mov dword [ebx + 0x86f4], esi
jmp 0x41852e
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x118], 0xa
jne 0x417fc9
cmp dword [ebp + 0x1cc], 0
je 0x417fc9
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.00417600
add esp, 0xc
test eax, eax
je 0x417fc9
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov dword [ebp + 0x1c0], 0
call fcn.0040fba0
add esp, 8
jmp 0x41852e
cmp dword [ebp + 0x118], 0xb
jne 0x418011
cmp dword [ebp + 0x1cc], 0
je 0x418011
push str.close
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.00417600
add esp, 0xc
test eax, eax
je 0x418011
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov dword [ebp + 0x1c0], 1
call fcn.0040fba0
add esp, 8
jmp 0x41852e
cmp dword [ebp + 0x118], 0xa
jne 0x418050
push str.keep_alive
push str.Connection:
push dword [edi + 0x68]
call fcn.00417600
add esp, 0xc
test eax, eax
je 0x418050
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov dword [ebp + 0x1c0], 0
call fcn.0040fba0
add esp, 8
jmp 0x41852e
push str.close
push str.Connection:
push dword [edi + 0x68]
call fcn.00417600
add esp, 0xc
test eax, eax
je 0x418078
mov dword [ebp + 0x1c0], 1
jmp 0x41852e
push 0x12
push dword [edi + 0x68]
push str.Transfer_Encoding:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x4181dc
mov esi, dword [edi + 0x68]
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x4180bd
mov edi, edi
movzx eax, al
push eax
call fcn.004c34e0
add esp, 4
test eax, eax
jne 0x4180b5
cmp byte [esi], 0x2c
jne 0x4180bd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4180a0
push 7
push esi
push str.chunked
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x4180e7
push ebp
mov dword [edi + 0x100], 1
call fcn.004152e0
add esp, 4
add esi, 7
cmp dword [edi + 0x88], 0
jne 0x41852e
push 8
push esi
push str.identity
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41811a
mov dword [edi + 0x88], 0
add esi, 8
jmp 0x418098
push 7
push esi
push str.deflate
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x418140
mov dword [edi + 0x88], 1
add esi, 7
jmp 0x418098
push 4
push esi
push str.gzip
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x418166
mov dword [edi + 0x88], 2
add esi, 4
jmp 0x418098
push 6
push esi
push str.x_gzip
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41818c
mov dword [edi + 0x88], 2
add esi, 6
jmp 0x418098
push 8
push esi
push str.compress
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x4181b2
mov dword [edi + 0x88], 3
add esi, 8
jmp 0x418098
push 0xa
push esi
push str.x_compress
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41852e
mov dword [edi + 0x88], 3
add esi, 0xa
jmp 0x418098
push 0x11
push dword [edi + 0x68]
push str.Content_Encoding:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x4182e0
cmp dword [ebx + 0x38c], 0
je 0x4182e0
mov esi, dword [edi + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x418228
nop
movzx eax, al
push eax
call fcn.004c34e0
add esp, 4
test eax, eax
je 0x418228
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x418210
push 8
push esi
push str.identity
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41824b
mov dword [edi + 0x88], 0
jmp 0x41852e
push 7
push esi
push str.deflate
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41826e
mov dword [edi + 0x88], 1
jmp 0x41852e
push 4
push esi
push str.gzip
call fcn.00413230
add esp, 0xc
test eax, eax
jne 0x4182d1
push 6
push esi
push str.x_gzip
call fcn.00413230
add esp, 0xc
test eax, eax
jne 0x4182d1
push 8
push esi
push str.compress
call fcn.00413230
add esp, 0xc
test eax, eax
jne 0x4182c2
push 0xa
push esi
push str.x_compress
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41852e
mov dword [edi + 0x88], 3
jmp 0x41852e
mov dword [edi + 0x88], 2
jmp 0x41852e
push 0xe
push dword [edi + 0x68]
push str.Content_Range:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x418354
mov esi, dword [edi + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x41831a
movzx eax, al
push eax
call fcn.004c3430
add esp, 4
test eax, eax
jne 0x41831a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x418302
push 0xa
push 0
push esi
call fcn.004c545a
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8690]
add esp, 0xc
cmp eax, dword [edi + 0x70]
jne 0x41852e
cmp dword [ebx + 0x8694], edx
jne 0x41852e
mov dword [edi + 0x6c], 1
jmp 0x41852e
cmp dword [ebx + 0x450], 0
je 0x4183bc
push 0xb
push dword [edi + 0x68]
push str.Set_Cookie:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x4183bc
push 2
push 2
push ebx
call fcn.00413070
mov eax, dword [ebp + 0x268]
add esp, 0xc
test eax, eax
jne 0x418390
mov eax, dword [ebp + 0x80]
push dword [ebx + 0x8678]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x450]
push ebx
call fcn.00403f40
push 2
push ebx
call fcn.004130b0
add esp, 0x20
jmp 0x41852e
push 0xe
push dword [edi + 0x68]
push str.Last_Modified:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41842b
cmp dword [ebx + 0x240], 0
jne 0x4183e4
cmp dword [ebx + 0x2d4], 0
je 0x41842b
push 0
call fcn.004c37ed
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xe
push eax
mov dword [esp + 0x24], edx
call fcn.004114b0
add esp, 0xc
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], edx
cmp dword [ebx + 0x2d4], 0
je 0x41852e
mov dword [ebx + 0x86d8], eax
jmp 0x41852e
push 0x11
push dword [edi + 0x68]
push str.WWW_Authenticate:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41844b
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x41846b
push 0x13
push dword [edi + 0x68]
push str.Proxy_authenticate:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x418485
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x418485
push dword [edi + 0x68]
push eax
push ebp
call fcn.004178a0
add esp, 0xc
test eax, eax
jne 0x4188ef
jmp 0x41852e
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x41851b
cmp eax, 0x190
jge 0x41851b
push 9
push dword [edi + 0x68]
push str.Location:
call fcn.00413230
add esp, 0xc
test eax, eax
je 0x41851b
cmp dword [ebx + 0x108], 0
jne 0x41851b
push dword [edi + 0x68]
call fcn.00418970
add esp, 4
test eax, eax
je 0x4187d4
cmp byte [eax], 0
jne 0x4184e1
push eax
call dword [0x51f040]
add esp, 4
jmp 0x41852e
cmp dword [ebx + 0x2f4], 0
mov dword [ebx + 0x108], eax
je 0x41852e
push eax
call dword [0x51f048]
add esp, 4
mov dword [ebx + 0x10c], eax
test eax, eax
je 0x4187d4
push ebp
call fcn.00418c90
add esp, 4
test eax, eax
jne 0x4188ef
jmp 0x41852e
mov eax, dword [ebp + 0x238]
test dword [eax + 0x3c], 0x40000
jne 0x4187e1
cmp dword [ebx + 0x300], 0
mov esi, 2
mov eax, 3
cmovne esi, eax
cmp dword [ebx + 0x31c], 0
je 0x41855d
push ebp
push dword [edi + 0x58]
push dword [edi + 0x68]
push 1
push ebx
call fcn.0040f9e0
add esp, 0x14
push dword [edi + 0x58]
push dword [edi + 0x68]
push esi
push ebp
call fcn.0040f880
add esp, 0x10
test eax, eax
jne 0x4188ef
mov eax, dword [edi + 0x58]
add dword [ebx + 0x86e0], eax
mov eax, dword [edi + 0x58]
add dword [ebx + 0x48], eax
jmp 0x418754
cmp al, 0xd
jne 0x418593
lea eax, [edx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x41859f
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x4185dc
cmp eax, 0xc7
jg 0x4185dc
cmp dword [edi + 0x84], 0
mov ebp, dword [esp + 0x24]
mov dword [edi + 0x48], 1
mov dword [edi + 0x50], 0
je 0x418633
or dword [edi + 0xe0], 2
mov dword [edi + 0x84], 0
jmp 0x418633
mov eax, dword [edi]
and eax, dword [edi + 4]
mov ebp, dword [esp + 0x24]
mov dword [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x418633
cmp dword [edi + 0x100], 0
jne 0x418633
cmp dword [ebp + 0x1c0], 0
jne 0x418633
cmp dword [ebp + 0x118], 0xb
jl 0x418633
mov eax, dword [ebp + 0x238]
test dword [eax + 0x3c], 0x40000
jne 0x418633
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.0040fba0
add esp, 8
mov dword [ebp + 0x1c0], 1
push ebp
call fcn.00418e40
add esp, 4
test eax, eax
jne 0x418892
cmp dword [ebx + 0x300], eax
mov esi, dword [edi + 0x68]
mov eax, 3
mov ecx, 2
cmovne ecx, eax
mov eax, dword [ebx + 0x574]
sub esi, eax
push esi
push eax
push ecx
push ebp
call fcn.0040f880
add esp, 0x10
test eax, eax
jne 0x4188ef
add dword [ebx + 0x48], esi
add dword [ebx + 0x86e0], esi
mov eax, dword [edi + 0x78]
mov ecx, dword [ebx + 0x48]
cmp eax, 0x64
jl 0x418691
cmp eax, 0xc7
jle 0x418693
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x4c], ecx
cmp dword [eax], 0
jne 0x41874a
push ebp
call fcn.004176d0
add esp, 4
test eax, eax
jne 0x4188ef
cmp dword [edi + 0x78], 0x12c
jl 0x418728
cmp dword [ebp + 0x1fc], eax
jne 0x418728
cmp dword [ebp + 0x1c0], eax
jne 0x418728
cmp dword [ebp + 0x200], eax
jne 0x418731
mov eax, dword [ebx + 0x250]
add eax, 0xfffffffe
cmp eax, 2
ja 0x418728
cmp dword [edi + 0xe4], 0
jne 0x418728
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.0040fba0
mov dword [ebp + 0x1c0], 1
and dword [edi + 0xe0], 0xfffffffd
add esp, 8
mov dword [edi + 0xe4], 1
cmp dword [ebx + 0x8664], 0
je 0x418728
mov dword [edi + 0x84], 3
cmp dword [ebp + 0x200], 0
je 0x418746
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.0040fba0
add esp, 8
or dword [edi + 0xe0], 2
mov eax, dword [esp + 0x2c]
cmp dword [edi + 0x48], 0
je 0x4187ee
mov eax, dword [ebx + 0x574]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x58], 0
cmp dword [eax], 0
jne 0x4188ed
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
jne 0x417bc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov dword [edi + 0x48], 0
cmp dword [ebp], 0
je 0x4187a5
mov dword [edi + 0x4c], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov dword [edi + 0x4c], 2
pop edi
mov dword [ebp], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.0040fad0
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, 4
pop ebx
add esp, 0xc
ret
cmp dword [ebx + 0x30c], 0
je 0x4187ff
mov dword [eax], 1
jmp 0x418823
cmp dword [edi + 0x100], 0
je 0x418823
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x418831
cmp eax, ecx
je 0x418847
push eax
push ecx
push ebx
call fcn.00419a70
mov eax, dword [edi]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x41885f
cmp dword [edi + 0x14], 0
jne 0x41885f
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
jmp 0x418868
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
je 0x41886f
and dword [edi + 0xe0], 0xfffffffe
cmp dword [ebx + 0x31c], 0
je 0x4188ed
push ebp
push esi
push dword [edi + 0x60]
push 1
push ebx
call fcn.0040f9e0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push dword [edi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.0040fad0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push dword [ebp]
push edi
push ebx
call fcn.00418ad0
add esp, 0xc
test eax, eax
jne 0x4188ef
cmp dword [edi + 0x50], eax
jne 0x4188ed
cmp dword [edi + 0x58], 5
jbe 0x4188ed
push dword [ebx + 0x574]
push ebx
call fcn.00418900
add esp, 8
test eax, eax
jne 0x4188ed
mov dword [edi + 0x4c], 2
mov dword [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret