Function at 0x41aedc
Capabilities:
Check os version
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
sub esp, 0x14c
lea ebp, [esp - 4]
mov eax, dword [0x487ba4]
xor eax, ebp
mov dword [ebp + 0x14c], eax
push 0x18
mov eax, 0x46d2c6
call fcn.00451557
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x5c8], edi
jne 0x41af13
mov al, 1
jmp 0x41b14c
sub esp, 0x1c
lea eax, [ebx + 0x5b4]
mov esi, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00401bcf
call fcn.0041e542
mov byte [ebp - 0xd], al
push 0x47b8f0
lea eax, [ebx + 0x5b4]
call fcn.00404518
add esp, 0x20
test al, al
je 0x41b149
mov esi, 0x114
push esi
lea eax, [ebp]
push edi
push eax
call fcn.00451670
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x47b8f8
push 0x69
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x41b149
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x4ec]
push 0x47b900
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x130]
push eax
call fcn.00404545
add esp, 0xc
mov dword [ebp - 4], edi
cmp dword [ebp + 0x148], 8
mov eax, dword [ebp + 0x134]
jae 0x41afce
lea eax, [ebp + 0x134]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 0x80
push 4
push edi
push edi
mov ebx, 0xc0000000
push ebx
push eax
call esi
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x41b00d
push edi
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x47a474
push 0x6d
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x41b13b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push str.NFWCHK.exe.config
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x114]
push eax
call fcn.00404545
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x12c], 8
mov eax, dword [ebp + 0x118]
jae 0x41b06e
lea eax, [ebp + 0x118]
push edi
push 0x80
push 4
push edi
push edi
push ebx
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x41b09f
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 4], 6
mov eax, dword [ebp + 0x134]
jae 0x41b0ce
cmp dword [ebp + 0x148], 8
jae 0x41b0ba
lea eax, [ebp + 0x134]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push ecx
call fcn.0040266c
call fcn.0041e432
jmp 0x41b0ef
cmp dword [ebp + 0x148], 8
jae 0x41b0dd
lea eax, [ebp + 0x134]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push ecx
call fcn.0040266c
call fcn.0041e212
cmp eax, 1
mov eax, dword [ebp + 0x134]
sete byte [ebp - 0xd]
cmp dword [ebp + 0x148], 8
pop ecx
jae 0x41b10c
lea eax, [ebp + 0x134]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
cmp dword [ebp + 0x12c], 8
mov eax, dword [ebp + 0x118]
jae 0x41b12a
lea eax, [ebp + 0x118]
push eax
call esi
push edi
push 1
lea esi, [ebp + 0x114]
call fcn.00401e74
push edi
push 1
lea esi, [ebp + 0x130]
call fcn.00401e74
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x14c]
xor ecx, ebp
call fcn.0044c18b
add ebp, 0x150
leave
ret