Function at 0x409690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574f9d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3294
call fcn.00542e40
mov eax, dword [0x5f6998]
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.00567cd2
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3110]
push eax
mov byte [ebp - 4], 0
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3110]
cmp ecx, esi
je 0x40970f
add ecx, 0xc
jmp 0x409714
mov ecx, 0x58df78
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 0x409720
xor ecx, ecx
mov word [ebp - 0x30fc], cx
push 0x348
call fcn.0043f938
add esp, 4
mov dword [ebp - 0x3108], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x409782
push 1
push esi
push esi
lea edx, [ebp - 0x21c]
push edx
push 0x1206
push str..fzip
push 0x58f204
push 1
mov ecx, eax
call fcn.0044fac3
mov edi, eax
mov dword [ebp - 0x3104], edi
jmp 0x40978a
mov dword [ebp - 0x3104], esi
mov edi, esi
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0044f242
lea ecx, [ebp - 0x30fc]
mov dword [eax + 0x1c], ecx
mov ecx, edi
call fcn.0044f242
mov dword [eax + 0x20], 0x1770
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x3100], eax
cmp al, 5
jb 0x4097c9
mov ecx, edi
call fcn.0044f242
mov dword [eax], 0x58
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x170]
call eax
cmp eax, 1
jne 0x4099e5
push 0x9c
call fcn.0043f938
add esp, 4
mov esi, eax
mov dword [ebp - 0x3100], esi
mov bl, 4
mov byte [ebp - 4], bl
test esi, esi
je 0x40982f
push 0
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x310c], esp
push 0xffffffffffffffff
push 0x58e1fe
call fcn.00567cd2
mov byte [ebp - 4], 5
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.00424e40
mov ebx, eax
mov dword [ebp - 0x310c], ebx
jmp 0x40983f
mov dword [ebp - 0x310c], 0
mov ebx, dword [ebp - 0x310c]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0044f242
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x3108], ecx
cmp dword [ebp - 0x3108], 0
je 0x4099b3
lea edx, [ebp - 0x3108]
push edx
lea eax, [ebp - 0x3100]
push eax
mov ecx, edi
call fcn.00450687
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3100]
cmp dword [ecx - 0xc], 0
je 0x40999f
lea ecx, [ebp - 0x318c]
call fcn.00408b50
mov byte [ebp - 4], 7
push 0x58e1fe
lea ecx, [ebp - 0x318c]
call fcn.005687f3
mov dword [ebp - 0x3160], 0
push 0x58df78
lea ecx, [ebp - 0x3188]
call fcn.004039b0
push 0x58df78
lea ecx, [ebp - 0x3170]
call fcn.004039b0
mov dword [ebp - 0x3164], 1
push 0x58df78
lea ecx, [ebp - 0x3178]
call fcn.004039b0
push 0x58e1fe
lea ecx, [ebp - 0x3184]
call fcn.004027f0
mov ecx, dword [ebp - 0x3100]
lea eax, [ecx - 0x10]
mov esi, dword [ebp - 0x3168]
add esi, 0xfffffff0
cmp eax, esi
je 0x409968
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x409952
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409952
push eax
call fcn.00401a20
add esp, 4
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409941
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 0x409962
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x3168]
call fcn.00402a10
mov edi, dword [ebp - 0x3104]
mov dword [ebp - 0x316c], 1
push 0x58e1fe
lea ecx, [ebp - 0x3154]
call fcn.004027f0
lea ecx, [ebp - 0x318c]
push ecx
mov ecx, ebx
call fcn.00427cc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x318c]
call fcn.00407d30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3100]
call fcn.00401f60
jmp 0x409853
cmp dword [ebx + 0x3c], 0
je 0x4099e5
push 0
push ebx
lea ecx, [ebp - 0x32a4]
call fcn.0040d320
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x32a4]
call fcn.0044cf2a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x32a4]
call fcn.0040d3d0
test edi, edi
je 0x4099f4
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.00567cb8
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.00542c3e
mov esp, ebp
pop ebp
ret