Function at 0x4134d1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446783
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x45a210]
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.00413e0c
mov edi, eax
lea eax, [esp + 0x14]
call fcn.004191d0
lea eax, [edi + 0x70]
xor ebx, ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x18], eax
call fcn.00415284
test al, al
je 0x413586
mov eax, dword [esp + 0x18]
call fcn.004151f7
mov esi, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
call fcn.004151f6
mov ecx, dword [esp + 0x20]
push eax
push 0x411
call dword [esi]
cmp eax, ebx
je 0x413582
lea esi, [esp + 0x14]
call fcn.004151fa
mov esi, dword [esp + 0x1c]
cmp dword [ebp + 0xc], ebx
mov byte [esp + 0x24], bl
je 0x41363d
jle 0x4135cf
cmp dword [ebp + 0xc], 6
jg 0x4135cf
lea eax, [esp + 0x14]
call fcn.00415284
test al, al
je 0x41366e
lea eax, [esp + 0x14]
call fcn.004151f7
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x10]
lea esi, [esp + 0x14]
call fcn.004151fa
mov esi, dword [esp + 0x1c]
jmp 0x41366e
lea eax, [esp + 0x14]
call fcn.00415284
test al, al
je 0x4135f6
lea eax, [esp + 0x14]
call fcn.004151f7
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x10]
lea esi, [esp + 0x14]
call fcn.004151fa
mov esi, dword [esp + 0x18]
call fcn.00410f76
mov ebx, 0x80004005
or dword [esp + 0xd0], 0xffffffff
lea eax, [esp + 0x14]
call fcn.00410f6a
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.0043579e
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x14]
call fcn.00415284
test al, al
je 0x413669
lea eax, [esp + 0x14]
call fcn.004151f7
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x10]
lea esi, [esp + 0x14]
call fcn.004151fa
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
call fcn.00415284
test al, al
je 0x413740
mov cl, byte [esi + 0x4c]
cmp cl, bl
jne 0x413690
cmp byte [esi + 0x4e], bl
jne 0x413690
cmp byte [esi + 0x4d], bl
je 0x4136fd
mov al, byte [esi + 0x4e]
cmp al, bl
je 0x4136a7
cmp byte [edi + 0x9a], bl
je 0x4136a7
lea eax, [edi + 0x84]
jmp 0x4136b3
neg al
lea edx, [esi + 0x8c]
sbb eax, eax
and eax, edx
cmp byte [esi + 0x4d], bl
mov dword [esp + 0x30], eax
je 0x4136cd
cmp byte [edi + 0x99], bl
je 0x4136cd
lea eax, [edi + 0x7c]
mov dword [esp + 0x20], eax
jmp 0x4136d1
mov dword [esp + 0x20], ebx
cmp cl, bl
je 0x4136e2
cmp byte [edi + 0x98], bl
je 0x4136e2
lea esi, [edi + 0x74]
jmp 0x4136e4
xor esi, esi
mov eax, dword [esp + 0x18]
call fcn.004151f7
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.004151f7
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 0x413729
mov eax, esi
call fcn.004151f7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
mov eax, esi
call fcn.004151f7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
call fcn.00410f76
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 0x413765
lea eax, [esi + 0xd0]
add dword [eax], 1
adc dword [eax + 4], ebx
cmp byte [edi + 0x65], bl
je 0x413796
cmp byte [edi + 0x9b], bl
je 0x413796
cmp byte [edi + 0x9e], bl
jne 0x413796
push dword [edi + 0x94]
lea ecx, [edi + 0x2c]
push dword [edi + 0x90]
call fcn.0040b900
pop ecx
pop ecx
lea eax, [esi + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00415284
test al, al
je 0x4137e5
cmp byte [edi + 0x9e], bl
jne 0x4137dd
lea eax, [esi + 0x14]
call fcn.004151f7
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 0x4137e5
mov ebx, dword [esp + 0x18]
jmp 0x413604
cmp byte [edi + 0x9c], bl
je 0x4137ae
cmp byte [edi + 0x9e], bl
jne 0x413a32
cmp byte [esp + 0x24], bl
jne 0x413838
cmp byte [esi + 0x2c], bl
jne 0x413a32
lea eax, [edi + 0x2c]
push eax
call fcn.0040d720
test al, al
pop ecx
je 0x413a32
lea eax, [edi + 0x2c]
push eax
call fcn.0040fd90
cmp al, bl
pop ecx
jne 0x413a32
lea eax, [edi + 0x2c]
push eax
lea eax, [esi + 0x114]
call fcn.00403d30
jmp 0x413a32
cmp byte [edi + 0x9c], bl
jne 0x413a32
cmp byte [edi + 0x64], bl
je 0x413a32
lea esi, [edi + 0x48]
push esi
call fcn.0040d720
test al, al
pop ecx
je 0x413a2b
push esi
call fcn.0040fd90
cmp al, bl
pop ecx
mov eax, esi
jne 0x413939
call fcn.00407e41
lea eax, [esp + 0x88]
push 0x271c
push eax
call fcn.00402c78
push esi
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xe4], 1
call fcn.00408415
add esp, 0x14
push ebx
push 1
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 3
call fcn.004012ba
lea eax, [esp + 0x34]
push 0x2790
push eax
call fcn.00402c78
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x74]
mov byte [esp + 0xd8], 4
call fcn.00404251
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xd8], 3
call fcn.004012ba
lea esi, [esp + 0x34]
call fcn.0040cff0
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x74]
mov byte [esp + 0xd8], 5
call fcn.00404251
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xd8], 3
call fcn.004012ba
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x6c]
push eax
push dword [ebp + 8]
call fcn.00413ec3
lea esi, [esp + 0x6c]
jmp 0x413a18
lea ecx, [edi + 0x2c]
call fcn.0040b940
cmp al, bl
jne 0x413a2b
mov eax, esi
call fcn.00407e41
lea eax, [esp + 0x34]
push 0x271d
push eax
call fcn.00402c78
push esi
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0xe4], 6
call fcn.00408415
add esp, 0x14
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xd8], 8
call fcn.004012ba
lea eax, [esp + 0x6c]
push 0x2790
push eax
call fcn.00402c78
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 9
call fcn.00404251
push ebx
push 1
lea esi, [esp + 0x74]
mov byte [esp + 0xd8], 8
call fcn.004012ba
lea esi, [esp + 0x50]
call fcn.0040cff0
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 0xa
call fcn.00404251
push ebx
push 1
lea esi, [esp + 0x58]
mov byte [esp + 0xd8], 8
call fcn.004012ba
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x88]
push eax
push dword [ebp + 8]
call fcn.00413ec3
lea esi, [esp + 0x88]
mov edi, eax
cmp edi, ebx
push ebx
push 1
jne 0x413aa0
call fcn.004012ba
jmp 0x413604
mov eax, esi
call fcn.00407e41
lea eax, [edi + 0x2c]
lea esi, [esp + 0xa4]
call fcn.00403d90
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xd0], 0xb
call fcn.00413e74
mov esi, dword [esp + 0x1c]
add esi, 0x18
mov eax, esi
call fcn.00415284
test al, al
je 0x413aac
mov eax, esi
call fcn.004151f7
push dword [esp + 0x24]
mov edi, eax
sub esp, 0x1c
lea eax, [esp + 0xc4]
mov esi, esp
mov dword [esp + 0x48], esp
call fcn.00403d90
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov edi, eax
cmp edi, ebx
je 0x413aac
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.004012ba
mov ebx, edi
jmp 0x413604
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.004012ba
jmp 0x4137d4