Function at 0x4ad7a0
Capabilities:
Check http status code
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd932
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x200], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x1f8], 0
mov esi, dword [ecx + 0x38]
push 0
push eax
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
call fcn.004ae480
mov ecx, dword [esi]
lea eax, [ebp - 0x208]
add esp, 8
push esi
push 0x4a70a0
push eax
call fcn.004e0330
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 0
push ecx
lea ecx, [eax + 0x14]
call fcn.004d9370
push 1
push 2
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 1
call fcn.00440420
push 0x3f
push 0x6166e8
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 2
call fcn.004c4800
push eax
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp - 0x340]
lea ecx, [ebp - 0x340]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004e3dd0
mov ecx, dword [ebp - 0x1f4]
test ecx, ecx
je 0x4ad8c0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4ad8c0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x1f8]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4ad8e1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4ad8e1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov esi, dword [ebp - 0x200]
lea ecx, [ebp - 0x340]
push dword [esi + 0x114]
call fcn.00440aa0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x340]
call fcn.00449010
push 0x400
push eax
lea eax, [esi + 0xfc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x158]
call fcn.004b8e50
cmp dword [ebp - 0xf4], 0x10
mov byte [ebp - 4], 6
jb 0x4ad941
push dword [ebp - 0x108]
call fcn.005ba02a
add esp, 4
push edi
lea eax, [ebp - 0x158]
mov dword [ebp - 0xf4], 0xf
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0xf8], 0
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 0x108], 0
call fcn.004f1340
mov edx, eax
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], ecx
cmp eax, edx
je 0x4ad9a9
mov ecx, dword [edx + 4]
mov dword [edx + 4], esi
mov esi, dword [edx]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], esi
mov dword [edx], 0
mov eax, dword [edx + 8]
mov dword [ebp - 0x21c], eax
mov dword [edx + 8], 0
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x1f8], edx
test edx, edx
je 0x4ad9f3
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ad9f3
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x1f8]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
jne 0x4ad9f3
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov al, byte [edi + 4]
mov byte [ebp - 4], 8
test al, al
jne 0x4ae366
push 0x2af9
mov ecx, edi
call fcn.0048fde0
mov al, byte [edi + 4]
test al, al
je 0x4adb9c
test esi, esi
je 0x4adb9c
mov eax, dword [ebp - 0x1fc]
push edi
mov ecx, dword [eax]
lea esi, [eax + 4]
push esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1f4], esi
push eax
add ecx, 0x14
call fcn.004d8bc0
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x224]
call fcn.004cb1d0
mov ecx, dword [eax]
imul eax, dword [eax + 8], 0x4c
mov byte [ebp - 4], 9
add eax, dword [ecx]
cmp dword [esi], 0xffffffff
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xa8], eax
jne 0x4adb32
cmp word [ebp - 0xc0], 2
mov eax, 2
mov ecx, dword [ebp - 0x1fc]
mov esi, 0x17
push edi
push 6
cmove esi, eax
lea eax, [ebp - 0x258]
mov ecx, dword [ecx]
push 1
push esi
push dword [ebp - 0x1f4]
add ecx, 0x14
push eax
call fcn.004e00d0
mov al, byte [eax + 4]
test al, al
jne 0x4adb25
mov eax, dword [ebp - 0x1f4]
xorps xmm1, xmm1
movdqu xmmword [ebp - 0x2c], xmm1
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 0
movdqu xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x1c], esi
mov esi, eax
mov byte [esi + 0x20], 0
movdqu xmmword [esi + 0x24], xmm0
movq qword [esi + 0x34], xmm1
mov dword [esi + 0x3c], 0
jmp 0x4adb2b
mov esi, dword [ebp - 0x1f4]
mov al, byte [edi + 4]
test al, al
jne 0x4adb5a
cmp word [ebp - 0xc0], 2
mov ecx, 0x10
mov eax, 0x1c
cmove eax, ecx
push edi
push eax
lea eax, [ebp - 0xc0]
push eax
push dword [esi]
call fcn.004f5b10
add esp, 0x10
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 8
test esi, esi
je 0x4adb8a
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4adb8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4adb8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [edi + 4]
test al, al
je 0x4adb9c
mov esi, dword [ebp - 0x224]
jmp 0x4ada37
mov al, byte [edi + 4]
test al, al
jne 0x4ae366
mov esi, dword [ebp - 0x200]
lea ecx, [ebp - 0x234]
add esi, 0xcc
push esi
call fcn.00504590
mov al, byte [esi + 0xc]
mov byte [ebp - 0x228], al
push str.CONNECT
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.00420f00
push 0x65e8b0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
call fcn.00420f00
push str.Mozilla_5.0__Windows_NT_6.1__Trident_7.0__rv:11.0__like_Gecko
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
call fcn.00420f00
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xd
push eax
push 0x68166c
lea ecx, [ebp - 0x234]
call fcn.004e1630
test al, al
je 0x4adc33
push 0x68166c
lea ecx, [ebp - 0x234]
call fcn.004eea90
push str.text_html__application_xhtmlxml___
lea ecx, [ebp - 0x8c]
call fcn.00420f00
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
push eax
push 0x68160c
lea ecx, [ebp - 0x234]
call fcn.004e1630
test al, al
je 0x4adc72
push 0x68160c
lea ecx, [ebp - 0x234]
call fcn.004eea90
mov esi, dword [ebp - 0x200]
lea ecx, [ebp - 0x74]
push 0xc
push ecx
lea eax, [esi + 0x184]
mov ecx, eax
mov dword [ebp - 0x1f4], eax
call fcn.004f6890
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xf
push eax
push 0x6815f4
lea ecx, [ebp - 0x234]
call fcn.004e1630
test al, al
je 0x4adcbd
push 0x6815f4
lea ecx, [ebp - 0x234]
call fcn.004eea90
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
mov eax, dword [esi + 0x34c]
lea edx, [esi + 0x32c]
mov dword [ebp - 0x204], edx
mov ecx, dword [eax]
mov eax, dword [edx + 0x1c]
sub ecx, dword [eax]
push ecx
mov ecx, edx
call fcn.004d9470
mov dword [ebp - 0x2a8], 0x60b4c8
push 0
lea eax, [esi + 0x32c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x1f8], 1
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x2a4], 0
call fcn.00448860
push 0x65e9ec
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.0048ffa0
add esp, 8
push eax
call fcn.00490600
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x184]
push eax
call fcn.004e3d50
mov esi, eax
mov ecx, dword [ebp - 0x1f4]
mov byte [ebp - 4], 0x13
call fcn.004ec490
movzx ecx, ax
lea eax, [ebp - 0x2a8]
push ecx
push 0x616fac
push esi
push eax
call fcn.0048ffa0
add esp, 8
push eax
call fcn.00490600
add esp, 8
mov ecx, eax
call fcn.004ca1f0
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 0x12
jb 0x4addc2
push dword [ebp - 0x28]
call fcn.005ba02a
add esp, 4
push 0x65e9f0
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x2a8]
push 0x65e9ec
push eax
call fcn.00490600
add esp, 8
push eax
call fcn.0048ffa0
add esp, 8
push eax
call fcn.00490600
add esp, 8
lea eax, [ebp - 0x74]
push 0x65e9f0
push eax
lea eax, [ebp - 0x2a8]
push str.Host:
push eax
call fcn.00490600
add esp, 8
push eax
call fcn.0048ffa0
add esp, 8
push eax
call fcn.00490600
add esp, 8
lea eax, [ebp - 0x8c]
push 0x65e9f0
push eax
lea eax, [ebp - 0x2a8]
push str.Accept:
push eax
call fcn.00490600
add esp, 8
push eax
call fcn.0048ffa0
add esp, 8
push eax
call fcn.00490600
add esp, 8
lea eax, [ebp - 0xa4]
push str._r_n_r_n
push eax
lea eax, [ebp - 0x2a8]
push str.User_Agent:
push eax
call fcn.00490600
add esp, 8
push eax
call fcn.0048ffa0
add esp, 8
push eax
call fcn.00490600
mov eax, dword [ebp - 0x204]
push 0
push edi
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x1f8]
mov byte [ebp - 0x204], 0
push dword [ebp - 0x204]
push eax
push dword [ebp - 0x1fc]
call fcn.004b7a50
mov al, byte [edi + 4]
add esp, 0x1c
test al, al
jne 0x4ae214
mov esi, dword [ebp - 0x200]
add esi, 0x374
mov dword [ebp - 0x1f4], esi
jmp 0x4adee6
mov esi, dword [ebp - 0x1f4]
push 2
push 0x65e9f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00421120
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x204], esi
push eax
push dword [ebp - 0x1fc]
call fcn.004b2000
add esp, 0x10
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x14], 0x10
jb 0x4adf40
push dword [ebp - 0x28]
call fcn.005ba02a
add esp, 4
mov al, byte [edi + 4]
test al, al
jne 0x4ae214
mov esi, dword [ebp - 0x200]
lea ecx, [ebp - 0x204]
mov eax, dword [ebp - 0x1f4]
add esi, 0x2e0
push esi
push ecx
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 0x250], 1
push ecx
push dword [ebp - 0x250]
test eax, eax
mov dword [ebp - 0x1f8], 0
push 0
sete byte [ebp - 0x210]
mov dword [ebp - 0x204], 0
push dword [ebp - 0x210]
mov dword [esi], 0
push eax
call fcn.004afd20
add esp, 0x1c
test al, al
je 0x4ae20b
mov ecx, dword [esi]
cmp ecx, 0xc8
je 0x4ae00d
mov eax, dword [0x693640]
test al, 1
jne 0x4adfe7
or eax, 1
xorps xmm0, xmm0
mov dword [0x693640], eax
mov eax, vtable.avhttp::detail::error_category_impl.0
movlpd qword [0x693638], xmm0
mov dword [0x693630], eax
jmp 0x4adfec
mov eax, dword [0x693630]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x50], ecx
push ecx
mov ecx, 0x693630
call eax
mov byte [ebp - 0x4c], al
movq xmm0, qword [ebp - 0x50]
movq qword [edi], xmm0
mov dword [edi + 8], 0x693630
cmp dword [esi], 0x64
je 0x4adee0
mov esi, dword [ebp - 0x200]
lea eax, [esi + 0xec]
mov ecx, eax
mov dword [ebp - 0x1f8], eax
call fcn.004d7f70
push str._status_code
lea ecx, [ebp - 0x28]
call fcn.00420f00
push 0x6166f4
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x15
call fcn.004b8590
lea ecx, [esi + 0x2e0]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call fcn.00491130
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004b59c0
add esp, 8
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [esi + 0xec]
call fcn.004e4370
lea ecx, [ebp - 0x5c]
call fcn.00420f60
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x15
call fcn.004c5b60
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00420f60
lea ecx, [ebp - 0x218]
call fcn.0048ba00
push str._r_n_r_n
lea ecx, [ebp - 0x28]
call fcn.00420f00
mov esi, dword [ebp - 0x1f4]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x204], esi
push eax
push dword [ebp - 0x1fc]
call fcn.004b2000
add esp, 0x10
mov dword [ebp - 0x1fc], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00420f60
cmp byte [ebp - 0x214], 0
je 0x4ae14d
push 0
push 2
lea ecx, [ebp - 0x50]
call fcn.0048fd70
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004caa30
add esp, 8
test al, al
je 0x4ae133
push 2
jmp 0x4ae20d
movq xmm0, qword [ebp - 0x218]
mov eax, dword [ebp - 0x210]
movq qword [edi], xmm0
mov dword [edi + 8], eax
jmp 0x4ae214
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x19
call fcn.0043d360
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x44]
push 0
push dword [ebp - 0x1fc]
push ecx
mov ecx, esi
call dword [eax + 0x20]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x204]
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
push eax
call fcn.00426c60
mov edx, dword [ebp - 0x200]
push dword [ebp - 0x1f8]
lea ecx, [edx + 0x314]
push ecx
lea ecx, [edx + 0x308]
push ecx
lea ecx, [edx + 0x2ec]
push ecx
push dword [eax]
push esi
call fcn.004af7c0
add esp, 0x18
test al, al
jne 0x4ae1e9
push 2
mov ecx, edi
call fcn.0048fe50
lea ecx, [ebp - 0x44]
call fcn.00420f60
jmp 0x4ae214
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov eax, dword [edx + 0x1c]
sub ecx, dword [eax]
push ecx
mov ecx, edx
call fcn.004d9470
lea ecx, [ebp - 0x44]
call fcn.00420f60
jmp 0x4ae214
push 1
mov ecx, edi
call fcn.0048fe50
mov eax, dword [ebp - 0x2a8]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2ac], eax
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005a5523
add esp, 4
cmp dword [ebp - 0x60], 0x10
jb 0x4ae269
push dword [ebp - 0x74]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x78], 0x10
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
jb 0x4ae28f
push dword [ebp - 0x8c]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x90], 0x10
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jb 0x4ae2bb
push dword [ebp - 0xa4]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0xdc], 0x10
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
jb 0x4ae2ed
push dword [ebp - 0xf0]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0xc4], 0x10
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
jb 0x4ae31f
push dword [ebp - 0xd8]
call fcn.005ba02a
add esp, 4
mov esi, dword [ebp - 0x234]
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xd8], 0
test esi, esi
je 0x4ae366
push dword [ebp - 0x204]
lea eax, [ebp - 0x209]
push eax
push dword [ebp - 0x230]
push esi
call fcn.00492c90
push esi
call fcn.005ba02a
add esp, 0x14
mov esi, dword [ebp - 0x220]
mov byte [ebp - 4], 6
test esi, esi
je 0x4ae399
or edi, 0xffffffff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4ae399
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x4ae399
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x10c], 0x10
jb 0x4ae3b0
push dword [ebp - 0x120]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x124], 0x10
mov dword [ebp - 0x10c], 0xf
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
jb 0x4ae3e2
push dword [ebp - 0x138]
call fcn.005ba02a
add esp, 4
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 1
call fcn.00440790
lea eax, [ebp - 0x2f0]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.005a5523
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004c5ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret 8