Function at 0x4574b0
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x344], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403ed4
xor eax, eax
push ebp
push 0x4578ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
call fcn.00403e30
je 0x4578c3
mov dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x340]
lea eax, [ebp - 0x3c]
call fcn.00408674
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00403af8
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
call fcn.00403af8
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00403aa4
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403aa4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 0
lea eax, [ebp - 0x33c]
mov edx, pe_nt_image_headers32
call fcn.00406998
lea eax, [ebp - 0x13c]
mov edx, pe_nt_image_headers32
call fcn.00406998
lea eax, [ebp - 0x23c]
mov edx, pe_nt_image_headers32
call fcn.00406998
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0x20], pe_nt_image_headers32
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00408214
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403e30
jne 0x4575dc
lea eax, [ebp - 8]
mov edx, 0x457904
call fcn.00403d28
lea eax, [ebp - 0x340]
mov ecx, 0x457904
mov edx, dword [ebp - 0xc]
call fcn.00403d6c
mov edx, dword [ebp - 0x340]
lea eax, [ebp - 0x33c]
call fcn.00408550
lea eax, [ebp - 0x33c]
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 1
jb 0x45761d
je 0x45763c
sub eax, 3
je 0x45765b
jmp 0x457761
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403aa4
xor ecx, ecx
mov edx, 0xd
mov eax, dword [ebp - 4]
call fcn.004572d4
jmp 0x4578c3
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403aa4
xor ecx, ecx
mov edx, 0xe
mov eax, dword [ebp - 4]
call fcn.004572d4
jmp 0x4578c3
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
lea eax, [ebp - 0x340]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00403f24
mov eax, dword [ebp - 0x340]
mov edx, 0x457910
call fcn.00403e30
je 0x457761
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.004026e4
xor eax, eax
push ebp
push 0x45774d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 2
lea eax, [ebp - 0x33c]
push eax
call sub.mpr.dll_WNetGetUniversalNameA
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.004026e4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 2
lea eax, [ebp - 0x33c]
push eax
call sub.mpr.dll_WNetGetUniversalNameA
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0x340]
mov eax, dword [ebx + 4]
call fcn.00457418
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00403af8
lea edx, [ebp - 0x340]
mov eax, dword [ebx + 4]
call fcn.00408674
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x344]
mov eax, dword [ebx + 8]
call fcn.00408674
mov edx, dword [ebp - 0x344]
pop eax
call fcn.00403d28
mov edx, dword [ebp - 0x340]
lea eax, [ebp - 0x33c]
call fcn.00408550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457757
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.004026e4
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x33c]
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x4577b6
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403aa4
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004572d4
jmp 0x4578c3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x44], edx
lea edx, [ebp - 0x340]
lea eax, [ebp - 0x13c]
call fcn.00408674
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00403af8
lea edx, [ebp - 0x340]
lea eax, [ebp - 0x23c]
call fcn.00408674
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403af8
mov eax, dword [ebp - 8]
call fcn.00407e58
mov edx, dword [ebp - 4]
mov byte [edx + 0x2c], al
mov eax, dword [ebp - 8]
call fcn.00457188
mov edx, dword [ebp - 4]
mov byte [edx + 0x2d], al
test dword [ebp - 0x1c], 8
ja 0x4578a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
cmp dword [eax + 8], 0
jle 0x457888
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x457879
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0040dce8
mov edx, dword [0x456fa8]
call fcn.00404608
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0040dc0c
dec ebx
cmp ebx, 0xffffffff
jne 0x45784e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov bx, 0xffff
call fcn.004030e0
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403aa4
xor ecx, ecx
mov edx, 0xfffffffe
mov eax, dword [ebp - 4]
call fcn.004572d4
jmp 0x4578b2
mov eax, dword [ebp - 4]
add eax, 0x30
mov edx, dword [ebp - 8]
call fcn.00403af8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x4578c3
mov eax, dword [ebp - 4]
call fcn.00457e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4578f5
lea eax, [ebp - 0x344]
mov edx, 2
call fcn.00403ac8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403ac8
ret