Function at 0x4017b0
Capabilities:
Check os version
Extract resource via kernel32 functions
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4285cc
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x498], edx
mov edi, ecx
mov dword [ebp - 0x490], edi
mov eax, dword [ebp + 8]
push 0x118
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x36c]
push 0
push eax
call fcn.004182d0
add esp, 0xc
mov dword [ebp - 0x370], 0x11c
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x401914
cmp dword [ebp - 0x36c], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
ja 0x40184b
jne 0x4018cc
cmp dword [ebp - 0x368], 2
jb 0x4018cc
push str.kernel32.dll
call edi
mov esi, eax
test esi, esi
je 0x4018cc
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4018cc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4018cc
movups xmm0, xmmword [0x4310ac]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x4310bc]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4018cc
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4018cc
cmp word [esi + 2], ax
jbe 0x4018cc
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x36c], edx
mov dword [ebp - 0x368], ecx
mov dword [ebp - 0x364], eax
push str.ntdll.dll
call edi
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40190e
push 0x118
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.004182d0
add esp, 0xc
mov dword [ebp - 0x48c], 0x11c
lea eax, [ebp - 0x48c]
push eax
call esi
mov edi, dword [ebp - 0x490]
cmp dword [ebp - 0x36c], 6
ja 0x401954
jne 0x401928
cmp dword [ebp - 0x368], 1
jae 0x401954
push 1
push 0x430b00
push 0x430b18
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x401c69
mov ecx, 0x430b98
call fcn.00402b30
jmp 0x401c69
push 0x20a
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.004182d0
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401b1e
xor eax, eax
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4019c0
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.004020b0
mov dword [ebp - 4], 0
push ecx
push 0x430bc4
lea ecx, [ebp - 0x254]
call fcn.00401de0
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x254]
call fcn.00401d40
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x254]
cmp eax, esi
je 0x401a4d
mov ecx, eax
call fcn.00402050
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x254], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x244], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x401a8b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401a81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c88
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x240], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push eax
mov dword [ebp - 0x14], 7
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x401b01
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c8d
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
push 0x18
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
call fcn.00416b15
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 4
mov dword [ebp - 0x4a0], eax
push eax
call esi
mov dword [ebp - 4], 2
mov dword [ebp - 0x49c], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x4ac]
push 0x430bc8
push edi
call fcn.004096d0
test eax, eax
je 0x401bc2
push str.PdfEditorMain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401bc2
push dword [ebp + 0xc]
push dword [ebp - 0x494]
push dword [ebp - 0x498]
push edi
call eax
add esp, 0x10
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ac]
call fcn.00408c00
mov eax, esi
jmp 0x401c6b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ac]
call fcn.00408c00
push 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00416b15
add esp, 4
mov dword [ebp - 0x18], eax
push eax
call esi
mov dword [ebp - 4], 5
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x24]
push str.2345PdfApp.dll
push edi
call fcn.004096d0
test eax, eax
je 0x401c5a
push str.PdfReaderMain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401c5a
push dword [ebp + 0xc]
push dword [ebp - 0x494]
push dword [ebp - 0x498]
push edi
call eax
add esp, 0x10
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00408c00
mov eax, esi
jmp 0x401c6b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00408c00
xor eax, eax
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.00416b04
mov esp, ebp
pop ebp
ret 8
call fcn.0041a76f
call fcn.0041a76f
int3