Function at 0x431f80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46eecc
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x495574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.00431f30
push 0x110
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0044e9c0
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
jne 0x431fff
cmp dword [ebp - 0x11c], 2
jae 0x432005
jmp 0x4320c5
jbe 0x4320c5
mov ecx, esi
call fcn.00431f30
lea ecx, [ebp - 0x188]
call fcn.0043be0a
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0
call fcn.0043a63e
lea edx, [ebp - 0x174]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
call fcn.00418390
mov bl, al
test bl, bl
je 0x4320a0
mov ecx, dword [ebp - 0x16c]
xor esi, esi
mov edi, ecx
test edi, edi
jle 0x43209a
test esi, esi
js 0x4322ba
cmp esi, dword [ebp - 0x180]
jge 0x4322ba
mov eax, dword [ebp - 0x184]
movzx edx, word [eax + esi*2]
cmp esi, ecx
jge 0x4322ba
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x128]
push dword [eax + esi*4]
push edx
call fcn.004328c0
inc esi
cmp esi, edi
jge 0x43209a
mov ecx, dword [ebp - 0x16c]
jmp 0x432052
mov esi, dword [ebp - 0x128]
lea ecx, [ebp - 0x174]
call fcn.0043a655
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call fcn.0043be21
test bl, bl
jne 0x43229c
mov ecx, esi
call fcn.00431f30
lea ecx, [ebp - 0x160]
call fcn.0043a63e
mov dword [ebp - 4], 2
movaps xmm0, xmmword [0x48a850]
mov dword [ebp - method.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.virtual_0], vtable.CMap_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_.0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0x11
movups xmmword [ebp - 0x140], xmm0
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.004170f0
test al, al
je 0x432224
cmp dword [ebp - 0x158], 0
jle 0x432224
lea ecx, [ebp - 0x14c]
call fcn.00416a20
test al, al
je 0x432224
mov eax, dword [ebp - 0x158]
mov bl, 1
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x130], ecx
cmp esi, ecx
jge 0x432226
test esi, esi
js 0x4322ba
cmp esi, eax
jge 0x4322ba
mov eax, dword [ebp - 0x15c]
push 0x1f31d
mov dword [ebp - 0x12c], 0xffffffff
mov edi, dword [eax + esi*4]
push edi
call fcn.0045bf41
imul ecx, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
sub ecx, eax
jns 0x4321a2
add ecx, 0x7fffffff
xor edx, edx
mov eax, ecx
div dword [ebp - 0x144]
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4321d0
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4321d0
nop dword [eax]
cmp dword [eax + 0xc], ecx
jne 0x4321c9
cmp dword [eax], edi
je 0x432214
mov eax, dword [eax + 8]
test eax, eax
jne 0x4321c0
xor ecx, ecx
test ecx, ecx
mov eax, edi
movzx ecx, di
mov edx, 0xffff
cmovne eax, dword [ebp - 0x12c]
cmp cx, dx
je 0x4321ef
cmp eax, 0xffffffff
jne 0x4321f1
xor bl, bl
push eax
push ecx
mov ecx, dword [ebp - 0x128]
call fcn.004328c0
inc esi
test bl, bl
je 0x432226
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x130]
jmp 0x432153
mov eax, dword [eax + 4]
mov ecx, 1
mov dword [ebp - 0x12c], eax
jmp 0x4321d2
xor bl, bl
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x148]
mov dword [ebp - method.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.virtual_0], vtable.CMap_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_.0
test edx, edx
je 0x432268
mov esi, dword [ebp - 0x144]
xor ecx, ecx
test esi, esi
je 0x432255
nop word [eax + eax]
inc ecx
cmp ecx, esi
jb 0x432250
push edx
call fcn.00436734
add esp, 4
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
call fcn.0043c0f6
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x138], 0
call fcn.0043a655
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2a6
mov esp, ebp
pop ebp
ret
call fcn.00437e01
int3