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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5671bf
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.005219d0
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 0x480215
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.005219d0
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 0x47fc71
call fcn.0042fb30
mov dword [ebp - 0x27c], eax
jmp 0x47fc80
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 0x47fc9c
call fcn.0042fb30
cmp dword [ebp - 0x27c], 0
jl 0x4801f6
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 0x47fcf1
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 0x47fd1e
call fcn.0042fb30
mov ebx, eax
jmp 0x47fd25
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x47fd65
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fd5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480235
push edx
push ecx
call fcn.00497cc1
add esp, 8
test ebx, ebx
js 0x4801f6
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.0052ad56
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 0x47fdf7
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 0x47fe3c
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 0x47fe9c
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fe92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48023a
push edx
push ecx
call fcn.00497cc1
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 0x47fefd
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fef3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48023f
push edx
push ecx
call fcn.00497cc1
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 0x48019c
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 0x47ffa3
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 0x47ffe4
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 0x48011d
cmp edx, 8
jb 0x480040
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x480036
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480244
push edx
push ecx
call fcn.00497cc1
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 0x480088
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48007e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480249
push edx
push ecx
call fcn.00497cc1
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 0x4800d4
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4800ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48024e
push edx
push ecx
call fcn.00497cc1
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.0052ad51
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 0x48010c
push eax
call esi
test edi, edi
je 0x480113
push edi
call esi
mov eax, 1
jmp 0x480217
cmp edx, 8
jb 0x480154
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48014a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480253
push edx
push ecx
call fcn.00497cc1
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 0x48019c
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x480192
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480258
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4801d6
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4801cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48025d
push edx
push ecx
call fcn.00497cc1
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.0052ad51
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 0x48020e
push esi
call ebx
test edi, edi
je 0x480215
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.00497cb0
mov esp, ebp
pop ebp
ret 8
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
call fcn.00524999
int3