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
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x14], 0x28
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 0x401512
xor eax, eax
jmp 0x401874
mov dword [ebp - 0xec], str.SOFTWAREUUasses
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x14], 0x28
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x16]
cmp eax, ecx
je 0x40157a
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x29]
cmp eax, ecx
je 0x40157a
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x15]
cmp eax, ecx
je 0x40157a
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x2a]
cmp eax, ecx
jne 0x40159c
mov dword [ebp - 0xf0], 0x40b054
mov dword [ebp - 0xf4], 0x40b058
mov edx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [0x438e6c], edx
jmp 0x4015bc
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 [0x438e6c]
test eax, eax
je 0x4015ff
xor eax, eax
jmp 0x401874
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 [0x438e6c]
test eax, eax
je 0x401621
xor eax, eax
jmp 0x401874
push 1
mov edx, dword [0x438e68]
push edx
call fcn.004019e0
add esp, 8
mov dword [0x438e78], eax
mov eax, dword [0x438e78]
push eax
call fcn.004018a0
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [0x438e78]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x438e78]
jae 0x4016c3
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 [0x438e68]
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 0x401654
mov edx, dword [0x438e78]
push edx
mov eax, dword [ebp - 0x94]
push eax
call fcn.00401460
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [0x438e5c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 2
mov edx, dword [0x438e68]
push edx
call fcn.004019e0
add esp, 8
mov dword [0x438e78], eax
mov eax, dword [0x438e78]
push eax
call fcn.004018a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x438e78]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x438e78]
jae 0x40178c
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 [0x438e68]
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 0x401720
mov edx, dword [0x438e78]
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.004018a0
add esp, 4
mov dword [0x438e44], eax
push 0x1ed00
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [0x438e44]
add edx, 0x200
push edx
call fcn.00401030
add esp, 0xc
call fcn.00401370
mov dword [ebp - 0x9c], eax
mov eax, dword [0x438e44]
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 [0x438e44]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00401970
add esp, 0xc
mov edx, dword [0x438e44]
add edx, 0x1ebd0
mov dword [0x438e48], 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 0x401867
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret