Function at 0x441aa0
Capabilities:
Check os version
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x581a08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
mov edi, 1
mov dword [esp + 0x2dc], edi
call fcn.00578d59
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x284]
test ecx, ecx
je 0x441b6c
call fcn.00578d59
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, 0x288
push eax
call fcn.00568481
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 2
mov eax, dword [eax - 8]
add eax, 0xfffffffb
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00563a94
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 3
call fcn.00568845
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 2
call fcn.0056870c
mov esi, dword [esp + 0x2e4]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x14], edi
mov byte [esp + 0x2dc], 1
lea ecx, [esp + 0x18]
jmp 0x442054
lea eax, [esp + 0x1d0]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x1d0]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.004cd3d0
add esp, 8
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push eax
mov byte [esp + 0x2e0], 4
call ebp
cmp eax, 3
mov ebx, 5
jne 0x441c1c
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x28]
push str.Program_Files
push edx
push ecx
call fcn.005689a1
call fcn.004416c0
add esp, 8
test eax, eax
je 0x441c1c
lea eax, [esp + 0x20]
push str.Program_Files
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005689a1
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
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]
lea ecx, [esp + 0x1c]
jmp 0x441cac
lea ecx, [esp + 0x30]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004cd3d0
add esp, 8
lea ecx, [esp + 0x10]
push str.Program_Files
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x2e8], bl
call fcn.005689a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 6
call fcn.00568845
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], bl
call fcn.0056870c
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x2dc], 4
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]
lea ecx, [esp + 0x10]
call fcn.0056870c
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x134]
mov dword [esp + 0x134], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x44202d
mov eax, dword [esp + 0x144]
mov esi, 2
cmp eax, esi
jne 0x44202d
mov eax, dword [esp + 0x138]
cmp eax, 4
jbe 0x44202d
cmp eax, 6
jne 0x441fba
mov eax, dword [esp + 0x13c]
test eax, eax
jne 0x44200f
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004cd3d0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 7
call fcn.00568c0e
mov edx, dword [0x5f9f88]
mov dword [esp + 0x18], edx
push 0x5fe7d8
lea ecx, [esp + 0x28]
mov byte [esp + 0x2e0], 8
call fcn.0056877a
mov byte [esp + 0x2dc], 9
mov bl, 0x41
movsx eax, bl
push eax
lea ecx, [esp + 0x1c]
push 0x5ea9f0
push ecx
call fcn.00563eb4
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
call ebp
cmp eax, 3
jne 0x441e23
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.005503ed
add esp, 8
test eax, eax
je 0x441e23
mov edx, dword [esp + 0x24]
push 0x5fe7d8
push edx
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x441dd6
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push str._sProgram_Files
push ecx
call fcn.00563eb4
add esp, 0xc
jmp 0x441ddb
cmp bl, 0x48
jg 0x441e4f
mov edx, dword [0x5f9f88]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push str._sProgram_Files
push ecx
mov byte [esp + 0x2e8], 0xa
call fcn.00563eb4
mov edx, dword [esp + 0x1c]
push edx
call fcn.00441790
add esp, 0x10
test al, al
jne 0x441e20
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 9
call fcn.0056870c
push 0xc3de0012
faddp st(3)
cmp bl, 0x5a
jle 0x441d6b
sti
pop ds
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call fcn.00568845
lea ecx, [esp + 0x10]
mov byte [esp + 0x10000adc], 9
call fcn.0056870c
mov ecx, dword [esp + 0x2e8]
push 0x5fe7d8
push ecx
push 0x10e58c
add esp, 8
test al, al
je 0x441ed3
mov edx, dword [esp + 0x24]
push 0x5fefd8
push edx
call fcn.005503ed
add esp, 8
test eax, eax
je 0x441ec3
push 1
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00568481
call fcn.004416c0
add esp, 8
lea ecx, [esp + 0x2e8]
lea edx, [esp + 0x10]
push ecx
push 0x5ea038
push edx
call fcn.00568a15
push eax
lea ecx, [esp + 0x28]
inc esi
movsb byte es:[edi], byte [esi]
and al, 0xe0
add al, byte [eax]
add byte [ebx], cl
call fcn.00568b24
lea ecx, [esp + 0x10]
dec esp
and al, 0x10
mov byte [esp + 0x2dc], 9
call fcn.0056870c
mov eax, dword [esp + 0x24]
push 0x5fe7d8
push eax
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x441f05
lea ecx, [esp + 0x30]
push ecx
lea ebx, [esp + 0x14]
call fcn.0056877a
mov dword [esp + 0x14], esi
mov byte [esp + 0x2dc], 0xc
jmp 0x441f09
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2e]
call fcn.00568481
mov al, byte [esp + 0x14]
mov dword [esp + 0x2dc], 0xe
test al, 2
je 0x441f39
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
and al, 0xfd
mov dword [esp + 0x14], eax
call fcn.0056870c
push 1
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00568481
call 0x441ec0
mov esi, dword [esp + 0x2ec]
add esp, 8
lea eax, [esp - 0x58]
mov ecx, esi
push eax
push 0x12651a
mov eax, dword [esi + 0x24]
adc al, 0x8d
dec esp
and al, 0x28
or al, 1
mov byte [esp + 0x402dc], 9
mov dword [esp + 0x14], eax
call fcn.0056870c
popfd
dec esp
and al, 0x24
mov byte [esp + 0x2dc], 8
call fcn.0056870c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 7
call fcn.0056870c
lea ecx, [esp + 0x1c]
into
test byte [esp + ebx*8], ah
add al, byte [eax]
add byte [eax + ebp*8], al
push edi
adc al, byte [bx + si]
jmp 0x442048
cmp eax, ebx
jne 0x44200f
mov eax, dword [eax + 0x13c24]
add byte [ebx], bh
invalid
mov edi, 1
mov esi, dword [esp + 0x2e4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0056877a
mov dword [esp + 0x14], edi
jmp 0x442048
lea edx, [esp + 0x30]
push edx
mov esi, dword [esp + 0x2e8]
mov ecx, esi
call fcn.0056877a
mov dword [esp + 0x14], 1
mov byte [esp + 0x2dc], 1
lea ecx, [esp + 0x20]
call fcn.0056870c
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x2dc], 0
call fcn.0056870c
mov ecx, dword [esp + 0x2d4]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2d0
ret