Function at 0x4044dc
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push esi
push edi
mov eax, 0x543d40
call fcn.004e95f0
mov word [ebp - 0x40], 0xc
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0x18
mov word [ebp - 0x40], 0x24
xor ecx, ecx
mov dword [ebp - 8], ecx
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0x18
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x543436
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
setne dl
and edx, 1
mov byte [ebp - 0x5d], dl
mov word [ebp - 0x40], 0x30
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x5c]
call fcn.0044eccc
lea edx, [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x34]
mov eax, str.momi
call fcn.004f8ab4
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
xor ecx, ecx
call fcn.004f7d1c
inc dword [ebp - 0x34]
lea edx, [ebp - 0x14]
inc dword [ebp - 0x34]
push dword [edx]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x18]
call fcn.004021e4
inc dword [ebp - 0x34]
lea edx, [ebp - 0x18]
push edx
inc dword [ebp - 0x34]
call fcn.0053e090
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.00411614
inc dword [ebp - 0x34]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.004f86cc
dec dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004f86a4
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00402190
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00402190
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004f86a4
mov esi, 0x54317a
lea edi, [ebp - 0x268]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x40], 0x18
push 0x208
lea eax, [ebp - 0x268]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov word [ebp - 0x40], 0x48
lea edx, [ebp - 0x268]
lea eax, [ebp - 0x20]
call fcn.004f8640
inc dword [ebp - 0x34]
lea edx, [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.004f86cc
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004f86a4
lea eax, [ebp - 8]
call fcn.004f8b50
cmp word [eax], 0x5c
je 0x4046af
mov word [ebp - 0x40], 0x54
mov edx, 0x543440
lea eax, [ebp - 0x24]
call fcn.004f8640
inc dword [ebp - 0x34]
lea edx, [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.004f86e0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x40], 0x60
mov edx, 0x543444
lea eax, [ebp - 0x28]
call fcn.004f8640
inc dword [ebp - 0x34]
lea edx, [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.004f86e0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004f86a4
lea edx, [ebp - 4]
lea eax, [ebp - 8]
call fcn.004f86e0
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0044f418
test al, al
jne 0x404701
mov eax, dword [ebp - 8]
call fcn.0044f994
lea eax, [ebp - 8]
call fcn.004f8b50
cmp word [eax], 0x5c
je 0x404740
mov word [ebp - 0x40], 0x6c
mov edx, 0x543478
lea eax, [ebp - 0x2c]
call fcn.004f8640
inc dword [ebp - 0x34]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.004f86e0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x40], 0x78
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004f86cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x40], 0x84
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f86a4
pop eax
mov word [ebp - 0x40], 0x78
inc dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret