Function at 0x47fbf0
Capabilities:
Initialize winhttp library
Reference http user-agent string
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56724f
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x5b0514]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x3c
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.00521a60
add esp, 0xc
mov dword [ebp - 0x2b8], 0x3c
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b0], 0xffffffff
mov dword [ebp - 0x2a4], 0xffffffff
mov dword [ebp - 0x288], 0xffffffff
push eax
push 0
push 0
push esi
mov dword [ebp - 0x280], 0xffffffff
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x4802a5
xorps xmm0, xmm0
xor edi, edi
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], 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 - 0x278]
push esi
push eax
call fcn.00521a60
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.0042fc60
mov dword [ebp - method.CAsyncDownloader.virtual_0], 0x58dc60
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 0x47fd01
call fcn.0042fb30
mov dword [ebp - 0x27c], eax
jmp 0x47fd10
mov edi, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x64], edi
push dword [ebx + 0x44]
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x47fd2c
call fcn.0042fb30
cmp dword [ebp - 0x27c], 0
jl 0x480286
mov ecx, dword [ebp - 0x2a8]
xor ebx, ebx
mov eax, dword [ebp - 0x2a4]
mov edx, 7
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], edx
mov word [ebp - 0x2d0], bx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x47fd81
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00410900
mov edx, dword [ebp - 0x2bc]
push 0
push dword [ebp - 0x2a0]
cmp edx, 8
lea eax, [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2d0]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x47fdae
call fcn.0042fb30
mov ebx, eax
jmp 0x47fdb5
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x47fdf5
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fdeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802c5
push edx
push ecx
call fcn.00497d51
add esp, 8
test ebx, ebx
js 0x480286
xorps xmm0, xmm0
mov dword [ebp - 0x1b4], 1
movlpd qword [ebp - 0x1c0], xmm0
mov dword [ebp - 0x1b8], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.0052ade6
mov esi, eax
mov dword [ebp - 0x2c0], 0
xor edx, edx
mov dword [ebp - 0x27c], esi
add esp, 4
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], dx
mov dword [esi], str.text_html
mov dword [esi + 4], str.application_xhtmlxml
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x280]
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x47fe87
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00410900
mov byte [ebp - 4], 4
xor edx, edx
mov ecx, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], dx
lea eax, [ecx + eax*2]
cmp ecx, eax
je 0x47fecc
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2f0]
call fcn.00410900
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0x48]
call fcn.0042c710
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2dc]
cmp edx, 8
jb 0x47ff2c
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ff22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802ca
push edx
push ecx
call fcn.00497d51
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x47ff8d
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ff83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802cf
push edx
push ecx
call fcn.00497d51
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
mov word [ebp - 0x2d0], ax
mov edx, 0x800000
cmovae ecx, dword [ebp - 0x48]
sub esp, 8
cmp dword [ebp - 0x2ac], 2
mov dword [ebp - 0x2bc], 7
cmove eax, edx
push eax
push esi
sub esp, 8
lea eax, [ebp - 0x18]
push str.POST
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.0042e090
test eax, eax
js 0x48022c
mov ebx, dword [ebp - 0x2d4]
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push ebx
lea ecx, [ebp - 0x2d8]
call fcn.0041e580
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.0041e4a0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2d4]
test eax, eax
je 0x480033
push eax
call fcn.0041f3e0
add esp, 4
mov dword [ebp - 0x2d4], 0
push dword [ebp - 0x50]
lea eax, [ebp - 0x30]
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.00413710
add esp, 0xc
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push 0x1000000
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x480074
call fcn.0042fb30
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x278]
push eax
call fcn.0042db40
mov edx, dword [ebp - 0x1c]
test eax, eax
js 0x4801ad
cmp edx, 8
jb 0x4800d0
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4800c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802d4
push edx
push ecx
call fcn.00497d51
add esp, 8
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 0x10
jb 0x480118
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48010e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802d9
push edx
push ecx
call fcn.00497d51
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 8
jb 0x480164
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48015a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802de
push edx
push ecx
call fcn.00497d51
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
push esi
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.0052ade1
add esp, 4
lea ecx, [ebp - 0x278]
call fcn.0042e630
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x48019c
push eax
call esi
test edi, edi
je 0x4801a3
push edi
call esi
mov eax, 1
jmp 0x4802a7
cmp edx, 8
jb 0x4801e4
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4801da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802e3
push edx
push ecx
call fcn.00497d51
add esp, 8
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 0x10
jb 0x48022c
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x480222
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802e8
push edx
push ecx
call fcn.00497d51
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x480266
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48025c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4802ed
push edx
push ecx
call fcn.00497d51
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
push esi
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.0052ade1
mov esi, dword [ebp - 0x14]
add esp, 4
lea ecx, [ebp - 0x278]
call fcn.0042e630
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test esi, esi
je 0x48029e
push esi
call ebx
test edi, edi
je 0x4802a5
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.00497d40
mov esp, ebp
pop ebp
ret 8
call fcn.00524a29
call fcn.00524a29
call fcn.00524a29
call fcn.00524a29
call fcn.00524a29
call fcn.00524a29
call fcn.00524a29
call fcn.00524a29
call fcn.00524a29
int3