Function at 0x1000d920
Capabilities:
Get hostname
Hash data using sha256

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 0x1006a555
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1164
push ebx
call fcn.100459f0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0x34], 0
cmp dword [0x100890b4], 0
push edi
jbe 0x1000d9b4
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x100890a4
mov byte [esi], 0
call fcn.100060a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x1050
lea eax, [ebp - 0x1170]
push 0
push eax
call fcn.10047830
mov dword [ebp - 0xbc], 0
add esp, 0xc
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
push 0x1050
lea eax, [ebp - 0x1170]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.10047830
xor eax, eax
mov dword [ebp - 0xac], 0x10
add esp, 0xc
mov word [ebp - 0x104], ax
mov dword [ebp - 0xea], eax
xorps xmm0, xmm0
mov word [ebp - 0xe6], ax
lea eax, [ebp - 0xac]
movups xmmword [ebp - 0x102], xmm0
push eax
lea eax, [ebp - 0x104]
movq qword [ebp - 0xf2], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1000daa3
push ecx
lea edx, [ebp - 0x1170]
lea ecx, [ebp - 0x104]
call fcn.1000d2c0
add esp, 4
test al, al
je 0x1000daa3
lea edx, [ebp - 0x1170]
lea ecx, [ebp - 0x28]
call fcn.1000d3f0
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.10004060
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10005f70
lea ecx, [ebp - 0x112c]
call fcn.1000d230
mov ecx, dword [ebp - 0x112c]
xor edx, edx
test al, al
cmove ecx, edx
mov dword [ebp - 0x112c], ecx
lea ecx, [ebp - 0xe4]
call fcn.1000d4a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe4]
cmp dword [ebp - 0xd0], 0x10
push dword [ebp - 0xd4]
cmovae eax, dword [ebp - 0xe4]
push eax
lea eax, [ebp - 0x1120]
push eax
call fcn.10047150
add esp, 0xc
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push eax
call edi
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea edi, [ebp - 0x20]
mov dword [edi], eax
mov eax, edi
push 0xffffffffffffffff
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push eax
call edi
mov edx, dword [ebp - 0x20]
xorps xmm0, xmm0
mov al, dl
movq qword [ebp - 0x1f], xmm0
and al, 0xf
mov dword [ebp - 0x17], 0
mov byte [ebp - 0x1128], al
mov ecx, edx
sar ecx, 0xc
mov eax, edx
sar eax, 4
xor al, cl
mov word [ebp - 0x13], 0
and al, 0xf
mov byte [ebp - 0x11], 0
xor al, cl
movlpd qword [ebp - 0x60], xmm0
mov byte [ebp - 0x1127], al
and cl, 3
mov eax, edx
mov byte [ebp - 0x1125], cl
sar eax, 8
and al, 0xf
mov dword [ebp - 0x58], 0x6a09e667
mov byte [ebp - 0x1126], al
mov eax, edx
sar eax, 0x10
and al, 0xf
sar edx, 0x14
mov byte [ebp - 0x1124], al
xor eax, eax
mov byte [ebp - 0x1123], dl
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], 0xbb67ae85
mov dword [ebp - 0x50], 0x3c6ef372
mov dword [ebp - 0x4c], 0xa54ff53a
mov dword [ebp - 0x48], 0x510e527f
mov dword [ebp - 0x44], 0x9b05688c
xor esi, esi
mov dword [ebp - 0x40], 0x1f83d9ab
mov dword [ebp - 0x3c], 0x5be0cd19
nop dword [eax]
mov cl, byte [ebp + esi - 0x1170]
mov byte [ebp + eax - 0xa8], cl
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp eax, 0x40
jne 0x1000dc27
lea edx, [ebp - 0xa8]
mov ecx, edx
call fcn.1000d080
add dword [ebp - 0x60], 0x200
adc dword [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 0x68], eax
inc esi
cmp esi, 0x1050
jb 0x1000dbf0
mov byte [ebp + eax - 0xa8], 0x80
lea edx, [eax + 1]
cmp eax, 0x38
jae 0x1000dc66
cmp edx, 0x38
jae 0x1000dcaa
mov ecx, 0x38
lea edi, [ebp - 0xa8]
sub ecx, edx
add edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x1000dcaa
cmp edx, 0x40
jae 0x1000dc8a
mov ecx, 0x40
lea edi, [ebp - 0xa8]
sub ecx, edx
add edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edx, [ebp - 0xa8]
mov ecx, edx
call fcn.1000d080
push 0x38
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.10047830
add esp, 0xc
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
shl eax, 3
add edx, eax
mov al, dl
mov dword [ebp - 0x60], edx
adc esi, 0
mov byte [ebp - 0x69], al
mov ecx, edx
mov dword [ebp - 0x5c], esi
mov eax, esi
mov dword [ebp - 0xb0], esi
shrd ecx, eax, 8
shr eax, 8
mov byte [ebp - 0x6a], cl
mov eax, esi
mov ecx, edx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [ebp - 0x6b], cl
mov ecx, esi
mov eax, ecx
shrd edx, eax, 0x18
shr eax, 0x18
mov al, byte [ebp - 0x5c]
mov byte [ebp - 0x6d], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x6e], al
mov eax, ecx
shr ecx, 0x18
mov byte [ebp - 0x6c], dl
lea edx, [ebp - 0xa8]
shr eax, 0x10
mov byte [ebp - 0x70], cl
mov ecx, edx
mov byte [ebp - 0x6f], al
call fcn.1000d080
mov eax, dword [ebp - 0x58]
shr eax, 0x18
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x54]
shr eax, 0x18
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x50]
shr eax, 0x18
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
shr eax, 0x18
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
shr eax, 0x18
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x44]
shr eax, 0x18
mov byte [ebp - 0x1c], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0x18], al
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x58]
shr eax, 0x10
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x54]
shr eax, 0x10
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x50]
shr eax, 0x10
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x4c]
shr eax, 0x10
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x48]
shr eax, 0x10
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x44]
shr eax, 0x10
mov byte [ebp - 0x1b], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x17], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x58]
shr eax, 8
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x54]
shr eax, 8
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x50]
shr eax, 8
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x4c]
shr eax, 8
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x48]
shr eax, 8
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x44]
shr eax, 8
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x2d], al
mov al, byte [ebp - 0x54]
mov byte [ebp - 0x29], al
mov al, byte [ebp - 0x50]
mov byte [ebp - 0x25], al
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x1d], al
mov al, byte [ebp - 0x44]
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x40]
shr ecx, 8
shr edx, 8
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0x16], dl
lea edx, [ebp - 0x30]
mov byte [ebp - 0x12], cl
push ecx
lea ecx, [ebp - 0x11c]
mov byte [ebp - 0x11], al
call fcn.1000cf10
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x100890a4
call fcn.100060a0
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x11c]
push eax
call fcn.10005cc0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 3
call fcn.10005f70
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.10005f70
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0
call fcn.10005f70
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret