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

Disassembly:
push 0xffffffffffffffff
push 0x49351b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
push ebp
push esi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov ebx, ecx
test ebx, ebx
je 0x4371f5
mov ecx, SysReAllocString
mov eax, ebx
xor edx, edx
lea ecx, [ecx]
cmp word [eax], dx
je 0x43717f
add eax, 2
sub ecx, 1
jne 0x437170
jmp 0x437183
test ecx, ecx
jne 0x4371ec
mov edx, 0x80070057
xor eax, eax
test edx, edx
mov ecx, edx
jge 0x437192
xor eax, eax
xor edx, edx
test ecx, ecx
setl dl
xor ecx, ecx
sub edx, 1
and edx, eax
add edx, 0x104
mov ebp, edx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
add esp, 4
cmp ebp, 0x7fffffff
mov esi, eax
ja 0x4371d6
mov eax, ebx
mov edx, ebp
mov ecx, esi
call fcn.00402840
cmp word [esi + 2], 0x3a
jne 0x4371fc
cmp word [esi + 4], 0x5c
jne 0x4371fc
xor ebx, ebx
mov word [esi + 6], bx
jmp 0x4371fe
mov eax, SysReAllocString
sub eax, ecx
jmp 0x43718a
mov ecx, 0x80070057
jmp 0x437190
xor ebx, ebx
push 0x208
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
push 0x208
lea ecx, [esp + 0x4c]
push ecx
push esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov word [esp + 0x25c], bx
mov word [esp + 0x54], bx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
call fcn.0045525d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43725e
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push str.Descriptions
lea ecx, [esp + 0x14]
push str.__s_
push ecx
mov dword [esp + 0x45c], ebx
call fcn.004045e0
mov ecx, dword [esp + 0x1c]
push edi
call fcn.004374e0
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [esp + 0x24]
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x22]
push ecx
movzx ecx, word [esp + 0x22]
push edx
movzx edx, word [esp + 0x24]
push eax
push ecx
push edx
push str.SystemTime
lea eax, [esp + 0x2c]
push str._s_d__02d__02d__02d:_02d:_02d
push eax
call fcn.004045e0
mov ecx, dword [esp + 0x34]
push edi
call fcn.004374e0
add esp, 0x28
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x24]
movzx eax, word [esp + 0x22]
movzx ecx, word [esp + 0x20]
push edx
movzx edx, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x22]
push ecx
movzx ecx, word [esp + 0x24]
push edx
push eax
push ecx
push str.LocalTime
lea edx, [esp + 0x2c]
push str._s_d__02d__02d__02d:_02d:_02d
push edx
call fcn.004045e0
mov ecx, dword [esp + 0x34]
push edi
call fcn.004374e0
push esi
push str.DriveName
lea eax, [esp + 0x40]
push str._s__s_
push eax
call fcn.004045e0
mov ecx, dword [esp + 0x48]
push edi
call fcn.004374e0
add esp, 0x3c
cmp word [esp + 0x34], bx
lea eax, [esp + 0x34]
jne 0x437365
mov eax, str.None
push eax
push str.VolumeName
lea ecx, [esp + 0x18]
push str._s__s_
push ecx
call fcn.004045e0
mov ecx, dword [esp + 0x20]
push edi
call fcn.004374e0
mov eax, dword [esp + 0x40]
movzx edx, ax
push edx
shr eax, 0x10
push eax
push str.VolumeSerialNumber
lea eax, [esp + 0x30]
push str._s_X__X
push eax
call fcn.004045e0
mov ecx, dword [esp + 0x38]
push edi
call fcn.004374e0
mov ecx, dword [esp + 0x54]
push ecx
push str.FileSystemFlags
lea edx, [esp + 0x44]
push str._s_08lX
push edx
call fcn.004045e0
mov ecx, dword [esp + 0x4c]
push edi
call fcn.004374e0
add esp, 0x40
cmp word [esp + 0x23c], bx
lea eax, [esp + 0x23c]
jne 0x4373ea
mov eax, str.None
push eax
push str.FileSystemName
lea eax, [esp + 0x18]
push str._s__s_
push eax
call fcn.004045e0
mov ebx, dword [esp + 0x20]
push edi
mov ecx, ebx
call fcn.004374e0
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x437446
push esi
push str.ComputerName
lea edx, [esp + 0x18]
push str._s__s_
push edx
call fcn.004045e0
mov ebx, dword [esp + 0x20]
push edi
mov ecx, ebx
call fcn.004374e0
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x43747e
push esi
push str.UserName
lea ecx, [esp + 0x18]
push str._s__s_
push ecx
call fcn.004045e0
mov ebx, dword [esp + 0x20]
push edi
mov ecx, ebx
call fcn.004374e0
add esp, 0x14
push edi
mov ecx, 0x4a77b8
call fcn.004374e0
push esi
call fcn.0045505b
lea eax, [ebx - 0x10]
add esp, 8
mov dword [esp + 0x450], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4374b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.0047a105
add esp, 0x444
ret