Function at 0x401530
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9f0
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x78c], 4
mov dword [ebp - 0x774], 0x80000000
mov dword [ebp - 0x788], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x71c], eax
pushal
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x7dc], str.SOFTWAREmmasses
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 1
call fcn.00401500
mov ecx, 0x43
mov edx, dword [ebp - 0x7dc]
mov word [edx + 0x12], cx
mov eax, 0x6c
mov ecx, dword [ebp - 0x7dc]
mov word [ecx + 0x14], ax
lea edx, [ebp - 0x20]
push edx
push 1
push 0
mov eax, dword [ebp - 0x7dc]
push eax
push 0x80000002
call dword [0x430928]
test eax, eax
je 0x401631
xor eax, eax
jmp 0x401942
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0
push str.clsid083863f1_70de_11d0_bd40_00a0c911ce86instance129d7e40_c10d_11d0_afb9_00aa00b67a42
push 0x80000000
call dword [0x430928]
test eax, eax
je 0x401654
xor eax, eax
jmp 0x401942
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x40166c
xor eax, eax
jmp 0x401942
push 1
mov edx, dword [0x430924]
push edx
call fcn.00401b20
add esp, 8
mov dword [0x430934], eax
mov eax, dword [0x430934]
push eax
call fcn.00401a70
add esp, 4
mov dword [ebp - 0x784], eax
mov ecx, dword [0x430934]
mov dword [ebp - 0x724], ecx
mov dword [ebp - 0x9ec], str._system32123.dll
push 0x104
lea edx, [ebp - 0x9e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x9ec]
push eax
lea ecx, [ebp - 0x9e8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea edx, [ebp - 0x9e8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x9f0], eax
cmp dword [ebp - 0x9f0], 0xffffffff
je 0x401710
cmp dword [ebp - 0x9f0], 0
je 0x401710
mov eax, 0x42
jmp 0x401942
mov eax, dword [ebp - 4]
cmp eax, dword [0x430934]
jae 0x401789
mov ecx, dword [ebp - 0x724]
push ecx
mov edx, dword [ebp - 0x780]
push edx
call fcn.00401400
add esp, 8
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x778]
push eax
mov ecx, dword [0x430924]
add ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x784]
add edx, dword [ebp - 4]
push edx
call fcn.00401100
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x780]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x780]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x724]
sub edx, dword [ebp - 0x778]
mov dword [ebp - 0x724], edx
jmp 0x401710
mov eax, dword [0x430934]
push eax
mov ecx, dword [ebp - 0x784]
push ecx
call fcn.004014c0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [0x430918], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 2
mov eax, dword [0x430924]
push eax
jmp 0x45b8ca
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret