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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.004248b0
mov eax, dword [0x42b768]
push esi
push edi
push 0x1a77ffff
push eax
call fcn.0040e290
mov ecx, dword [0x42b77c]
push 0x8351ffff
push ecx
mov word [0x42b752], ax
call fcn.0040e3c0
movsx edx, byte [0x42b74a]
mov esi, dword [0x42b780]
add esp, 0x10
mov word [0x42b754], ax
lea eax, [ebp - 0x80c]
push 0
push 0x24
or edx, esi
push eax
push 0
mov byte [ebp - 0x80c], 0
mov dword [0x42b784], edx
mov dword [0x42b77c], 0x88a1fffe
call dword [0x42bcc4]
mov ecx, dword [0x42b77c]
push ecx
push 0xdc85ffff
call fcn.0040e3c0
mov edx, dword [0x42b788]
mov word [0x42b75a], ax
movsx eax, word [0x42b75c]
push edx
push eax
call fcn.0040e2f0
mov esi, dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov dword [0x42b774], eax
mov al, byte [ebp - 0x80c]
add esp, 0x10
test al, al
jne 0x41456c
mov al, byte [0x42b430]
sub al, 0x28
and eax, 0xff
add eax, 3
and al, 0xfc
call fcn.004248b0
mov ecx, esp
lea edx, [ebp - 0x80c]
push 0x800
push edx
mov edx, 0x42b430
call fcn.00422900
push eax
call esi
movsx eax, word [0x42b75e]
push eax
push 0x64a7ffff
mov word [0x42b75a], 0xfffe
call fcn.0040e3c0
mov byte [0x42b74c], al
mov al, byte [ebp - 0x80c]
add esp, 8
test al, al
jne 0x4145ca
mov al, byte [0x42b428]
sub al, 0x28
and eax, 0xff
add eax, 3
and al, 0xfc
call fcn.004248b0
mov ecx, esp
lea edx, [ebp - 0x80c]
push 0x800
push edx
mov edx, 0x42b428
call fcn.00422900
push eax
call esi
mov eax, dword [0x42b770]
push 0xb691ffff
push eax
call fcn.0040e2f0
mov ecx, dword [0x42b780]
push 0xab81ffff
push ecx
mov word [0x42b760], ax
call fcn.0040e3c0
movsx edx, byte [0x42b74d]
push edx
push 0xe955ffff
mov dword [0x42b768], eax
call fcn.0040e340
mov byte [0x42b750], al
mov al, byte [ebp - 0x80c]
add esp, 0x18
test al, al
jne 0x414661
mov al, byte [0x42b41c]
sub al, 0x28
and eax, 0xff
add eax, 3
and al, 0xfc
call fcn.004248b0
mov ecx, esp
mov edx, 0x42b41c
call fcn.00422900
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x80c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [0x42b75c]
mov edx, dword [0x42b788]
neg cx
push 0xb13bffff
push edx
mov word [0x42b752], cx
call fcn.0040e4a0
mov dword [0x42b768], eax
movsx eax, byte [0x42b74a]
push eax
push 0x324bffff
call fcn.0040e450
add esp, 0x10
lea ecx, [ebp - 0x80c]
mov dword [0x42b76c], eax
push ecx
call dword [0x42bc94]
movsx dx, byte [0x42b74e]
imul edx, dword [0x42b768]
cmp word [0x42b75a], 0
mov esi, eax
movsx ecx, word [0x42b754]
setne al
push 0xe667ffff
push ecx
mov word [0x42b762], dx
mov byte [0x42b74c], al
call fcn.0040e450
add esp, 8
mov word [0x42b754], ax
test esi, esi
jl 0x414734
cmp esi, 0x19
jg 0x414734
mov al, byte [0x42b414]
sub al, 0x28
and eax, 0xff
add eax, 3
and al, 0xfc
call fcn.004248b0
add esi, 0x41
mov ecx, esp
push esi
mov edx, 0x42b414
call fcn.00422900
lea edx, [ebp - 0x100c]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x414767
mov al, byte [0x42b40c]
sub al, 0x28
and eax, 0xff
add eax, 3
and al, 0xfc
call fcn.004248b0
mov ecx, esp
mov edx, 0x42b40c
call fcn.00422900
push eax
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
push 0x6911ffff
push 0xaaefffff
call fcn.0040e450
mov word [0x42b75a], ax
mov eax, dword [0x42b788]
add esp, 8
mov dword [0x42b77c], 0x1445ffff
test eax, eax
je 0x4147a2
mov al, byte [0x42b748]
mov byte [0x42b74b], 1
test al, al
jne 0x4147a9
mov byte [0x42b74b], 0
movsx ecx, byte [0x42b74f]
mov edx, dword [0x42b780]
push ecx
push edx
call fcn.0040e2f0
add esp, 8
mov word [0x42b762], ax
lea eax, [ebp - 0x180c]
lea ecx, [ebp - 8]
push 0x800
push eax
lea edx, [ebp - 0xc]
push ecx
lea eax, [ebp - 4]
push edx
push eax
lea ecx, [ebp - 0x200c]
push 0x800
lea edx, [ebp - 0x100c]
push ecx
push edx
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
test eax, eax
je 0x414800
mov esi, dword [ebp - 4]
push 0x321fffff
push 0xbfadffff
call fcn.0040e450
add esp, 8
mov dword [0x42b778], eax
lea esp, [ebp - 0x2014]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret