Function at 0x520738
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
mov eax, 0x70a010
push ebx
push esi
push edi
lea ebx, [ebp - 0x7c]
mov edi, dword [ebp + 8]
call fcn.0067eabc
lea edx, [ebp - 0x2b4]
push edx
call sub.KERNEL32.DLL_GetSystemInfo
lea ecx, [ebp - 0x290]
push 0x104
push ecx
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x84]
push ecx
push eax
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x18c]
push 0x104
push ecx
mov word [ebx + 0x10], 0xc
xor eax, eax
push 0x730ca0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
push edx
inc dword [ebx + 0x1c]
call fcn.0054bc10
add esp, 8
lea ecx, [ebp - 0xc]
mov eax, dword [ecx]
push eax
mov edx, str._Ptah_prudishness_prow
lea eax, [ebp - 0x10]
call fcn.0068e308
inc dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
push edx
push 0x730ca0
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
inc dword [ebx + 0x1c]
call fcn.0053af08
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x18], eax
lea eax, [edi + 4]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0068e474
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
xor ecx, ecx
call fcn.0068c4cc
inc dword [ebx + 0x1c]
lea esi, [ebp - 0x1c]
inc dword [ebx + 0x1c]
cmp dword [esi], 0
jne 0x520813
mov eax, 0x706633
jmp 0x520835
cmp dword [esi], 0
je 0x520833
mov edx, dword [esi]
movzx ecx, word [edx - 0xa]
cmp ecx, 2
jne 0x520833
mov eax, esi
call fcn.005eaf88
mov edx, esi
mov eax, esi
call fcn.005a76e4
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
lea eax, [ebp - 0x1c]
sete dl
and edx, 1
push edx
mov edx, 2
sub dword [ebx + 0x1c], 2
call fcn.00411d10
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0068e424
pop ecx
test cl, cl
mov word [ebx + 0x10], 0x24
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
inc dword [ebx + 0x1c]
mov edx, 8
mov eax, dword [ebp - 0x80]
call fcn.005d13b0
lea ecx, [ebp - 0x20]
xor eax, eax
push ecx
push 0x730ca0
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x24]
push edx
inc dword [ebx + 0x1c]
call fcn.0054bc10
add esp, 8
lea ecx, [ebp - 0x24]
mov eax, dword [ecx]
push eax
mov edx, 0x706634
lea eax, [ebp - 0x28]
call fcn.0068e308
inc dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
push edx
push 0x730ca0
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
push ecx
inc dword [ebx + 0x1c]
call fcn.0053af08
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x2c]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x30]
pop eax
call fcn.0068e474
lea eax, [ebp - 0x30]
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 4]
inc dword [ebx + 0x1c]
lea edx, [edi + 0x1c]
call fcn.0068e474
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0068e424
mov word [ebx + 0x10], 0x18
mov word [ebx + 0x10], 0x30
mov edx, 0x70663d
lea eax, [ebp - 8]
call fcn.0068e308
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], 0x18
mov word [ebx + 0x10], 0x3c
push 0x730ca0
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
push ecx
inc dword [ebx + 0x1c]
call fcn.0054bc10
add esp, 8
lea eax, [ebp - 0x34]
mov edx, dword [eax]
push edx
mov edx, str._prudence_proverb_proteolysis_psittacosis_provabilitys_provisional_Provence_provisional_provenience_provably_pryers_Prudy_prototype_PST_provost_Protestantism_psychedelic
lea eax, [ebp - 0x38]
call fcn.0068e308
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
lea eax, [ebp - 0x3c]
push ecx
xor ecx, ecx
push 0x730ca0
mov dword [ebp - 0x3c], ecx
push eax
inc dword [ebx + 0x1c]
call fcn.0053af08
xor edx, edx
add esp, 0x10
mov dword [ebp - 0x40], edx
lea edx, [ebp - 4]
inc dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.0068e474
lea eax, [ebp - 0x40]
mov ecx, dword [eax]
lea eax, [ebp - 0x44]
push ecx
xor ecx, ecx
push 0x730bd0
mov dword [ebp - 0x44], ecx
push eax
inc dword [ebx + 0x1c]
call fcn.004f1148
add esp, 0xc
lea edx, [ebp - 0x44]
lea eax, [ebp - 8]
call fcn.0068e44c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0068e424
mov word [ebx + 0x10], 0x48
push 0x730ca0
xor ecx, ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x48]
push ecx
inc dword [ebx + 0x1c]
call fcn.0054bc10
add esp, 8
lea eax, [ebp - 0x48]
mov edx, dword [eax]
push edx
mov edx, str._publish
lea eax, [ebp - 0x4c]
call fcn.0068e308
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
lea eax, [ebp - 0x50]
push ecx
xor ecx, ecx
push 0x730ca0
mov dword [ebp - 0x50], ecx
push eax
inc dword [ebx + 0x1c]
call fcn.0053af08
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 8]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
call fcn.0068e474
lea eax, [ebp - 0x54]
xor edx, edx
mov dword [ebp - 0x58], edx
lea ecx, [ebp - 0x58]
inc dword [ebx + 0x1c]
lea edx, [ebp - 4]
call fcn.0068e474
lea edx, [ebp - 0x58]
lea eax, [edi + 0x18]
call fcn.0068e44c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0068e424
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0068e424
mov ecx, dword [ebx]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret