Function at 0x10004612
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x290
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x1000e300
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov dword [eax + 8], 0
lea ecx, [ebp - 0x98]
call fcn.10004ae0
mov dword [ebp - 0x20], esp
sub esp, 0x1c
mov ecx, esp
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x10004682
mov edx, dword [esi]
mov dword [ebp - 0x10], 1
push eax
push edx
mov dword [ebp - 0x38], ecx
call fcn.10003b90
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x98]
call section..text
mov esp, dword [ebp - 0x20]
test al, al
je 0x10004983
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movups xmmword [eax - 4], xmm0
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x98]
push eax
call fcn.100011f4
test al, al
je 0x100048b6
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
sub edx, ecx
cmp edx, eax
jbe 0x10004a3b
mov bl, byte [ecx + eax]
mov byte [ebp - 0x3c], bl
lea esi, [eax + 1]
mov dword [ebp - 0x54], esi
cmp edx, esi
jbe 0x10004a40
mov cl, byte [ecx + eax + 1]
mov byte [ebp - 0x38], cl
add eax, 2
mov dword [ebp - 0x54], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
xor eax, eax
lea ecx, [ebp - 0x70]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
movups xmmword [ecx], xmm0
mov dword [ebp - 0x10], 3
push 5
push str.error
call fcn.100031a2
lea eax, [ebp - 0x58]
xor ecx, ecx
mov dword [eax], ecx
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
mov dword [esp], str.C:__
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x100047a6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x29c]
push eax
push ecx
call fcn.10004efe
add esp, 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x29c]
push eax
call fcn.10004c14
mov eax, dword [ebp - 0x288]
cmp eax, 0x10
jb 0x100047a6
inc eax
push eax
push dword [ebp - 0x29c]
call fcn.10002d8e
add esp, 8
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x14
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
jb 0x100047cc
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x10], 4
push eax
push edx
call fcn.10003b90
lea ecx, [ebp - 0x34]
call fcn.10004c62
mov esp, dword [ebp - 0x20]
lea eax, [ebp - 0x9c]
mov dword [eax], 0x100
lea edi, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [ebp - 0x20], esp
sub esp, 0x18
mov esi, esp
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push edi
call fcn.10019a22
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.1000349e
lea ecx, [ebp - 0x34]
call fcn.10004cec
mov esp, dword [ebp - 0x20]
push eax
sub esp, 0x14
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0x12
push str.github___g_edition
call fcn.100031a2
lea ecx, [ebp - 0x34]
call fcn.10004c62
mov esp, dword [ebp - 0x20]
mov dword [ebp - 0x44], 1
xor edx, edx
mov cl, byte [ebp + edx - 0x44]
mov byte [ebp - 0x21], cl
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
je 0x1000487c
mov byte [eax], cl
inc dword [ebp - 0x2c]
jmp 0x10004896
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x30]
lea esi, [ebp - 0x21]
push esi
push eax
mov dword [ebp - 0x20], edx
call fcn.10003574
mov edx, dword [ebp - 0x20]
inc edx
cmp edx, 4
jne 0x10004866
cmp byte [ebp - 0x3c], 0
je 0x100048e9
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
je 0x100048d5
mov byte [eax], 0
inc dword [ebp - 0x2c]
jmp 0x100048e9
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10004983
mov ecx, dword [ebp - 0x48]
sub ecx, eax
push ecx
push eax
call fcn.10002d8e
add esp, 8
jmp 0x10004983
mov dword [ebp - 0x10], 4
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x30]
push edx
push eax
call fcn.10003574
mov dword [ebp - 0x10], 4
cmp byte [ebp - 0x38], 0
je 0x10004913
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x14
mov eax, esp
push eax
call fcn.1000192f
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.10004cec
mov esp, dword [ebp - 0x20]
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x30]
push eax
call fcn.100010c8
movzx eax, byte [ebp - 0x38]
movzx ecx, byte [ebp - 0x3c]
push eax
push ecx
lea eax, [ebp - 0x98]
push eax
call fcn.1000199a
add esp, 0xc
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x10004950
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10002d8e
add esp, 8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10004966
mov ecx, dword [ebp - 0x28]
sub ecx, eax
push ecx
push eax
call fcn.10002d8e
add esp, 8
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10004983
mov ecx, dword [ebp - 0x48]
sub ecx, eax
push ecx
push eax
call fcn.10002d8e
add esp, 8
mov dword [ebp - 0x50], 0
lea esi, [ebp - 0x78]
mov dword [esi - 0x20], 0x1002b1f4
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10004e4e
push 0x28
push dword [esi]
call fcn.1000ead1
add esp, 8
mov eax, dword [esi - 0xc]
test eax, eax
je 0x100049ca
mov ecx, dword [ebp - 0x7c]
sub ecx, eax
push ecx
push eax
call fcn.10002d8e
add esp, 8
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea esi, [ebp - 0x8c]
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10004e9c
push 0x28
push dword [esi]
call fcn.1000ead1
add esp, 8
mov esi, dword [esi - 4]
test esi, esi
je 0x10004a02
push esi
call fcn.10010bab
add esp, 4
push esi
call fcn.1000eacc
add esp, 4
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x10004a19
inc eax
push eax
push dword [esi]
call fcn.10002d8e
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10003646
call fcn.10003646
push ebp
sub esp, 0x20
add ebp, 0xc
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x10004a61
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10002d8e
add esp, 8
add esp, 0x20
pop ebp
ret