Function at 0x45d760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x628872
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6bae70]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x6bae70]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x6c9a40]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
test al, 1
jne 0x45d7d4
or eax, 1
mov ecx, 0x6c9a30
mov dword [0x6c9a40], eax
call fcn.00424d50
cmp byte [edi + 0x3bc], 0
mov eax, dword [edi + 0x394]
mov dword [esp + 0x40], 0x6c9a30
mov ecx, dword [eax]
mov eax, dword [edi + 0x390]
je 0x45dd6b
cmp dword [edi + 0x3c0], 0
jne 0x45dc16
sub ecx, dword [eax]
cmp byte [edi + 0x3bd], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
jne 0x45d9be
push 2
call fcn.005d4157
add esp, 4
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
push dword [esp + 0x28]
push eax
call fcn.0046e9f0
mov dword [esp + 0xe8], 0
xor eax, eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov word [ecx], ax
test edx, edx
jle 0x45db38
cmp edx, 2
mov dword [esp + 0x20], 2
lea esi, [esp + 0x14]
lea eax, [esp + 0x20]
cmovle eax, esi
mov esi, dword [edi + 0x374]
mov eax, dword [eax]
cdq
push edx
push eax
mov eax, dword [esi + 0x20]
push ecx
lea ecx, [edi + 0x374]
call eax
cmp eax, 1
jne 0x45d940
sub esp, 0x18
mov ecx, esp
push dword [esp + 0x48]
call fcn.004535e0
lea ecx, [esp + 0x94]
call fcn.00466a70
sub esp, 0x40
lea eax, [esp + 0x84]
mov esi, esp
sub esp, 8
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00444ad0
sub esp, 0x20
mov byte [esp + 0x150], 2
lea eax, [esp + 0xe4]
mov ecx, esp
push eax
call fcn.00444b00
push dword [ebx + 4]
mov eax, dword [0x6bc558]
mov edx, edi
push dword [ebx]
mov ecx, esi
push 0
movzx eax, byte [eax]
push 0x466b30
push eax
mov eax, dword [0x6bc554]
movzx eax, byte [eax]
push eax
mov byte [esp + 0x168], 1
call fcn.00466d50
mov eax, dword [esp + 0xc4]
lea ecx, [edi + 0x48]
inc eax
mov dword [esp + 0xac], 1
add esp, 0x40
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push eax
call fcn.00466ef0
lea ecx, [esp + 0x7c]
jmp 0x45dbf0
cmp byte [edi + 0x3be], 0
je 0x45d98f
cmp byte [edi + 0x2dc], 0
jne 0x45d95d
push 2
lea ecx, [esp + 0x3c]
call fcn.0044a8b0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], 0
push eax
lea ecx, [esp + 0xa4]
call fcn.00466fd0
add esp, 8
mov byte [esp + 0xe8], 3
jmp 0x45db16
mov eax, dword [esp + 0x44]
cmp byte [eax], 0xd
jne 0x45dade
cmp byte [eax + 1], 0xa
jne 0x45dade
lea ecx, [esp + 0x44]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043bab0
mov esi, dword [esp + 0x30]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.004535e0
lea ecx, [esp + 0x74]
call fcn.00466a70
push 0x68d7b4
lea ecx, [esp + 0x48]
mov dword [esp + 0xec], 7
call fcn.00422d80
sub esp, 0x20
mov byte [esp + 0x108], 8
lea eax, [esp + 0x7c]
mov ecx, esp
push eax
call fcn.00444b00
push dword [ebx + 4]
mov eax, dword [0x6bc558]
lea ecx, [esp + 0xc0]
push dword [ebx]
mov edx, edi
push 0
movzx eax, byte [eax]
push 0x467090
push eax
mov eax, dword [0x6bc554]
movzx eax, byte [eax]
push eax
call fcn.00467500
push eax
lea eax, [esp + 0x80]
mov byte [esp + 0x124], 9
lea esi, [edi + 0x374]
push eax
lea ecx, [edi + 0x48]
mov dword [esp + 0x54], esi
lea edx, [esp + 0x54]
call fcn.0046eb50
mov byte [esp + 0x128], 8
add esp, 0x40
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x45da93
test al, 1
jne 0x45da88
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x45da88
lea ecx, [esp + 0xbc]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov dword [esp + 0xb4], 0
cmp dword [esp + 0x58], 0x10
jb 0x45daa6
push dword [esp + 0x44]
call fcn.005e8fa6
add esp, 4
mov dword [esp + 0xe8], 0xffffffff
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x45e079
test al, 1
jne 0x45e079
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x45e079
push 2
lea ecx, [esp + 0x68]
push ecx
jmp 0x45e073
push 0xb
lea ecx, [esp + 0x3c]
call fcn.0044dda0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], 0
push eax
lea ecx, [esp + 0xa4]
call fcn.00466fd0
add esp, 8
mov byte [esp + 0xe8], 4
mov ecx, dword [edi + 0x38]
push eax
call fcn.00467030
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe8], 0
call fcn.0043db90
jmp 0x45dbfd
sub esp, 0x18
mov ecx, esp
push esi
call fcn.004535e0
lea ecx, [esp + 0xb4]
call fcn.00466a70
mov ecx, dword [esp + 0x48]
sub esp, 0x40
mov esi, dword [esp + 0x84]
mov dword [esp + 0x54], esp
sub esp, 8
mov dword [esp + 0x68], esp
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ecx
test ecx, ecx
je 0x45db7f
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
sub esp, 0x20
mov byte [esp + 0x150], 6
lea eax, [esp + 0x104]
mov ecx, esp
push eax
call fcn.00444b00
push dword [ebx + 4]
mov eax, dword [0x6bc558]
mov edx, edi
push dword [ebx]
mov ecx, dword [esp + 0x84]
push 0
movzx eax, byte [eax]
push 0x466b30
push eax
mov eax, dword [0x6bc554]
movzx eax, byte [eax]
push eax
mov byte [esp + 0x168], 5
call fcn.00466d50
add esp, 0x40
mov dword [esp + 0x70], esi
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 2
lea ecx, [edi + 0x48]
push eax
call fcn.00466ef0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe8], 0
call fcn.0043dbd0
lea ecx, [esp + 0x44]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043bab0
jmp 0x45e079
xor edx, edx
mov dword [esp + 0x28], edx
sub ecx, dword [eax]
je 0x45dc24
xor eax, eax
jmp 0x45dc5d
lea eax, [ebx + 8]
mov ecx, ebx
cmp ebx, eax
je 0x45dc48
lea esi, [ebx + 8]
mov eax, dword [ecx]
add edx, dword [ecx + 4]
add ecx, 8
mov dword [esp + 0x44], eax
cmp ecx, esi
jne 0x45dc30
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], edx
cmp dword [edi + 0x3c0], edx
lea ecx, [edi + 0x3c0]
lea eax, [esp + 0x28]
cmovb eax, ecx
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x374]
mov dword [esp + 0x2c], eax
call fcn.00446a30
mov eax, dword [edi + 0x394]
sub esp, 0x18
mov ecx, esp
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x45dcaa
lea ecx, [eax + 4]
mov eax, 1
lock xadd dword [ecx], eax
lea ecx, [esp + 0x74]
call fcn.00466a70
sub esp, 0x38
mov dword [esp + 0x120], 0xa
mov esi, esp
sub esp, 0x20
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x45dd16
mov dword [eax], ecx
test cl, 1
je 0x45dcfe
movdqu xmm0, xmmword [esp + 0xbc]
movdqu xmmword [eax + 8], xmm0
movq xmm0, qword [esp + 0xcc]
movq qword [eax + 0x18], xmm0
jmp 0x45dd16
add eax, 8
and ecx, 0xfffffffe
push 0
push eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [ecx]
call eax
add esp, 0xc
push dword [ebx + 4]
mov eax, dword [0x6bc558]
mov edx, edi
push dword [ebx]
mov ecx, esi
push 0
movzx eax, byte [eax]
push 0x467630
push eax
mov eax, dword [0x6bc554]
movzx eax, byte [eax]
push eax
call fcn.00467500
mov eax, dword [esp + 0x84]
lea ecx, [edi + 0x48]
mov dword [esp + 0xb4], eax
add esp, 0x38
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
push eax
call fcn.00467780
jmp 0x45daa6
sub ecx, dword [eax]
je 0x45de40
lea eax, [esp + 0x38]
mov ecx, edi
push eax
push ebx
call fcn.0044f220
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x9c]
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00466fd0
mov esi, eax
mov dword [esp + 0xf0], 0xb
mov edi, dword [edi + 0x38]
push esi
push 0x44
mov dword [esp + 0x54], esi
call fcn.00429c50
add esp, 0x10
test eax, eax
je 0x45ddc9
push esi
mov ecx, eax
call fcn.0046ab30
jmp 0x45ddcb
xor eax, eax
push ecx
mov ecx, dword [edi + 8]
push eax
call fcn.0042a3d0
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
call fcn.0046be00
mov dword [esp + 0xe8], 0xffffffff
mov esi, dword [esp + 0xac]
test esi, esi
je 0x45e079
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x45e079
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x45e079
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x45e079
cmp byte [edi + 0x2dc], 0
je 0x45debb
mov eax, dword [edi + 0x308]
and eax, dword [edi + 0x30c]
cmp eax, 0xffffffff
je 0x45debb
mov eax, dword [edi + 0x310]
cmp eax, dword [edi + 0x308]
jne 0x45debb
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x3c]
mov edx, esi
push eax
lea ecx, [esp + 0xa4]
call fcn.00466fd0
add esp, 8
mov dword [esp + 0xe8], 0xc
mov ecx, dword [edi + 0x38]
push eax
call fcn.00467030
lea ecx, [esp + 0x9c]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043db90
jmp 0x45e079
mov eax, dword [edi + 0x394]
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [edi + 0x390]
sub ecx, dword [eax]
je 0x45ded3
xor eax, eax
jmp 0x45df40
lea eax, [ebx + 8]
mov ecx, ebx
cmp ebx, eax
je 0x45def4
lea esi, [ebx + 8]
nop
mov eax, dword [ecx]
add edx, dword [ecx + 4]
add ecx, 8
mov dword [esp + 0x44], eax
cmp ecx, esi
jne 0x45dee0
mov esi, dword [esp + 0x30]
mov ecx, dword [edi + 0x308]
mov eax, ecx
and eax, dword [edi + 0x30c]
cmp eax, 0xffffffff
jne 0x45df10
mov ecx, 0x400
xor eax, eax
jmp 0x45df16
mov eax, dword [edi + 0x30c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
test eax, eax
jg 0x45df3a
jl 0x45df34
cmp ecx, edx
jae 0x45df3a
lea eax, [esp + 0x44]
jmp 0x45df3e
lea eax, [esp + 0x14]
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x374]
mov dword [esp + 0x2c], eax
call fcn.00446a30
mov eax, dword [edi + 0x394]
sub esp, 0x18
mov ecx, esp
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x45df8d
lea ecx, [eax + 4]
mov eax, 1
lock xadd dword [ecx], eax
lea ecx, [esp + 0x94]
call fcn.00466a70
sub esp, 0x38
mov dword [esp + 0x120], 0xd
mov esi, esp
sub esp, 0x20
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x45dffc
mov dword [eax], ecx
test cl, 1
je 0x45dfe4
movdqu xmm0, xmmword [esp + 0xdc]
movdqu xmmword [eax + 8], xmm0
movq xmm0, qword [esp + 0xec]
movq qword [eax + 0x18], xmm0
jmp 0x45dffc
add eax, 8
and ecx, 0xfffffffe
push 0
push eax
lea eax, [esp + 0xe4]
push eax
mov eax, dword [ecx]
call eax
add esp, 0xc
push dword [ebx + 4]
mov eax, dword [0x6bc558]
mov edx, edi
push dword [ebx]
mov ecx, esi
push 0
movzx eax, byte [eax]
push 0x467880
push eax
mov eax, dword [0x6bc554]
movzx eax, byte [eax]
push eax
call fcn.00467500
mov eax, dword [esp + 0x84]
lea ecx, [edi + 0x48]
mov dword [esp + 0x90], eax
add esp, 0x38
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
call fcn.00467780
mov dword [esp + 0xe8], 0xffffffff
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x45e079
test al, 1
jne 0x45e079
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x45e079
push 2
lea ecx, [esp + 0x88]
push ecx
push ecx
call eax
add esp, 0xc
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.005e9734
mov esp, ebp
pop ebp
ret 8