Function at 0x412d94
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443990
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x456220]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x456220]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x2c], eax
lea eax, [esi - 8]
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], eax
call fcn.004136c2
mov edi, eax
lea eax, [esp + 0x14]
call fcn.004216a4
lea eax, [edi + 0x70]
xor ebx, ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x18], eax
call fcn.00429318
test al, al
je 0x412e49
mov eax, dword [esp + 0x18]
call fcn.00414b66
mov esi, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
call fcn.0042931f
mov ecx, dword [esp + 0x20]
push eax
push 0x411
call dword [esi]
cmp eax, ebx
je 0x412e45
lea esi, [esp + 0x14]
call fcn.00414adb
mov esi, dword [esp + 0x1c]
cmp dword [ebp + 0xc], ebx
mov byte [esp + 0x24], bl
je 0x412f00
jle 0x412e92
cmp dword [ebp + 0xc], 6
jg 0x412e92
lea eax, [esp + 0x14]
call fcn.00429318
test al, al
je 0x412f31
lea eax, [esp + 0x14]
call fcn.00414b66
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x10]
lea esi, [esp + 0x14]
call fcn.00414adb
mov esi, dword [esp + 0x1c]
jmp 0x412f31
lea eax, [esp + 0x14]
call fcn.00429318
test al, al
je 0x412eb9
lea eax, [esp + 0x14]
call fcn.00414b66
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x10]
lea esi, [esp + 0x14]
call fcn.00414adb
mov esi, dword [esp + 0x18]
call fcn.0042982b
mov ebx, 0x80004005
or dword [esp + 0xd0], 0xffffffff
lea eax, [esp + 0x14]
call fcn.0042c0be
mov eax, ebx
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0043253e
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x14]
call fcn.00429318
test al, al
je 0x412f2c
lea eax, [esp + 0x14]
call fcn.00414b66
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x10]
lea esi, [esp + 0x14]
call fcn.00414adb
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
call fcn.00429318
test al, al
je 0x413003
mov cl, byte [esi + 0x50]
cmp cl, bl
jne 0x412f53
cmp byte [esi + 0x52], bl
jne 0x412f53
cmp byte [esi + 0x51], bl
je 0x412fc0
mov al, byte [esi + 0x52]
cmp al, bl
je 0x412f6a
cmp byte [edi + 0x9a], bl
je 0x412f6a
lea eax, [edi + 0x84]
jmp 0x412f76
neg al
lea edx, [esi + 0x90]
sbb eax, eax
and eax, edx
cmp byte [esi + 0x51], bl
mov dword [esp + 0x30], eax
je 0x412f90
cmp byte [edi + 0x99], bl
je 0x412f90
lea eax, [edi + 0x7c]
mov dword [esp + 0x20], eax
jmp 0x412f94
mov dword [esp + 0x20], ebx
cmp cl, bl
je 0x412fa5
cmp byte [edi + 0x98], bl
je 0x412fa5
lea esi, [edi + 0x74]
jmp 0x412fa7
xor esi, esi
mov eax, dword [esp + 0x18]
call fcn.00414b66
push dword [esp + 0x30]
mov edx, dword [eax]
push dword [esp + 0x24]
mov ecx, eax
push esi
call dword [edx + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.00414b66
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x24]
cmp byte [esp + 0x24], bl
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
jne 0x412fec
mov eax, esi
call fcn.00414b66
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
mov eax, esi
call fcn.00414b66
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
call fcn.0042982b
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x68]
lea eax, [esi + 0xd8]
add dword [eax], ecx
mov ecx, dword [edi + 0x6c]
adc dword [eax + 4], ecx
cmp byte [edi + 0x9c], bl
lea eax, [esi + 0xc8]
jne 0x413028
lea eax, [esi + 0xd0]
add dword [eax], 1
adc dword [eax + 4], ebx
cmp byte [edi + 0x65], bl
je 0x413059
cmp byte [edi + 0x9b], bl
je 0x413059
cmp byte [edi + 0x9e], bl
jne 0x413059
push dword [edi + 0x94]
lea eax, [edi + 0x2c]
push dword [edi + 0x90]
call fcn.0040caac
pop ecx
pop ecx
lea eax, [esi + 0x18]
mov dword [esp + 0x18], ebx
call fcn.00429318
test al, al
je 0x4130a8
cmp byte [edi + 0x9e], bl
jne 0x4130a0
lea eax, [esi + 0x18]
call fcn.00414b66
push dword [esp + 0x28]
movzx ecx, byte [edi + 0x66]
mov edx, dword [eax]
push ecx
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call dword [edx + 0x28]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4130a8
mov ebx, dword [esp + 0x18]
jmp 0x412ec7
cmp byte [edi + 0x9c], bl
je 0x413071
cmp byte [edi + 0x9e], bl
jne 0x4132f5
cmp byte [esp + 0x24], bl
jne 0x4130fb
cmp byte [esi + 0x30], bl
jne 0x4132f5
lea eax, [edi + 0x2c]
push eax
call fcn.0040ce7b
test al, al
pop ecx
je 0x4132f5
lea eax, [edi + 0x2c]
push eax
call fcn.0040cac6
cmp al, bl
pop ecx
jne 0x4132f5
lea eax, [edi + 0x2c]
push eax
lea eax, [esi + 0x114]
call fcn.00404b72
jmp 0x4132f5
cmp byte [edi + 0x9c], bl
jne 0x4132f5
cmp byte [edi + 0x64], bl
je 0x4132f5
lea esi, [edi + 0x48]
push esi
call fcn.0040ce7b
test al, al
pop ecx
je 0x4132ee
push esi
call fcn.0040cac6
cmp al, bl
pop ecx
mov eax, esi
jne 0x4131fc
call fcn.00408d37
lea eax, [esp + 0x88]
push 0x271c
push eax
call fcn.00403ac3
push esi
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xe4], 1
call fcn.00409320
add esp, 0x14
push ebx
push 1
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 3
call fcn.0040117c
lea eax, [esp + 0x34]
push 0x2790
push eax
call fcn.00403ac3
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x74]
mov byte [esp + 0xd8], 4
call fcn.004022dd
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xd8], 3
call fcn.0040117c
lea esi, [esp + 0x34]
call fcn.0040e34c
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x74]
mov byte [esp + 0xd8], 5
call fcn.004022dd
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xd8], 3
call fcn.0040117c
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x6c]
push eax
push dword [ebp + 8]
call fcn.00413779
lea esi, [esp + 0x6c]
jmp 0x4132db
lea ecx, [edi + 0x2c]
call fcn.0040cab7
cmp al, bl
jne 0x4132ee
mov eax, esi
call fcn.00408d37
lea eax, [esp + 0x34]
push 0x271d
push eax
call fcn.00403ac3
push esi
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0xe4], 6
call fcn.00409320
add esp, 0x14
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xd8], 8
call fcn.0040117c
lea eax, [esp + 0x6c]
push 0x2790
push eax
call fcn.00403ac3
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 9
call fcn.004022dd
push ebx
push 1
lea esi, [esp + 0x74]
mov byte [esp + 0xd8], 8
call fcn.0040117c
lea esi, [esp + 0x50]
call fcn.0040e34c
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 0xa
call fcn.004022dd
push ebx
push 1
lea esi, [esp + 0x58]
mov byte [esp + 0xd8], 8
call fcn.0040117c
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x88]
push eax
push dword [ebp + 8]
call fcn.00413779
lea esi, [esp + 0x88]
mov edi, eax
cmp edi, ebx
push ebx
push 1
jne 0x413363
call fcn.0040117c
jmp 0x412ec7
mov eax, esi
call fcn.00408d37
lea eax, [edi + 0x2c]
lea esi, [esp + 0xa4]
call fcn.004010a0
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xd0], 0xb
call fcn.0041372a
mov esi, dword [esp + 0x1c]
add esi, 0x1c
mov eax, esi
call fcn.00429318
test al, al
je 0x41336f
mov eax, esi
call fcn.00414b66
push dword [esp + 0x24]
mov edi, eax
sub esp, 0x1c
lea eax, [esp + 0xc4]
mov esi, esp
mov dword [esp + 0x48], esp
call fcn.004010a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov edi, eax
cmp edi, ebx
je 0x41336f
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.0040117c
mov ebx, edi
jmp 0x412ec7
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.0040117c
jmp 0x413097