Function at 0x54d570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54d74a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x54d6e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x54d75c
call fcn.0054d360
test al, al
jne 0x54d6d5
mov eax, 0x54d768
call fcn.0054d360
test al, al
jne 0x54d6d5
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004047f4
push dword [ebp - 0x10c]
push 0x54d778
push 0x54d794
push 0x54d7a8
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404904
mov eax, dword [ebp - 4]
call fcn.00409f98
test al, al
je 0x54d63a
lea eax, [ebp - 8]
mov edx, 0x54d794
call fcn.0040460c
jmp 0x54d67f
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004047f4
push dword [ebp - 0x110]
push 0x54d778
push 0x54d7b8
push 0x54d7a8
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404904
lea eax, [ebp - 8]
mov edx, 0x54d7b8
call fcn.0040460c
mov eax, dword [ebp - 8]
call fcn.00404a44
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00404a44
pop edx
call fcn.0054d2fc
test al, al
je 0x54d6bf
mov eax, ebx
call fcn.0054d360
test al, al
jne 0x54d6d5
mov ecx, 0x54d7c8
mov dl, 1
mov eax, dword [0x408468]
call fcn.0040e550
call fcn.00403ef0
jmp 0x54d6d5
mov ecx, 0x54d7e4
mov dl, 1
mov eax, dword [0x408468]
call fcn.0040e550
call fcn.00403ef0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54d71f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54d751
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404598
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404598
ret

Function at 0x54e15c
Capabilities:
Check for time delay via gettickcount
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp word [eax + 0x3a], 0
je 0x54e1ee
mov byte [ebp - 5], bl
mov byte [ebp - 4], 0x3a
mov byte [ebp - 3], 0x5c
mov byte [ebp - 2], 0
lea eax, [ebp - 5]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov al, byte [eax + 0x40]
or al, byte [ebp - 1]
jne 0x54e1be
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp bl, byte [eax + 0x4c]
jne 0x54e1be
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x48]
cmp eax, 0x1f4
jbe 0x54e1ee
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x4c], bl
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x48], eax
push esi
mov al, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax - 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov ecx, ebx
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret