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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572ab9
mov eax, dword fs:[0]
push eax
mov eax, 0x1158
mov dword fs:[0], esp
call fcn.004fd580
cmp dword [0x5dacb8], 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xf4], 0
push edi
mov dword [ebp - 0xa8], esi
jbe 0x4722b2
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5daca8
mov byte [esi], 0
call fcn.004082d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
push 0x1050
lea eax, [ebp - 0x1164]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005033f0
xor eax, eax
mov dword [ebp - 0xa0], 0x10
add esp, 0xc
mov word [ebp - 0x114], ax
mov dword [ebp - 0xfa], eax
xorps xmm0, xmm0
mov word [ebp - 0xf6], ax
lea eax, [ebp - 0xa0]
movups xmmword [ebp - 0x112], xmm0
push eax
lea eax, [ebp - 0x114]
movq qword [ebp - 0x102], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x472377
push ecx
lea edx, [ebp - 0x1164]
lea ecx, [ebp - 0x114]
call fcn.00471c00
add esp, 4
test al, al
je 0x472377
lea edx, [ebp - 0x1164]
lea ecx, [ebp - 0x24]
call fcn.00471d00
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.004078f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.004078b0
lea ecx, [ebp - 0x1120]
call fcn.00471b70
mov ecx, dword [ebp - 0x1120]
xor edx, edx
test al, al
cmove ecx, edx
mov dword [ebp - 0x1120], ecx
lea ecx, [ebp - 0xc0]
call fcn.00471db0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 0x10
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
lea eax, [ebp - 0x1114]
push eax
call fcn.00502e70
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 - 0x1c]
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 - 0x1c]
xorps xmm0, xmm0
mov al, dl
movq qword [ebp - 0x1b], xmm0
and al, 0xf
mov dword [ebp - 0x13], 0
mov byte [ebp - 0x111c], al
mov ecx, edx
sar ecx, 0xc
mov eax, edx
sar eax, 4
xor al, cl
mov word [ebp - 0xf], 0
and al, 0xf
mov byte [ebp - 0xd], 0
xor al, cl
movlpd qword [ebp - 0x54], xmm0
mov byte [ebp - 0x111b], al
and cl, 3
mov eax, edx
mov byte [ebp - 0x1119], cl
sar eax, 8
and al, 0xf
mov dword [ebp - 0x4c], 0x6a09e667
mov byte [ebp - 0x111a], al
mov eax, edx
sar eax, 0x10
and al, 0xf
sar edx, 0x14
mov byte [ebp - 0x1118], al
xor eax, eax
mov byte [ebp - 0x1117], dl
movups xmmword [ebp - 0x2b], xmm0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x48], 0xbb67ae85
mov dword [ebp - 0x44], 0x3c6ef372
mov dword [ebp - 0x40], 0xa54ff53a
mov dword [ebp - 0x3c], 0x510e527f
mov dword [ebp - 0x38], 0x9b05688c
xor esi, esi
mov dword [ebp - 0x34], 0x1f83d9ab
mov dword [ebp - 0x30], 0x5be0cd19
nop dword [eax]
mov cl, byte [ebp + esi - 0x1164]
mov byte [ebp + eax - 0x9c], cl
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp eax, 0x40
jne 0x4724f7
lea edx, [ebp - 0x9c]
mov ecx, edx
call fcn.004719c0
add dword [ebp - 0x54], 0x200
adc dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x5c], eax
inc esi
cmp esi, 0x1050
jb 0x4724c0
mov byte [ebp + eax - 0x9c], 0x80
lea edx, [eax + 1]
cmp eax, 0x38
jae 0x472536
cmp edx, 0x38
jae 0x47257a
mov ecx, 0x38
lea edi, [ebp - 0x9c]
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 0x47257a
cmp edx, 0x40
jae 0x47255a
mov ecx, 0x40
lea edi, [ebp - 0x9c]
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 - 0x9c]
mov ecx, edx
call fcn.004719c0
push 0x38
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.005033f0
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
shl eax, 3
add edx, eax
mov al, dl
mov dword [ebp - 0x54], edx
adc esi, 0
mov byte [ebp - 0x5d], al
mov ecx, edx
mov dword [ebp - 0x50], esi
mov eax, esi
mov dword [ebp - 0xa4], esi
shrd ecx, eax, 8
shr eax, 8
mov byte [ebp - 0x5e], cl
mov eax, esi
mov ecx, edx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [ebp - 0x5f], cl
mov ecx, esi
mov eax, ecx
shrd edx, eax, 0x18
shr eax, 0x18
mov al, byte [ebp - 0x50]
mov byte [ebp - 0x61], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x62], al
mov eax, ecx
shr ecx, 0x18
mov byte [ebp - 0x60], dl
lea edx, [ebp - 0x9c]
shr eax, 0x10
mov byte [ebp - 0x64], cl
mov ecx, edx
mov byte [ebp - 0x63], al
call fcn.004719c0
mov eax, dword [ebp - 0x4c]
shr eax, 0x18
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x48]
shr eax, 0x18
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x44]
shr eax, 0x18
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
shr eax, 0x18
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
shr eax, 0x18
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x38]
shr eax, 0x18
mov byte [ebp - 0x18], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0x14], al
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x4c]
shr eax, 0x10
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x48]
shr eax, 0x10
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x44]
shr eax, 0x10
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x40]
shr eax, 0x10
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x38]
shr eax, 0x10
mov byte [ebp - 0x17], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x4c]
shr eax, 8
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x48]
shr eax, 8
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x44]
shr eax, 8
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x40]
shr eax, 8
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x3c]
shr eax, 8
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x38]
shr eax, 8
mov byte [ebp - 0x16], al
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x29], al
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x25], al
mov al, byte [ebp - 0x44]
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x1d], al
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x34]
shr ecx, 8
shr edx, 8
mov byte [ebp - 0x11], al
mov al, byte [ebp - 0x30]
mov byte [ebp - 0x12], dl
lea edx, [ebp - 0x2c]
mov byte [ebp - 0xe], cl
push ecx
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0xd], al
call fcn.00471830
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 3
push eax
mov ecx, 0x5daca8
call fcn.004082d0
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0xd8]
push eax
mov ecx, esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.00408630
mov eax, dword [ebp - 0xc4]
cmp eax, 0x10
jb 0x472761
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.004086f0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xd8], 0
cmp eax, 0x10
jb 0x47279a
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.004086f0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x4727d3
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.004086f0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret