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

Disassembly:
push 0xffffffffffffffff
push 0x4beb9b
mov eax, dword fs:[0]
push eax
mov eax, 0x1134
call fcn.004b0f20
mov eax, dword [0x4e51e0]
xor eax, esp
mov dword [esp + 0x112c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4e51e0]
xor eax, esp
push eax
lea eax, [esp + 0x1144]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1154]
push 0xc
xor ebx, ebx
push 0x4d2ba0
lea esi, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00402270
push 0xb
push str.User_Agent:
mov ecx, esi
mov dword [esp + 0x1154], ebx
call fcn.004021a0
push 0x3a
push str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__SSX1.0_
mov ecx, esi
call fcn.004021a0
push 2
push 0x4d2bd4
mov ecx, esi
call fcn.004021a0
push 0x17
push 0x4d2bdc
mov ecx, esi
call fcn.004021a0
push 0xc6
lea eax, [esp + 0x7a]
push ebx
push eax
mov word [esp + 0x80], bx
call fcn.0048ffc0
mov ecx, dword [esp + 0x1168]
mov edx, dword [esp + 0x1164]
add esp, 0xc
push ecx
push edx
lea eax, [esp + 0x7c]
push str.Range:_bytes_I64u_
push eax
or edx, 0xffffffff
call fcn.0045a1d0
lea eax, [esp + 0x84]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45a931
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x60]
call fcn.004021a0
push 2
push 0x4d2bd4
lea ecx, [esp + 0x60]
call fcn.004021a0
push 2
push 0x4d2bd4
lea ecx, [esp + 0x60]
call fcn.004021a0
push 0x800
call fcn.00489904
mov esi, eax
mov word [esi], bx
mov eax, dword [esp + 0x60]
add esp, 4
cmp dword [esp + 0x70], 8
mov dword [esp + 0x14], esi
jae 0x45a994
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x6c]
push edx
push eax
push 0x400
push esi
call fcn.0048b7e0
add esp, 0x10
cmp dword [edi], ebx
je 0x45ac6f
cmp word [esi], bx
je 0x45ac6f
mov eax, dword [edi + 0xc]
mov esi, dword [0x4c3368]
push eax
call esi
mov ecx, dword [edi + 0x10]
push ecx
call esi
mov edx, dword [edi + 0x14]
push edx
call esi
push 0x3c
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0048ffc0
mov eax, 1
mov esi, 8
add esp, 0xc
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
jb 0x45aa05
mov ebp, dword [ebp + 4]
jmp 0x45aa08
add ebp, 4
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push ebp
call dword [0x4c3660]
test eax, eax
jne 0x45aa2e
cmp dword [esp + 0x70], esi
jb 0x45ac83
mov edx, dword [esp + 0x5c]
push edx
jmp 0x45ac7b
mov esi, dword [esp + 0x30]
cmp esi, 0x400
jae 0x45ac61
cmp dword [esp + 0x4c], 0x400
jae 0x45ac61
cmp dword [edi], ebx
je 0x45ab75
push 0x7fe
lea eax, [esp + 0x142]
push ebx
push eax
mov word [esp + 0x148], bx
call fcn.0048ffc0
mov ecx, dword [esp + 0x38]
add esp, 0xc
push esi
push ecx
lea edx, [esp + 0x144]
push 0x400
push edx
call fcn.0048b7e0
mov eax, dword [esp + 0x40]
push 0x7fe
lea ecx, [esp + 0x952]
push ebx
push ecx
mov word [esp + eax*2 + 0x158], bx
mov word [esp + 0x958], bx
call fcn.0048ffc0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 0x1c
push edx
push eax
lea ecx, [esp + 0x944]
push 0x400
push ecx
call fcn.0048b7e0
mov edx, dword [esp + 0x5c]
mov esi, dword [0x4c3414]
add esp, 0x10
push ebx
lea ebp, [edi + 8]
push ebp
mov word [esp + edx*2 + 0x944], bx
call esi
mov ecx, dword [edi]
push edi
push ebx
push 3
push ebx
push ebx
push ebx
lea eax, [esp + 0x154]
push eax
push ecx
call dword [0x4c3664]
cmp eax, ebx
jne 0x45ab28
call dword [0x4c3340]
cmp eax, 0x3e5
jne 0x45ab6e
mov esi, edi
call fcn.0045a530
test eax, eax
jne 0x45ab6e
mov esi, dword [0x4c3414]
jmp 0x45ab2c
push eax
push ebp
call esi
mov eax, dword [ebp]
push edi
push 0x4000000
push ebx
push ebx
push str.HTTP_1.0
lea edx, [esp + 0x950]
push edx
push 0x4d1648
push eax
call dword [0x4c3668]
mov ebp, eax
cmp ebp, ebx
jne 0x45ab83
call dword [0x4c3340]
cmp eax, 0x3e5
jne 0x45ab6e
mov esi, edi
call fcn.0045a530
test eax, eax
je 0x45ab8a
mov esi, edi
call fcn.0045acb0
lea esi, [esp + 0x58]
call fcn.004054d0
jmp 0x45ac83
push ebp
lea ecx, [edi + 4]
push ecx
call esi
mov eax, dword [esp + 0x14]
cmp word [eax], bx
je 0x45aba2
push 0xa0000000
push 0xffffffffffffffff
push eax
push ebp
call dword [0x4c366c]
mov edx, dword [edi + 0xc]
push edx
call dword [0x4c3368]
mov eax, dword [edi + 4]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x4c3670]
test eax, eax
jne 0x45abd6
call dword [0x4c3340]
cmp eax, 0x3e5
jne 0x45ab6e
mov esi, edi
call fcn.0045a530
test eax, eax
jne 0x45ab6e
mov eax, dword [edi + 4]
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x20000013
push eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x24], ebx
call dword [0x4c367c]
test eax, eax
je 0x45ab6e
mov ecx, dword [esp + 0x10]
push ecx
push str.CheckSvrSupportRange__return_StatusCode_d
push 0xca
push str..HttpHttpWinet.cpp
call fcn.004180a0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 0xc8
je 0x45ab6e
cmp eax, 0xce
je 0x45ab6e
push str.CheckSvrSupportRange_error4
push 0xca
push str..HttpHttpWinet.cpp
call fcn.004180a0
add esp, 0xc
lea esi, [esp + 0x58]
call fcn.004054d0
mov eax, 1
jmp 0x45ac85
cmp dword [esp + 0x70], 8
jb 0x45ac83
mov edx, dword [esp + 0x5c]
push edx
jmp 0x45ac7b
cmp dword [esp + 0x70], 8
jb 0x45ac83
mov eax, dword [esp + 0x5c]
push eax
call fcn.0048a8f9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1144]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x112c]
xor ecx, esp
call fcn.0048a8fe
add esp, 0x1140
ret 0xc