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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
cmp dword [ebp - 0x1c], 0
jne 0x40158c
xor eax, eax
jmp 0x401968
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x7ec], str.SOFTWAREmmasses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 2
call fcn.00401500
mov edx, 0x43
mov eax, dword [ebp - 0x7ec]
mov word [eax + 0x12], dx
mov ecx, 0x6c
mov edx, dword [ebp - 0x7ec]
mov word [edx + 0x14], cx
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x7ec]
push ecx
push 0x80000002
call dword [0x430ee8]
test eax, eax
je 0x401651
xor eax, eax
jmp 0x401968
lea edx, [ebp - 0x34]
push edx
push 1
push 0
push str.clsid083863f1_70de_11d0_bd40_00a0c911ce86instance129d7e40_c10d_11d0_afb9_00aa00b67a42
push 0x80000000
call dword [0x430ee8]
test eax, eax
je 0x401674
xor eax, eax
jmp 0x401968
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x40168c
xor eax, eax
jmp 0x401968
push 1
mov eax, dword [0x430ee4]
push eax
call fcn.00401b40
add esp, 8
mov dword [0x430ef4], eax
mov ecx, dword [0x430ef4]
push ecx
call fcn.00401a90
add esp, 4
mov dword [ebp - 0x794], eax
mov edx, dword [0x430ef4]
mov dword [ebp - 0x734], edx
mov dword [ebp - 0x9fc], str._system32123.dll
push 0x104
lea eax, [ebp - 0x9f8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, dword [ebp - 0x9fc]
push ecx
lea edx, [ebp - 0x9f8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x9f8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa00], eax
cmp dword [ebp - 0xa00], 0xffffffff
je 0x401730
cmp dword [ebp - 0xa00], 0
je 0x401730
mov eax, 0x42
jmp 0x401968
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x430ef4]
jae 0x4017a9
mov edx, dword [ebp - 0x734]
push edx
mov eax, dword [ebp - 0x790]
push eax
call fcn.00401400
add esp, 8
mov dword [ebp - 0x788], eax
mov ecx, dword [ebp - 0x788]
push ecx
mov edx, dword [0x430ee4]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x794]
add eax, dword [ebp - 4]
push eax
call fcn.00401100
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x790]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x790]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x734]
sub eax, dword [ebp - 0x788]
mov dword [ebp - 0x734], eax
jmp 0x401730
mov ecx, dword [0x430ef4]
push ecx
mov edx, dword [ebp - 0x794]
push edx
jmp 0x45c3a7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret