Function at 0x497aa0
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 0x5ffcaa
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
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 - 0x314], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x310], eax
mov eax, dword [ebp + 0xc]
push 0x3c
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.0056c1d0
mov eax, dword fs:[0x30]
add esp, 0xc
mov dword [ebp - 0x30c], 0x3c
mov dword [ebp - 0x304], 0xffffffff
mov dword [ebp - 0x2f8], 0xffffffff
mov dword [ebp - 0x2dc], 0xffffffff
mov dword [ebp - 0x2d4], 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 - 0x1c], 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 0x497b8b
mov eax, ecx
nop
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x497b70
or ecx, 0x20
xor ecx, ebx
inc edi
imul ebx, ecx, 0x1000193
add esi, 2
cmp edi, eax
jne 0x497b60
mov eax, dword [ebp - 0x1c]
cmp ebx, 0x91bd45a3
je 0x497b8f
mov eax, dword [eax]
jmp 0x497b37
mov esi, dword [eax + 0x18]
mov eax, dword [0x67f408]
mov dword [ebp - 0x1c], esi
test eax, eax
jne 0x497c49
test esi, esi
je 0x497c42
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2cc], ecx
cmp ecx, esi
je 0x497c42
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x497c42
mov edi, dword [ecx + 0x20]
add edi, esi
nop dword [eax + eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x497c17
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x497bfd
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x497bf0
cmp esi, 0x1a53f476
je 0x497c24
mov eax, dword [ebp - 0x14]
inc ebx
add edi, 4
cmp ebx, eax
je 0x497c42
mov esi, dword [ebp - 0x1c]
jmp 0x497be0
mov eax, dword [ebp - 0x2cc]
mov edx, dword [ebp - 0x1c]
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 0x497c44
xor eax, eax
mov dword [0x67f408], eax
lea ecx, [ebp - 0x30c]
push ecx
push 0
push 0
push dword [ebp - 0x310]
call eax
test eax, eax
je 0x4980e2
xorps xmm0, xmm0
xor edi, edi
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], vtable.CSession.0
mov dword [ebp - 4], edi
xor esi, esi
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], vtable.CConnection.0
push 0x210
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.0056c1d0
add esp, 0xc
lea ecx, [ebp - 0x2c8]
call fcn.0043b120
mov dword [ebp - method.CAsyncDownloader.virtual_0], 0x6488a0
push esi
push esi
push esi
push esi
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 0x497cd6
call fcn.0043aff0
mov ebx, eax
jmp 0x497cdd
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x314]
push dword [eax + 0x44]
push dword [eax + 0x40]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x497cff
call fcn.0043aff0
test ebx, ebx
js 0x4980c3
mov ecx, dword [ebp - 0x2fc]
xor ebx, ebx
mov eax, dword [ebp - 0x2f8]
mov edx, 7
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], edx
mov word [ebp - 0x348], bx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x497d4f
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x348]
call fcn.00417d60
mov edx, dword [ebp - 0x334]
push 0
push dword [ebp - 0x2f4]
cmp edx, 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x497d7c
call fcn.0043aff0
mov ebx, eax
jmp 0x497d83
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x348]
call fcn.0040f8c0
test ebx, ebx
js 0x4980c3
xorps xmm0, xmm0
mov dword [ebp - 0x204], 1
movlpd qword [ebp - 0x210], xmm0
mov dword [ebp - 0x208], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.005757ed
mov esi, eax
mov dword [ebp - 0x368], 0
xor edx, edx
mov dword [ebp - 0x2cc], esi
add esp, 4
mov dword [ebp - 0x364], 7
mov word [ebp - 0x378], dx
mov dword [esi], str.text_html
mov dword [esi + 4], str.application_xhtmlxml
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x2d4]
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x497e20
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x378]
call fcn.00417d60
mov byte [ebp - 4], 4
xor edx, edx
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 7
mov word [ebp - 0x360], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x497e65
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x360]
call fcn.00417d60
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x360]
lea ecx, [ebp - 0x68]
call fcn.00439b80
add esp, 4
lea ecx, [ebp - 0x360]
call fcn.0040f8c0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 8
call fcn.0040f8c0
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
mov edx, 0x800000
cmovae ecx, dword [ebp - 0x68]
sub esp, 8
xor eax, eax
cmp dword [ebp - 0x300], 2
cmove eax, edx
push eax
push esi
sub esp, 8
lea eax, [ebp - 0x18]
push str.POST
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00439660
test eax, eax
js 0x4980af
mov ebx, dword [ebp - 0x318]
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
xor ecx, ecx
mov dword [ebp - 0x320], 0
push eax
mov word [ebp - 0x330], cx
lea ecx, [ebp - 0x330]
push ebx
mov dword [ebp - 0x31c], 7
call fcn.00417d60
mov byte [ebp - 4], 9
cmp dword [ebp - 0x320], 0
jne 0x497f34
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
jmp 0x497f8f
push 0x50
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.0056c1d0
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.00426b30
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x330]
cmp dword [ebp - 0x31c], 8
mov eax, dword [ebp - 0x320]
cmovae ecx, dword [ebp - 0x330]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00427070
lea ecx, [ebp - 0xb8]
call fcn.00426e10
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0xc
call fcn.0040f8c0
push dword [ebp - 0x28]
lea eax, [ebp - 0x50]
push str.Content_Type:_application_x_www_form_urlencoded_r_nContent_Length:__d_r_nProxy_Connection:_Keep_Alive_r_nPragma:_no_cache_r_n
push eax
call fcn.0041a640
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x2c8]
cmovae eax, dword [ebp - 0x50]
add esp, 8
push dword [ebp - 0x40]
push eax
call fcn.00439590
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c8]
push eax
call fcn.004391c0
lea ecx, [ebp - 0x50]
test eax, eax
js 0x49807a
call fcn.0040f8c0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x49802e
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x498024
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498102
push edx
push ecx
call fcn.004d0c91
add esp, 8
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.0040f8c0
push esi
call fcn.005757e8
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.00439ef0
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x49806c
push eax
call esi
test edi, edi
je 0x498073
push edi
call esi
mov eax, 1
jmp 0x4980e4
call fcn.0040f8c0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x4980af
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4980a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498107
push edx
push ecx
call fcn.004d0c91
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.0040f8c0
push esi
call fcn.005757e8
mov esi, dword [ebp - 0x14]
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.00439ef0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test esi, esi
je 0x4980db
push esi
call ebx
test edi, edi
je 0x4980e2
push edi
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
call fcn.0056efe9
int3