Function at 0x41f180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4509a8
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x46718c]
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 esi, eax
test esi, esi
je 0x41f74f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41f74f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0xec], 0
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xb4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0x7fec
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xd4], 0x1401
mov dword [ebp - 0xb0], 0x7fec
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0
call fcn.0040dd40
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xf0], eax
xorps xmm0, xmm0
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xec]
push eax
push 0
push 0
push 0
push 0x74
push esi
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd8], 0
push edi
push eax
mov edx, eax
mov dword [ebp - 0xdc], 0x7fec
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xd4], 0x1401
mov dword [ebp - 0xb0], 0x7fec
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
call fcn.0040da20
add esp, 0x20
cmp dword [ebp - 0x1c], 0
je 0x41f36c
xor bl, bl
jmp 0x41f739
push 0
push str._eset_settings_property__namebts.process.name_
lea ecx, [ebp - 0x1c]
call fcn.00413cb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xfc], 0
push eax
call fcn.00413eb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f3bf
push eax
call fcn.00413a40
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0
cmp dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf8]
cmovne eax, ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xfc]
push str.value
push eax
call fcn.0040dc50
mov esi, dword [eax]
test esi, esi
je 0x41f3fe
mov esi, dword [esi + 8]
test esi, esi
jne 0x41f403
mov esi, 0x45f406
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f408
sub ecx, edx
je 0x41f464
mov ecx, str._auto_
mov eax, esi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41f440
test dl, dl
je 0x41f43c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41f440
add eax, 2
add ecx, 2
test dl, dl
jne 0x41f420
xor eax, eax
jmp 0x41f445
sbb eax, eax
or eax, 1
test eax, eax
je 0x41f464
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0040b3e0
push eax
lea ecx, [ebx + 0x6c]
call fcn.0041f970
lea ecx, [ebp - 0x28]
call fcn.00403110
push 0
push str._eset_settings_property__namebts.process.path.name_
lea ecx, [ebp - 0x1c]
call fcn.00413cb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xfc], 0
push eax
call fcn.00413eb0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f4b7
push eax
call fcn.00413a40
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0
cmp dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf8]
cmovne eax, ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xfc]
push str.value
push eax
call fcn.0040dc50
mov edx, dword [eax]
test edx, edx
je 0x41f4f6
mov edx, dword [edx + 8]
test edx, edx
jne 0x41f4fb
mov edx, 0x45f406
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f500
sub ecx, esi
je 0x41f528
lea ecx, [ebp - 0x28]
call fcn.0040b3e0
push eax
lea ecx, [ebx + 0x20]
call fcn.0041f970
lea ecx, [ebp - 0x28]
call fcn.00403110
mov byte [ebx + 0x38], 1
push 0
push str._eset_settings_property__namebts.process.elevate_
lea ecx, [ebp - 0x1c]
call fcn.00413cb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xfc], 0
push eax
call fcn.00413eb0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f57b
push eax
call fcn.00413a40
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0
cmp dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf8]
cmovne eax, ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xfc]
push str.value
push eax
call fcn.0040dc50
mov eax, dword [eax]
test eax, eax
je 0x41f5d4
mov eax, dword [eax + 8]
test eax, eax
je 0x41f5d4
mov al, byte [eax]
cmp al, 0x31
je 0x41f5d0
cmp al, 0x74
je 0x41f5d0
cmp al, 0x54
je 0x41f5d0
cmp al, 0x79
je 0x41f5d0
cmp al, 0x59
jne 0x41f5d4
mov al, 1
jmp 0x41f5d6
xor al, al
push 0
push str._eset_settings_property__namebts.container.intro.hide_
lea ecx, [ebp - 0x1c]
mov byte [ebx + 0x1c], al
call fcn.00413cb0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xfc], 0
push eax
call fcn.00413eb0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f62c
push eax
call fcn.00413a40
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0
cmp dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf8]
cmovne eax, ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xfc]
push str.value
push eax
call fcn.0040dc50
mov eax, dword [eax]
test eax, eax
je 0x41f685
mov eax, dword [eax + 8]
test eax, eax
je 0x41f685
mov al, byte [eax]
cmp al, 0x31
je 0x41f681
cmp al, 0x74
je 0x41f681
cmp al, 0x54
je 0x41f681
cmp al, 0x79
je 0x41f681
cmp al, 0x59
jne 0x41f685
mov al, 1
jmp 0x41f687
xor al, al
push 0
push str._eset_settings_property__namebts.container.error.hide_
lea ecx, [ebp - 0x1c]
mov byte [ebx + 0x1d], al
call fcn.00413cb0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xfc], 0
push eax
call fcn.00413eb0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f6dd
push eax
call fcn.00413a40
add esp, 4
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
cmp dword [ebp - 0xf4], ecx
push str.value
cmovne eax, ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0040dc50
mov eax, dword [eax]
test eax, eax
je 0x41f732
mov eax, dword [eax + 8]
test eax, eax
je 0x41f732
mov al, byte [eax]
cmp al, 0x31
je 0x41f72e
cmp al, 0x74
je 0x41f72e
cmp al, 0x54
je 0x41f72e
cmp al, 0x79
je 0x41f72e
cmp al, 0x59
jne 0x41f732
mov al, 1
jmp 0x41f734
xor al, al
mov byte [ebx + 0x1e], al
mov bl, 1
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xc
call fcn.0040dd40
mov al, bl
jmp 0x41f751
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.0042ac9b
mov esp, ebp
pop ebp
ret