Function at 0x41cea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ffc6
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x47d144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xa
push 0x3e8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41d216
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41d216
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0xd4]
push ecx
push 0
push 0
push 0
push 0x74
push eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xcc], 0
push esi
push eax
mov edx, eax
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc4], 0x7fec
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xbc], 0x1401
mov dword [ebp - 0x98], 0x7fec
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
call fcn.0040c3c0
add esp, 0x20
cmp dword [ebp - 0xf4], 0
je 0x41d00b
xor bl, bl
jmp 0x41d17f
push 0
push str._eset_settings_property__namebts.process.elevate_
lea ecx, [ebp - 0xf4]
call fcn.004124f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf4]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe4], 0
push eax
call fcn.004126f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x41d067
push eax
call fcn.00412280
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
neg eax
push str.value
sbb eax, eax
not eax
and eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040c5f0
mov eax, dword [eax]
test eax, eax
je 0x41d0c1
mov eax, dword [eax + 8]
test eax, eax
je 0x41d0c1
mov al, byte [eax]
cmp al, 0x31
je 0x41d0bd
cmp al, 0x74
je 0x41d0bd
cmp al, 0x54
je 0x41d0bd
cmp al, 0x79
je 0x41d0bd
cmp al, 0x59
jne 0x41d0c1
mov al, 1
jmp 0x41d0c3
xor al, al
push 0
push str._eset_settings_property__namebts.container.intro.hide_
lea ecx, [ebp - 0xf4]
mov byte [ebx + 8], al
call fcn.004124f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe4], 0
push eax
call fcn.004126f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x41d122
push eax
call fcn.00412280
add esp, 4
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
neg eax
push str.value
sbb eax, eax
not eax
and eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040c5f0
mov eax, dword [eax]
test eax, eax
je 0x41d178
mov eax, dword [eax + 8]
test eax, eax
je 0x41d178
mov al, byte [eax]
cmp al, 0x31
je 0x41d174
cmp al, 0x74
je 0x41d174
cmp al, 0x54
je 0x41d174
cmp al, 0x79
je 0x41d174
cmp al, 0x59
jne 0x41d178
mov al, 1
jmp 0x41d17a
xor al, al
mov byte [ebx + 9], al
mov bl, 1
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x41d1ae
mov esi, dword [fcn.0040a7c0]
mov ecx, esi
push eax
call dword [0x4623b8]
call esi
add esp, 4
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd8]
mov edi, dword [ecx + 0x2c]
test edi, edi
je 0x41d1e7
jmp 0x41d1c0
mov eax, dword [edi]
test eax, eax
je 0x41d1da
mov esi, dword [fcn.0040a7c0]
mov ecx, esi
push eax
call dword [0x4623b8]
call esi
add esp, 4
mov edi, dword [edi + 4]
test edi, edi
jne 0x41d1c0
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx]
shr eax, 8
sub ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x41d212
mov esi, dword [fcn.0040a7c0]
mov ecx, esi
mov edi, dword [eax + 8]
push eax
call dword [0x4623b8]
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x41d1f5
mov al, bl
jmp 0x41d218
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004281b1
mov esp, ebp
pop ebp
ret