Function at 0x410620
Capabilities:
Get disk information
Get hostname

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 0x414cc1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c4
mov eax, dword [0x41b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x4cc], eax
push 0x20a
mov dword [ebp - 0x4cc], eax
lea eax, [ebp - 0x270]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x480]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x4bc], 0
lea eax, [ebp - 0x480]
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4b4], 0
push 0x105
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x4bc]
push eax
push 0x105
lea eax, [ebp - 0x270]
push eax
push 0x415fe8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x4b8], 0x10
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
lea edi, [ebp - 0x490]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x490], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
movups xmm1, xmmword [ebp - 0x490]
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 7
movaps xmm0, xmm1
psrldq xmm0, 8
paddw xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddw xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
paddw xmm1, xmm0
xorps xmm0, xmm0
movd eax, xmm1
movups xmmword [ebp - 0x4b0], xmm0
movzx eax, ax
mov dword [ebp - 0x4cc], eax
xor eax, eax
mov word [ebp - 0x4b0], ax
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], eax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4107b0
sub ecx, edx
lea eax, [ebp - 0x270]
sar ecx, 1
cmp ecx, 7
ja 0x4107f0
lea esi, [ecx + ecx]
mov dword [ebp - 0x4a0], ecx
push esi
push eax
lea eax, [ebp - 0x4b0]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x4b0], ax
jmp 0x41080b
push ecx
push eax
mov byte [ebp - 0x4c8], 0
push dword [ebp - 0x4c8]
push ecx
lea ecx, [ebp - 0x4b0]
call fcn.00408a30
mov ecx, dword [ebp - 0x4bc]
lea esi, [ebp - 0x36]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x410814
push ecx
lea eax, [ebp - 0x36]
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00410dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x498]
cmp dword [ebp - 0x484], 7
mov edi, dword [ebp - 0x498]
mov esi, dword [ebp - 0x4a0]
cmova ecx, edi
mov eax, dword [ebp - 0x49c]
mov edx, dword [ebp - 0x488]
sub eax, esi
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4c8], esi
cmp edx, eax
ja 0x4108d0
cmp dword [ebp - 0x49c], 7
lea eax, [edx + esi]
mov dword [ebp - 0x4a0], eax
lea esi, [ebp - 0x4b0]
cmova esi, dword [ebp - 0x4b0]
mov eax, dword [ebp - 0x4c8]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x4c4]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x488]
add esp, 0xc
add eax, dword [ebp - 0x4c8]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4108f1
push edx
push ecx
mov byte [ebp - 0x4c4], 0
lea ecx, [ebp - 0x4b0]
push dword [ebp - 0x4c4]
push edx
call fcn.00408a30
mov edi, dword [ebp - 0x498]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x484]
cmp eax, 7
jbe 0x41092f
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x410925
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d07
push ecx
push edi
call fcn.00412260
add esp, 8
lea edi, [ebp - 0x480]
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x410940
mov edx, dword [ebp - 0x49c]
sub edi, ecx
mov ecx, dword [ebp - 0x4a0]
mov eax, edx
sar edi, 1
sub eax, ecx
mov dword [ebp - 0x4c4], ecx
cmp edi, eax
ja 0x4109a9
lea eax, [edi + ecx]
cmp edx, 7
mov dword [ebp - 0x4a0], eax
lea esi, [ebp - 0x4b0]
cmova esi, dword [ebp - 0x4b0]
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x480]
push eax
lea ecx, [esi + ecx*2]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x4c4]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4109ca
push edi
lea eax, [ebp - 0x480]
mov byte [ebp - 0x4c4], 0
push eax
push dword [ebp - 0x4c4]
lea ecx, [ebp - 0x4b0]
push edi
call fcn.00408a30
mov ecx, dword [ebp - 0x4c0]
lea esi, [ebp - 0x36]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x4109d3
push ecx
lea eax, [ebp - 0x36]
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00410dc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
cmp dword [ebp - 0x484], 7
mov edi, dword [ebp - 0x498]
mov esi, dword [ebp - 0x4a0]
cmova ecx, edi
mov eax, dword [ebp - 0x49c]
mov edx, dword [ebp - 0x488]
sub eax, esi
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4c8], esi
cmp edx, eax
ja 0x410a8f
cmp dword [ebp - 0x49c], 7
lea eax, [esi + edx]
mov dword [ebp - 0x4a0], eax
lea esi, [ebp - 0x4b0]
cmova esi, dword [ebp - 0x4b0]
mov eax, dword [ebp - 0x4c8]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x4c4]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x488]
add esp, 0xc
add eax, dword [ebp - 0x4c8]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x410ab0
push edx
push ecx
mov byte [ebp - 0x4c4], 0
lea ecx, [ebp - 0x4b0]
push dword [ebp - 0x4c4]
push edx
call fcn.00408a30
mov edi, dword [ebp - 0x498]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x484]
cmp eax, 7
jbe 0x410aee
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x410ae4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d07
push ecx
push edi
call fcn.00412260
add esp, 8
lea edi, [ebp - 0x34]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x410af4
mov edx, dword [ebp - 0x49c]
sub edi, ecx
mov ecx, dword [ebp - 0x4a0]
mov eax, edx
sar edi, 1
sub eax, ecx
mov dword [ebp - 0x4c4], ecx
cmp edi, eax
ja 0x410b5a
lea eax, [ecx + edi]
cmp edx, 7
mov dword [ebp - 0x4a0], eax
lea esi, [ebp - 0x4b0]
cmova esi, dword [ebp - 0x4b0]
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + ecx*2]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x4c4]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x410b78
push edi
lea eax, [ebp - 0x34]
mov byte [ebp - 0x4c4], 0
push eax
push dword [ebp - 0x4c4]
lea ecx, [ebp - 0x4b0]
push edi
call fcn.00408a30
mov eax, dword [ebp - 0x4cc]
lea esi, [ebp - 0x36]
movzx ecx, ax
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x410b84
push ecx
lea eax, [ebp - 0x36]
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00410dc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x498]
cmp dword [ebp - 0x484], 7
mov edi, dword [ebp - 0x498]
mov esi, dword [ebp - 0x4a0]
cmova ecx, edi
mov eax, dword [ebp - 0x49c]
mov edx, dword [ebp - 0x488]
sub eax, esi
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x4c8], esi
cmp edx, eax
ja 0x410c40
cmp dword [ebp - 0x49c], 7
lea eax, [edx + esi]
mov dword [ebp - 0x4a0], eax
lea esi, [ebp - 0x4b0]
cmova esi, dword [ebp - 0x4b0]
mov eax, dword [ebp - 0x4c8]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x4cc]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x488]
add esp, 0xc
add eax, dword [ebp - 0x4c8]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x410c61
push edx
push ecx
mov byte [ebp - 0x4cc], 0
lea ecx, [ebp - 0x4b0]
push dword [ebp - 0x4cc]
push edx
call fcn.00408a30
mov edi, dword [ebp - 0x498]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x484]
cmp eax, 7
jbe 0x410c9b
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x410c91
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d07
push ecx
push edi
call fcn.00412260
add esp, 8
cmp dword [ebp - 0x49c], 7
lea ecx, [ebp - 0x4b0]
mov eax, dword [ebp - 0x4a0]
cmova ecx, dword [ebp - 0x4b0]
mov esi, dword [ebp - 0x4d0]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x4b0]
cmova ecx, dword [ebp - 0x4b0]
push ecx
push eax
push ecx
mov ecx, esi
call fcn.0040ca00
mov ecx, dword [ebp - 0x49c]
cmp ecx, 7
jbe 0x410d17
mov edx, dword [ebp - 0x4b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410d0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410d0d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00412260
add esp, 8
mov eax, esi
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.0041210d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret