Function at 0x430514
Capabilities:
Get disk information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x43051c
push ebx
mov eax, 0x430404
call fcn.0040356c
mov ebx, dword [0x434d34]
xor eax, eax
push ebp
push 0x4307fe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x43080c
push 0xffffffffffffffff
push 0
call fcn.004036f0
mov edx, dword [0x434ce0]
mov dword [edx], eax
call fcn.004037e8
cmp eax, 0xb7
jne 0x430569
call fcn.00402288
call fcn.0041ea18
call fcn.0042e504
mov eax, dword [0x434cb0]
cmp byte [eax + 0x1a10], 0
jne 0x430586
call fcn.0042f248
call fcn.0041c9ec
mov eax, dword [0x434cb0]
cmp byte [eax + 0x1a10], 0
jne 0x4305a6
push 5
mov eax, dword [0x4378cc]
push eax
call sub.KERNEL32.DLL_GetLastError
push 0x430814
push 0xffffffffffffffff
push 0
call fcn.004036f0
mov edx, dword [0x434cc8]
mov dword [edx], eax
mov eax, dword [0x434c1c]
mov byte [eax], 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.0040439c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004044b4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [0x434cc0]
mov edx, dword [edx]
call fcn.00402540
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.004025c0
mov eax, dword [ebp - 0x14]
call fcn.004027b0
mov edx, eax
mov eax, 0x430824
call fcn.004302b4
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0040439c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004044b4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [0x434ccc]
mov edx, dword [edx]
call fcn.00402540
mov edx, dword [ebp - 0x28]
pop eax
call fcn.004025c0
mov eax, dword [ebp - 0x20]
call fcn.004027b0
mov edx, eax
mov eax, 0x430834
call fcn.004302b4
lea eax, [ebp - 0x2c]
mov edx, dword [0x434cc0]
mov edx, dword [edx]
call fcn.00402540
mov eax, dword [ebp - 0x2c]
call fcn.00425954
call fcn.00430054
call fcn.0041f3e8
call fcn.004202c4
mov eax, dword [0x434c8c]
mov byte [eax], 0
call fcn.0042f120
mov eax, dword [0x434c98]
mov word [eax], 0
push fcn.0042f120
mov eax, dword [0x434c10]
mov eax, dword [eax]
mov edx, 0xc
call fcn.00419cdc
imul eax, eax, 0x3e8
push eax
push 0
push 0
call sub.KERNEL32.DLL_GetDriveTypeA
push 0x42f44c
push 0xfffffffffffffffc
mov eax, dword [0x434c9c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov edx, dword [0x434d2c]
mov dword [edx], eax
mov eax, dword [0x434be8]
cmp byte [eax], 0
jne 0x4306ff
lea eax, [ebp - 0x30]
mov edx, dword [0x434ccc]
mov edx, dword [edx]
call fcn.00402540
mov eax, dword [ebp - 0x30]
call fcn.00425628
test al, al
je 0x4306ff
mov eax, dword [0x434c34]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x34]
call fcn.00420bcc
mov eax, dword [ebp - 0x34]
mov edx, 0x430844
call fcn.004026fc
jne 0x430732
call fcn.0041eac8
test al, al
je 0x430732
call fcn.0041e8d8
jmp 0x430732
push ebx
call sub.KERNEL32.DLL_GetModuleFileNameA
push ebx
call fcn.00403a98
push 0
push 0
push 0
push ebx
call sub.KERNEL32.DLL_RaiseException
test eax, eax
jne 0x430726
mov eax, dword [0x434be8]
cmp byte [eax], 0
jne 0x430771
lea eax, [ebp - 0x38]
mov edx, dword [0x434ccc]
mov edx, dword [edx]
call fcn.00402540
mov eax, dword [ebp - 0x38]
call fcn.00425628
test al, al
je 0x430771
mov eax, dword [0x434bf8]
mov eax, dword [eax]
call eax
mov eax, dword [0x434d2c]
mov eax, dword [eax]
push eax
push 0xfffffffffffffffc
mov eax, dword [0x434c9c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov eax, dword [0x434ca4]
mov eax, dword [eax]
call eax
mov eax, dword [0x434bf4]
cmp dword [eax], 0
je 0x4307a8
mov eax, dword [0x434bf4]
mov eax, dword [eax]
push eax
call fcn.00403780
mov eax, dword [0x434d18]
cmp dword [eax], 0
je 0x4307bf
mov eax, dword [0x434d18]
mov eax, dword [eax]
push eax
call fcn.00403780
mov eax, dword [0x434be0]
cmp dword [eax], 0
je 0x4307d6
mov eax, dword [0x434be0]
mov eax, dword [eax]
push eax
call fcn.00403780
mov eax, dword [0x434cc8]
mov eax, dword [eax]
push eax
call fcn.004036c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430805
lea eax, [ebp - 0x38]
mov edx, 0xa
call fcn.00402438
ret