Function at 0x4190a0
Capabilities:
Check os version
Extract resource via kernel32 functions
Get disk information
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f4d1
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x495014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x5a0], edi
mov esi, ecx
mov dword [ebp - 0x58c], esi
mov dword [ebp - 0x5a8], esi
mov dword [ebp - 0x5ac], esi
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x5a4], 0
call fcn.00403ac0
mov dword [ebp - 4], 1
test edi, edi
jne 0x41914e
lea ecx, [ebp - 0x46c]
call fcn.00403bd0
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00404060
mov byte [ebp - 0x594], 0
lea eax, [ebp - 0x46c]
push dword [ebp - 0x594]
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00403ef0
jmp 0x419774
push str.Kernel32.dll
lea ecx, [ebp - 0x5dc]
call fcn.00403a70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5dc]
push eax
call fcn.00423830
mov ecx, eax
call fcn.004238f0
mov edi, eax
mov dword [ebp - 0x590], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5dc]
call fcn.004039d0
push str.Psapi.dll
lea ecx, [ebp - 0x5c4]
call fcn.00403a70
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c4]
push eax
call fcn.00423830
mov ecx, eax
call fcn.004238f0
mov dword [ebp - 0x59c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c4]
call fcn.004039d0
cmp dword [ebp - 0x59c], 0
je 0x419734
test edi, edi
je 0x419734
push pe_nt_image_headers32
lea eax, [ebp - 0x584]
push 0
push eax
call fcn.0044de20
add esp, 0xc
mov dword [ebp - 0x588], 0x11c
lea eax, [ebp - 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4192fe
cmp dword [ebp - 0x584], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
ja 0x419234
jne 0x4192b5
cmp dword [ebp - 0x580], 2
jb 0x4192b5
push str.kernel32.dll
call edi
mov esi, eax
test esi, esi
je 0x4192b5
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4192b5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4192b5
movups xmm0, xmmword [0x484974]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x484984]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4192b5
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4192b5
cmp word [esi + 2], ax
jbe 0x4192b5
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x584], edx
mov dword [ebp - 0x580], ecx
mov dword [ebp - 0x57c], eax
push str.ntdll.dll
call edi
push str.RtlGetVersion
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, eax
test esi, esi
je 0x4192f8
push pe_nt_image_headers32
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.0044de20
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea eax, [ebp - 0x150]
push eax
call esi
mov edi, dword [ebp - 0x590]
cmp dword [ebp - 0x584], 6
jb 0x4193a3
push str.QueryFullProcessImageNameW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4193a3
push 0x412
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.0044de20
add esp, 0xc
mov dword [ebp - 0x448], 0x208
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x444]
push eax
push 0
push dword [ebp - 0x5a0]
call esi
test eax, eax
je 0x4193a3
mov eax, dword [ebp - 0x448]
cmp eax, 0x208
jae 0x419381
add eax, eax
cmp eax, 0x412
jae 0x4197aa
xor ecx, ecx
mov word [ebp + eax - 0x444], cx
lea eax, [ebp - 0x444]
push eax
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.00403d00
lea ecx, [ebp - 0x46c]
call fcn.00403bd0
lea edi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x594], edi
test eax, eax
jne 0x4196eb
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessImageFileNameW
push dword [ebp - 0x59c]
call eax
mov esi, eax
test esi, esi
jne 0x4193f0
push str.GetProcessImageFileNameW
push dword [ebp - 0x590]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x41945e
push 0x412
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.0044de20
add esp, 0xc
lea eax, [ebp - 0x444]
push 0x208
push eax
push dword [ebp - 0x5a0]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x41945e
add eax, eax
cmp eax, 0x412
jae 0x4197aa
xor ecx, ecx
mov word [ebp + eax - 0x444], cx
lea eax, [ebp - 0x444]
push eax
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.00403d00
mov eax, dword [edi]
test eax, eax
je 0x41964f
push 0x410
call fcn.00437835
push 0x410
mov edi, eax
push 0
push edi
call fcn.0044de20
xorps xmm0, xmm0
mov dword [ebp - 0x44c], 0
movq qword [ebp - 0x454], xmm0
add esp, 0x10
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x454]
call fcn.004236a0
mov esi, dword [ebp - 0x454]
xor ecx, ecx
mov dword [ebp - 0x598], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x450]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x419627
xor eax, eax
mov dword [ebp - 0x448], eax
nop dword [eax + eax]
add esi, eax
mov ecx, esi
mov dword [ebp - 0x5a8], esi
call fcn.00403bd0
mov eax, dword [eax + 0x10]
cmp eax, 3
jb 0x41953e
mov ecx, esi
call fcn.00403bd0
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x41952a
mov ecx, dword [eax]
cmp word [ecx + 4], 0x5c
jne 0x41953e
cmp edx, 8
jb 0x419538
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push edi
mov ecx, esi
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x419559
mov word [edi], ax
mov esi, edi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x419560
sub esi, ecx
sar esi, 1
je 0x419595
mov eax, dword [ebp - 0x594]
cmp esi, dword [eax]
jae 0x419595
push esi
push edi
lea ecx, [ebp - 0x46c]
call fcn.00403990
push eax
call fcn.00453fc1
add esp, 0xc
test eax, eax
je 0x4195d4
mov ecx, dword [ebp - 0x450]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x454]
sub ecx, esi
inc dword [ebp - 0x598]
add dword [ebp - 0x448], 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x598], eax
jae 0x419627
mov eax, dword [ebp - 0x448]
jmp 0x419500
lea ecx, [ebp - 0x28]
call fcn.00403ac0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x46c]
call fcn.00403990
mov ecx, dword [ebp - 0x5a8]
lea eax, [eax + esi*2]
push eax
call fcn.00403990
push eax
lea eax, [ebp - 0x28]
push str._s_s
push eax
call fcn.00416120
add esp, 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x46c]
push eax
call fcn.004198c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004039d0
push edi
call fcn.00437635
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x594]
mov eax, dword [ecx]
test eax, eax
jne 0x4196eb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetModuleFileNameExW
push dword [ebp - 0x59c]
call edi
mov esi, eax
test esi, esi
jne 0x41967b
push str.GetModuleFileNameExW
push dword [ebp - 0x590]
call edi
mov esi, eax
test esi, esi
je 0x4196eb
push 0x412
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.0044de20
add esp, 0xc
lea eax, [ebp - 0x444]
push 0x208
push eax
push 0
push dword [ebp - 0x5a0]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x4196eb
add eax, eax
cmp eax, 0x412
jae 0x4197aa
xor ecx, ecx
mov word [ebp + eax - 0x444], cx
lea eax, [ebp - 0x444]
push eax
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.00403d00
lea edx, [ebp - 0x46c]
lea ecx, [ebp - 0x5c4]
call fcn.004183c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x46c]
push eax
call fcn.00403a30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c4]
call fcn.004039d0
lea ecx, [ebp - 0x46c]
call fcn.00403bd0
push eax
call fcn.00404050
mov esi, dword [ebp - 0x58c]
jmp 0x419745
lea ecx, [ebp - 0x46c]
call fcn.00403bd0
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00404060
mov byte [ebp - 0x58c], 0
lea eax, [ebp - 0x46c]
push dword [ebp - 0x58c]
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00403ef0
mov dword [ebp - 0x5a4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call fcn.004039d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436e3f
mov esp, ebp
pop ebp
ret
call fcn.0043775b
int3