Function at 0x40c3c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ad8d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3294
call fcn.00546de0
mov eax, dword [0x6459b8]
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
xor esi, esi
mov dword [ebp - 4], esi
push 0x29e7
push ecx
mov ecx, esp
mov dword [ebp - 0x3108], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.0056bf21
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3110]
push eax
mov byte [ebp - 4], 0
call fcn.00577520
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3110]
cmp ecx, esi
je 0x40c43f
add ecx, 0xc
jmp 0x40c444
mov ecx, 0x616ba8
lea edx, [ebp - 0x21c]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, si
jne 0x40c450
xor ecx, ecx
mov word [ebp - 0x30fc], cx
push 0x348
call fcn.00443868
add esp, 4
mov dword [ebp - 0x3108], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x40c4b2
push 1
push esi
push esi
lea edx, [ebp - 0x21c]
push edx
push 0x1206
push str..fzip
push 0x59642c
push 1
mov ecx, eax
call fcn.0045421d
mov edi, eax
mov dword [ebp - 0x3104], edi
jmp 0x40c4ba
mov dword [ebp - 0x3104], esi
mov edi, esi
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0045399e
lea ecx, [ebp - 0x30fc]
mov dword [eax + 0x1c], ecx
mov ecx, edi
call fcn.0045399e
mov dword [eax + 0x20], 0x1770
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x3100], eax
cmp al, 5
jb 0x40c4f9
mov ecx, edi
call fcn.0045399e
mov dword [eax], 0x58
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x170]
call eax
cmp eax, 1
jne 0x40c715
push 0x9c
call fcn.00443868
add esp, 4
mov esi, eax
mov dword [ebp - 0x3100], esi
mov bl, 4
mov byte [ebp - 4], bl
test esi, esi
je 0x40c55f
push 0
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x310c], esp
push 0xffffffffffffffff
push 0x5951e6
call fcn.0056bf21
mov byte [ebp - 4], 5
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.00428b20
mov ebx, eax
mov dword [ebp - 0x310c], ebx
jmp 0x40c56f
mov dword [ebp - 0x310c], 0
mov ebx, dword [ebp - 0x310c]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0045399e
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x3108], ecx
cmp dword [ebp - 0x3108], 0
je 0x40c6e3
lea edx, [ebp - 0x3108]
push edx
lea eax, [ebp - 0x3100]
push eax
mov ecx, edi
call fcn.00454de1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3100]
cmp dword [ecx - 0xc], 0
je 0x40c6cf
lea ecx, [ebp - 0x318c]
call fcn.0040b5e0
mov byte [ebp - 4], 7
push 0x5951e6
lea ecx, [ebp - 0x318c]
call fcn.0056ca0b
mov dword [ebp - 0x3160], 0
push 0x616ba8
lea ecx, [ebp - 0x3188]
call fcn.00406060
push 0x616ba8
lea ecx, [ebp - 0x3170]
call fcn.00406060
mov dword [ebp - 0x3164], 1
push 0x616ba8
lea ecx, [ebp - 0x3178]
call fcn.00406060
push 0x5951e6
lea ecx, [ebp - 0x3184]
call fcn.00404ea0
mov ecx, dword [ebp - 0x3100]
lea eax, [ecx - 0x10]
mov esi, dword [ebp - 0x3168]
add esi, 0xfffffff0
cmp eax, esi
je 0x40c698
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x40c682
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40c682
push eax
call fcn.004040d0
add esp, 4
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40c671
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [ebp - 0x3168], ebx
mov ebx, dword [ebp - 0x310c]
jmp 0x40c692
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x3168]
call fcn.004050c0
mov edi, dword [ebp - 0x3104]
mov dword [ebp - 0x316c], 1
push 0x5951e6
lea ecx, [ebp - 0x3154]
call fcn.00404ea0
lea ecx, [ebp - 0x318c]
push ecx
mov ecx, ebx
call fcn.0042b990
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x318c]
call fcn.0040a760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3100]
call fcn.00404610
jmp 0x40c583
cmp dword [ebx + 0x3c], 0
je 0x40c715
push 0
push ebx
lea ecx, [ebp - 0x32a4]
call fcn.00410500
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x32a4]
call fcn.0045101c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x32a4]
call fcn.004105b0
test edi, edi
je 0x40c724
mov edx, dword [edi]
push 1
mov ecx, edi
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3110]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
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.00546bde
mov esp, ebp
pop ebp
ret