Function at 0x401bc8
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c46d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x29c
mov eax, dword [0x428220]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
push dword [ebp + 8]
call fcn.00401a98
pop ecx
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x228], eax
push dword [ebp - 0x228]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x26c], eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x270], eax
push dword [ebp - 0x228]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x240], eax
and dword [ebp - 0x224], 0
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x224], eax
and dword [ebp - 0x238], 0
push 0x42d198
push 0
push str.dfss
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x238], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x42d198
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x22c], eax
and dword [ebp - 0x268], 0
push 0
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x240]
push dword [ebp - 0x270]
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4
call fcn.0040205b
call fcn.0040192b
pop ecx
mov dword [ebp - 0x278], eax
push dword [ebp - 0x278]
call fcn.004017bd
pop ecx
mov byte [ebp - 0x21d], al
movzx eax, byte [ebp - 0x21d]
test eax, eax
je 0x401e4f
mov byte [ebp - 4], 1
push 0x425114
push ecx
mov ecx, esp
mov dword [ebp - 0x2ac], esp
push 0x425174
call fcn.0040205b
call fcn.0040192b
pop ecx
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x24c]
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
push 0x425190
call fcn.0040205b
call fcn.0040192b
pop ecx
mov dword [ebp - 0x264], eax
push dword [ebp - 0x264]
push 0x42d198
push ecx
mov ecx, esp
mov dword [ebp - 0x288], esp
push 0x4251bc
call fcn.0040205b
call fcn.0040192b
pop ecx
mov dword [ebp - 0x254], eax
push dword [ebp - 0x254]
call fcn.00401849
add esp, 0x14
jmp 0x401e40
and dword [ebp - 4], 0
jmp 0x401e4a
jmp 0x401f6a
mov byte [ebp - 4], 3
push 0x425238
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x42523c
call fcn.0040205b
call fcn.0040192b
pop ecx
mov dword [ebp - 0x248], eax
push dword [ebp - 0x248]
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x425258
call fcn.0040205b
call fcn.0040192b
pop ecx
mov dword [ebp - 0x230], eax
push dword [ebp - 0x230]
push 0x42d198
push ecx
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x425284
call fcn.0040205b
call fcn.0040192b
pop ecx
mov dword [ebp - 0x258], eax
push dword [ebp - 0x258]
call fcn.00401849
add esp, 0x14
jmp 0x401f60
and dword [ebp - 4], 0
jmp 0x401f6a
jmp 0x401f72
or dword [ebp - 4], 0xffffffff
jmp 0x401f7c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403d86
leave
ret