Function at 0x41ad3d
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 [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x14c], eax
push 0x18
mov eax, 0x46cb58
call fcn.00450ec5
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x590], edi
jne 0x41ad74
mov al, 1
jmp 0x41afad
sub esp, 0x1c
lea eax, [ebx + 0x57c]
mov esi, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00401bcf
call fcn.0041e266
mov byte [ebp - 0xd], al
push 0x47a8b8
lea eax, [ebx + 0x57c]
call fcn.00404522
add esp, 0x20
test al, al
je 0x41afaa
mov esi, 0x114
push esi
lea eax, [ebp]
push edi
push eax
call fcn.00450fd0
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x47a8c0
push 0x69
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x41afaa
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 + 0x4b4]
push 0x47a8c8
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x130]
push eax
call fcn.0040454f
add esp, 0xc
mov dword [ebp - 4], edi
cmp dword [ebp + 0x148], 8
mov eax, dword [ebp + 0x134]
jae 0x41ae2f
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 0x41ae6e
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 0x479474
push 0x6d
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x41af9c
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.0040454f
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x12c], 8
mov eax, dword [ebp + 0x118]
jae 0x41aecf
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 0x41af00
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 0x41af2f
cmp dword [ebp + 0x148], 8
jae 0x41af1b
lea eax, [ebp + 0x134]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push ecx
call fcn.00402676
call fcn.0041e156
jmp 0x41af50
cmp dword [ebp + 0x148], 8
jae 0x41af3e
lea eax, [ebp + 0x134]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push ecx
call fcn.00402676
call fcn.0041df36
cmp eax, 1
mov eax, dword [ebp + 0x134]
sete byte [ebp - 0xd]
cmp dword [ebp + 0x148], 8
pop ecx
jae 0x41af6d
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 0x41af8b
lea eax, [ebp + 0x118]
push eax
call esi
push edi
push 1
lea esi, [ebp + 0x114]
call fcn.00401e7e
push edi
push 1
lea esi, [ebp + 0x130]
call fcn.00401e7e
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.0044bafb
add ebp, 0x150
leave
ret