Function at 0x407460
Capabilities:
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4234f9
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0xff
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1dc]
push eax
push 0x522480
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x40780b
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1ec]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x1d8]
push edx
mov dword [ebp - 0x1d8], 0x5c3a43
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
setne al
cmp al, bl
je 0x40780b
lea eax, [ebp - 0x1e8]
push eax
push 0x42e010
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x40780b
push 0x522480
call fcn.00401f90
push 0x42e010
mov esi, eax
call fcn.00401f90
mov ecx, dword [ebp - 0x1ec]
add eax, esi
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x1d8]
push edx
push 0x42dc20
mov word [ebp - 0x1d8], 0x6425
mov byte [ebp - 0x1d6], bl
call fcn.0040cbea
lea eax, [ebp - 0x1e4]
push eax
call fcn.0040d024
lea ecx, [ebp - 0x1e4]
push ecx
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], edx
call fcn.0040cffd
mov edx, dword [eax + 4]
push edx
lea eax, [ebp - 0x110]
push str._02i
push eax
call fcn.0040cbea
lea ecx, [ebp - 0x134]
push 0x14
push ecx
call fcn.00407360
add esp, 0x30
push eax
mov ecx, 0x42b154
mov dword [ebp - 4], ebx
call fcn.00401740
mov esi, 0x10
cmp dword [ebp - 0x120], esi
jb 0x4075c0
mov edx, dword [ebp - 0x134]
push edx
call fcn.0040b7df
add esp, 4
mov eax, dword [0x42b154]
cmp dword [0x42b168], esi
jae 0x4075d2
mov eax, 0x42b154
push eax
mov dword [ebp - 0x118], 0x3d327826
mov byte [ebp - 0x114], bl
lea eax, [ebp - 0x118]
push eax
sub esp, 0x1c
mov esi, esp
mov eax, 0x42dc20
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x1d8], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407610
sub eax, edi
push eax
push 0x42dc20
mov ecx, esi
call fcn.00401600
lea ecx, [ebp - 0x134]
push ecx
call fcn.00409310
add esp, 0x20
mov esi, eax
mov edx, str._btl_dggdnoyg__d__etmhm_c_
sub edx, 0x2d54c074
push edx
lea ecx, [ebp - 0x154]
call fcn.00402650
push esi
push eax
lea eax, [ebp - 0x170]
push eax
mov byte [ebp - 4], 3
call fcn.004067a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18c]
push ecx
mov byte [ebp - 4], 4
call fcn.004067f0
add esp, 0xc
push eax
lea edx, [ebp - 0x1a8]
push edx
mov byte [ebp - 4], 5
call fcn.004067f0
add esp, 0xc
mov edi, 0x10
cmp dword [ebp - 0x178], edi
jb 0x4076a7
mov eax, dword [ebp - 0x18c]
push eax
call fcn.0040b7df
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x17c], ebx
mov byte [ebp - 0x18c], bl
cmp dword [ebp - 0x15c], edi
jb 0x4076d5
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.0040b7df
add esp, 4
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x138], bl
cmp dword [ebp - 0x120], edi
jb 0x40772e
mov edx, dword [ebp - 0x134]
push edx
call fcn.0040b7df
add esp, 4
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1d8], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x42b154
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x114], bl
mov byte [ecx], bl
call fcn.00401460
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1f0], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1a8]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ebp - 4], 0xc
mov byte [ecx], bl
call fcn.00401460
push 0x46d40e5
lea ecx, [ebp - 0x1d4]
call fcn.004026a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push eax
mov byte [ebp - 4], 0xe
call fcn.00401700
lea ecx, [ebp - 0x1c4]
push ecx
mov byte [ebp - 4], 0xf
call fcn.00406ce0
add esp, 0x58
push eax
mov ecx, 0x42b138
mov byte [ebp - 4], 0x10
call fcn.00401740
cmp dword [ebp - 0x1b0], edi
jb 0x4077f4
mov edx, dword [ebp - 0x1c4]
push edx
call fcn.0040b7df
add esp, 4
cmp dword [ebp - 0x194], edi
jb 0x40780b
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.0040b7df
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c734
mov esp, ebp
pop ebp
ret