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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x824d21
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x368
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x330], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebx + 0xc]
push 0x3c
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x378]
push 0
push eax
call fcn.006ce4d0
mov eax, dword fs:[0x30]
add esp, 0xc
mov dword [ebp - 0x378], 0x3c
mov dword [ebp - 0x370], 0xffffffff
mov dword [ebp - 0x364], 0xffffffff
mov dword [ebp - 0x348], 0xffffffff
mov dword [ebp - 0x340], 0xffffffff
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x2c]
mov edi, 0x811c9dc5
mov esi, dword [eax + 0x30]
and ecx, 0xfffffffe
mov dword [ebp - 0x314], edi
xor edi, edi
mov dword [ebp - 0x31c], eax
lea edx, [ecx + esi]
inc ecx
shr ecx, 1
cmp esi, edx
cmova ecx, edi
mov dword [ebp - 0x318], ecx
test ecx, ecx
je 0x47fb6e
mov eax, dword [ebp - 0x314]
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x47fb42
or ecx, 0x20
xor ecx, eax
inc edi
imul eax, ecx, 0x1000193
add esi, 2
cmp edi, dword [ebp - 0x318]
jne 0x47fb32
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0x91bd45a3
mov eax, dword [ebp - 0x31c]
je 0x47fb72
mov eax, dword [eax]
jmp 0x47fafa
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cfcc]
mov dword [ebp - 0x318], esi
test eax, eax
jne 0x47fc4c
test esi, esi
je 0x47fc45
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x31c], eax
xor eax, eax
mov dword [ebp - 0x31c], ecx
cmp ecx, esi
je 0x47fc47
mov dword [ebp - 0x314], eax
cmp dword [ecx + 0x18], eax
je 0x47fc45
mov edi, dword [ecx + 0x20]
add edi, esi
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x47fc01
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x47fbe4
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x47fbd7
cmp esi, 0x1a53f476
je 0x47fc1e
mov eax, dword [ebp - 0x314]
mov ecx, dword [ebp - 0x31c]
inc eax
add edi, 4
mov dword [ebp - 0x314], eax
cmp eax, dword [ecx + 0x18]
je 0x47fc45
mov esi, dword [ebp - 0x318]
jmp 0x47fbc7
mov eax, dword [ebp - 0x31c]
mov esi, dword [ebp - 0x318]
mov edx, dword [ebp - 0x314]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x47fc47
xor eax, eax
mov dword [0x181cfcc], eax
lea ecx, [ebp - 0x378]
push ecx
push 0
push 0
push dword [ebp - 0x32c]
call eax
test eax, eax
je 0x4803f3
xor edi, edi
mov dword [ebp - 0x33c], 0x8fe938
mov dword [ebp - 0x338], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x324], edi
mov dword [ebp - 0x328], 0x8fe928
lea ecx, [ebp - 0x310]
call fcn.0042cf90
mov dword [ebp - 0x310], 0x8fe960
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 0x47fcc1
call fcn.0042ce60
mov esi, eax
jmp 0x47fccb
mov edi, eax
xor esi, esi
mov dword [ebp - 0x338], edi
mov eax, dword [ebp - 0x330]
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 0x47fced
call fcn.0042ce60
test esi, esi
js 0x4803ce
mov ecx, dword [ebp - 0x368]
xor esi, esi
mov eax, dword [ebp - 0x364]
mov edx, 7
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], edx
mov word [ebp - 0x94], si
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x47fd37
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.0040ea60
mov edx, dword [ebp - 0x80]
push 0
push dword [ebp - 0x360]
cmp edx, 8
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x47fd64
call fcn.0042ce60
mov esi, eax
jmp 0x47fd6c
mov dword [ebp - 0x324], eax
xor esi, esi
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x47fda9
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fd9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480415
push edx
push ecx
call fcn.005c24d6
add esp, 8
test esi, esi
js 0x4803ce
mov ecx, dword [ebp - 0x344]
xor edx, edx
mov eax, dword [ebp - 0x340]
xorps xmm0, xmm0
mov dword [ebp - 0x24c], 0
movlpd qword [ebp - 0x258], xmm0
mov dword [ebp - 0x250], 0
lea eax, [ecx + eax*2]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], dx
cmp ecx, eax
je 0x47fe05
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0040ea60
mov byte [ebp - 4], 3
xor edx, edx
mov ecx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x47fe3e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.0040ea60
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0042b680
add esp, 0xc
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x47fe94
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fe8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48041a
push edx
push ecx
call fcn.005c24d6
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x47fee6
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fedc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48041f
push edx
push ecx
call fcn.005c24d6
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
cmp word [0x8fe922], 0
mov ecx, 4
mov word [ebp - 0x7c], ax
mov eax, dword [0x8fe91c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x8fe920]
lea edx, [ecx + 0x1b]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1816094]
mov dword [ebp - 0x68], 7
je 0x47ffd6
xor esi, esi
cmp eax, 2
jl 0x47ffb0
movups xmm3, xmmword [0x9036b0]
mov eax, 0x8fe91c
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x903740]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x903740]
shufps xmm2, xmm0, 0xdd
movd xmm0, ecx
psrad xmm2, xmm0
movd xmm0, edx
movaps xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x9036f0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x903710]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movq qword [ebp - 0x1c], xmm1
jmp 0x47ffd6
mov eax, 0x4bda12f7
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x38
xor word [ebp + esi*2 - 0x1c], cx
inc esi
cmp esi, 4
jl 0x47ffb0
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
mov edx, 0x800000
cmovae ecx, dword [ebp - 0x4c]
sub esp, 8
xor eax, eax
cmp dword [ebp - 0x36c], 2
cmove eax, edx
push eax
push 0
sub esp, 8
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x310]
call fcn.0042b140
test eax, eax
js 0x480398
movups xmm0, xmmword [str.AJRNXM]
mov eax, dword [0x903558]
xor esi, esi
cmp dword [0x1816094], 2
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xa0], eax
movups xmm0, xmmword [str._qOI_a____d_t__9___kr_x_7_VV_]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x903530]
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [0x903540]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [0x903550]
movq qword [ebp - 0xa8], xmm0
jl 0x4801a0
movaps xmm4, xmmword [0x9036b0]
mov eax, 4
movaps xmm3, xmmword [0x903740]
movaps xmm6, xmmword [0x9036f0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x903710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xe8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0xe8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x903710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xe0]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0xe0], xmm1
add esi, 8
cmp esi, 0x20
jl 0x4800a3
cmp esi, 0x26
jge 0x4801c9
nop dword [eax + eax]
mov eax, 0x4bda12f7
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x38
xor word [ebp + esi*2 - 0xe8], cx
inc esi
cmp esi, 0x26
jl 0x4801a0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040eba0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push 0x1000000
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30c]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x480205
call fcn.0042ce60
push 0
push 0
lea ecx, [ebp - 0x310]
call fcn.0042ac30
test eax, eax
js 0x48035e
mov esi, dword [ebp - 0x334]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x48022c
mov eax, dword [esi]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x100]
mov byte [eax], 0
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b8]
sub edx, eax
push edx
push eax
call fcn.00477c30
push eax
mov ecx, esi
call fcn.00405320
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x480293
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x480289
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480424
push edx
push ecx
call fcn.005c24d6
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4802cd
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4802c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480429
push edx
push ecx
call fcn.005c24d6
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x48031b
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x480311
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48042e
push edx
push ecx
call fcn.005c24d6
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.0042b9e0
mov eax, dword [ebp - 0x324]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x48034d
push eax
call esi
test edi, edi
je 0x480354
push edi
call esi
mov eax, 1
jmp 0x4803f5
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x480398
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48038e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480433
push edx
push ecx
call fcn.005c24d6
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x4803ce
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4803c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480438
push edx
push ecx
call fcn.005c24d6
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.0042b9e0
mov eax, dword [ebp - 0x324]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x4803ec
push eax
call esi
test edi, edi
je 0x4803f3
push edi
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c22ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.006d1429
call fcn.006d1429
call fcn.006d1429
call fcn.006d1429
call fcn.006d1429
call fcn.006d1429
call fcn.006d1429
call fcn.006d1429
int3