Function at 0x496fa0
Capabilities:
Access peb ldr_data
Hash data using fnv
Initialize winhttp library
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffba1
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x672494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp + 0xc]
push 0x3c
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.0056c1d0
mov eax, dword fs:[0x30]
add esp, 0xc
mov dword [ebp - 0x29c], 0x3c
mov dword [ebp - 0x294], 0xffffffff
mov dword [ebp - 0x288], 0xffffffff
mov dword [ebp - 0x26c], 0xffffffff
mov dword [ebp - 0x264], 0xffffffff
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x2c]
xor edi, edi
mov esi, dword [eax + 0x30]
and ecx, 0xfffffffe
mov dword [ebp - 0x2a0], eax
mov ebx, 0x811c9dc5
lea edx, [ecx + esi]
inc ecx
shr ecx, 1
cmp esi, edx
cmova ecx, edi
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x497090
mov eax, ecx
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x497072
or ecx, 0x20
xor ecx, ebx
inc edi
imul ebx, ecx, 0x1000193
add esi, 2
cmp edi, eax
jne 0x497062
mov eax, dword [ebp - 0x2a0]
cmp ebx, 0x91bd45a3
je 0x497094
mov eax, dword [eax]
jmp 0x497037
mov esi, dword [eax + 0x18]
mov eax, dword [0x67f408]
mov dword [ebp - 0x2a0], esi
test eax, eax
jne 0x49714c
test esi, esi
je 0x497145
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], ecx
cmp ecx, esi
je 0x497145
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x497145
mov edi, dword [ecx + 0x20]
add edi, esi
nop word [eax + eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x497117
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x4970fd
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x4970f0
cmp esi, 0x1a53f476
je 0x497127
mov eax, dword [ebp - 0x14]
inc ebx
add edi, 4
cmp ebx, eax
je 0x497145
mov esi, dword [ebp - 0x2a0]
jmp 0x4970e0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2a0]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, edx
add eax, edx
movzx eax, word [eax + ebx*2]
mov eax, dword [ecx + eax*4]
add eax, edx
jmp 0x497147
xor eax, eax
mov dword [0x67f408], eax
lea ecx, [ebp - 0x29c]
push ecx
push 0
push 0
push dword [ebp - 0x2a4]
call eax
test eax, eax
je 0x4974db
xorps xmm0, xmm0
xor esi, esi
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], vtable.CSession.0
mov dword [ebp - 4], esi
xor edi, edi
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], vtable.CConnection.0
push 0x210
lea eax, [ebp - 0x260]
push edi
push eax
call fcn.0056c1d0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.0043b120
mov dword [ebp - method.CAsyncDownloader.virtual_0], 0x6488a0
push edi
push edi
push edi
push edi
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_67.0.3396.99_Safari_537.36
mov byte [ebp - 4], 2
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
jne 0x4971d9
call fcn.0043aff0
mov ebx, eax
jmp 0x4971e0
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2a8]
push dword [eax + 0x44]
push dword [eax + 0x40]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x497202
call fcn.0043aff0
test ebx, ebx
js 0x4974bc
mov ecx, dword [ebp - 0x28c]
xor ebx, ebx
mov eax, dword [ebp - 0x288]
mov edx, 7
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], edx
mov word [ebp - 0x2c4], bx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x497252
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.00417d60
mov edx, dword [ebp - 0x2b0]
push 0
push dword [ebp - 0x284]
cmp edx, 8
lea eax, [ebp - 0x2c4]
cmovae eax, dword [ebp - 0x2c4]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x49727f
call fcn.0043aff0
mov ebx, eax
jmp 0x497286
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x2c4]
call fcn.0040f8c0
test ebx, ebx
js 0x4974bc
mov ecx, dword [ebp - 0x268]
xor edx, edx
mov eax, dword [ebp - 0x264]
xorps xmm0, xmm0
mov dword [ebp - 0x19c], 0
movlpd qword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x1a0], 0
lea eax, [ecx + eax*2]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 7
mov word [ebp - 0x2f4], dx
cmp ecx, eax
je 0x4972f9
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2f4]
call fcn.00417d60
mov byte [ebp - 4], 3
xor edx, edx
mov ecx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 7
mov word [ebp - 0x2dc], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x49733e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2dc]
call fcn.00417d60
lea eax, [ebp - 0x2f4]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x2dc]
lea ecx, [ebp - 0x50]
call fcn.00439b80
add esp, 4
lea ecx, [ebp - 0x2dc]
call fcn.0040f8c0
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 7
call fcn.0040f8c0
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x50]
mov edx, 0x800000
cmovae ecx, dword [ebp - 0x50]
sub esp, 8
xor eax, eax
cmp dword [ebp - 0x290], 2
cmove eax, edx
push eax
push 0
sub esp, 8
lea eax, [ebp - 0x20]
push 0x64885c
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00439660
test eax, eax
js 0x4974b1
push str.Expires:_0_r_nCache_Control:_no_store_r_n
lea ecx, [ebp - 0x38]
call fcn.00417ec0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push ecx
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x260]
push eax
call fcn.00439590
push 0
push 0
lea ecx, [ebp - 0x260]
call fcn.004391c0
test eax, eax
js 0x4974a9
mov ebx, dword [ebp - 0x2ac]
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x497410
mov eax, dword [ebx]
mov byte [eax], 0
lea ecx, [ebp - 0x30c]
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x108]
sub edx, eax
push edx
push eax
call fcn.0048ced0
push eax
mov ecx, ebx
call fcn.0040d2d0
mov edx, dword [ebp - 0x2f8]
cmp edx, 0x10
jb 0x497470
mov ecx, dword [ebp - 0x30c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x497466
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4974fb
push edx
push ecx
call fcn.004d0c91
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.0040f8c0
lea ecx, [ebp - 0x50]
call fcn.0040f8c0
lea ecx, [ebp - 0x260]
call fcn.00439ef0
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x49749b
push eax
call edi
test esi, esi
je 0x4974a2
push esi
call edi
mov eax, 1
jmp 0x4974dd
lea ecx, [ebp - 0x38]
call fcn.0040f8c0
lea ecx, [ebp - 0x50]
call fcn.0040f8c0
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x260]
call fcn.00439ef0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x4974d4
push edi
call ebx
test esi, esi
je 0x4974db
push esi
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 8
call fcn.0056efe9
int3