Function at 0x424f80
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53aeb1
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x58d984]
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 edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x148], 0
mov word [esi + 0x14c], 0
mov byte [esi + 0x14e], 0
mov dword [esi], 0
push dword [esi + 8]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x244], eax
call fcn.004eda86
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
push dword [esi + 0x24]
call fcn.004eda86
mov dword [esi + 0x24], 0
push dword [esi + 0x28]
call fcn.004eda86
mov dword [esi + 0x28], 0
push dword [esi + 0x2c]
call fcn.004eda86
mov dword [esi + 0x2c], 0
push dword [esi + 0x30]
call fcn.004eda86
mov dword [esi + 0x30], 0
push dword [esi + 0x34]
call fcn.004eda86
mov dword [esi + 0x34], 0
push dword [esi + 0x38]
call fcn.004eda86
mov dword [esi + 0x38], 0
add esp, 0x1c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x42508f
push eax
call fcn.004eda86
add esp, 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x4250b3
push eax
call fcn.004eda86
add esp, 4
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
push dword [esi + 0xf0]
call fcn.004eda86
mov dword [esi + 0xf0], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x124], 0
push dword [esi + 0x130]
call fcn.004eda86
mov dword [esi + 0x130], 0
push dword [esi + 0x134]
call fcn.004eda86
mov dword [esi + 0x134], 0
add esp, 0xc
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov eax, dword [edi + 0x40]
mov dword [esi + 0x100], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x104], eax
mov cl, byte [edi + 0x5e]
mov byte [esi + 0xf8], cl
mov al, byte [edi + 0x5f]
mov byte [esi + 0xf9], al
test cl, cl
jne 0x42552f
cmp dword [edi + 0x60], 0
mov eax, dword [edi + 0x70]
mov edx, dword [edi + 0x64]
mov ecx, dword [edi + 0x68]
mov ebx, dword [edi + 0x6c]
mov dword [ebp - 0x220], eax
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x224], eax
jne 0x4253d0
mov eax, edx
or eax, ecx
jne 0x4253d0
mov eax, ebx
or eax, dword [ebp - 0x220]
jne 0x4253d0
cmp dword [ebp - 0x224], eax
jne 0x4253d0
mov ecx, dword [edi]
lea edx, [ebp - 0x234]
push edx
push 1
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x425534
mov ecx, dword [edi]
lea edx, [ebp - 0x23c]
push edx
push 2
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x425534
mov edx, dword [ebp - 0x23c]
mov ebx, 0x200
mov ecx, dword [ebp - 0x238]
mov eax, edx
sub eax, dword [ebp - 0x234]
mov dword [ebp - 0x214], ecx
sbb ecx, dword [ebp - 0x230]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
ja 0x4252f1
jb 0x4252e6
cmp eax, ebx
jae 0x4252f1
mov ebx, eax
cmp ebx, 3
jb 0x42552f
mov ecx, dword [edi]
sub edx, ebx
push 0
sbb dword [ebp - 0x214], 0
push 0
push dword [ebp - 0x214]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x425534
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [edi]
call fcn.0042d740
add esp, 0xc
test eax, eax
jne 0x425534
cmp byte [ebp + ebx - 0x211], al
jne 0x42552f
lea eax, [ebx - 2]
nop
mov cl, byte [ebp + eax - 0x210]
cmp cl, 0x17
jne 0x425356
cmp byte [ebp + eax - 0x20f], 6
jmp 0x425363
cmp cl, 1
jne 0x425365
cmp byte [ebp + eax - 0x20f], 4
je 0x425370
test eax, eax
je 0x42552f
dec eax
jmp 0x425340
mov edx, dword [ebp - 0x21c]
xor ecx, ecx
sub ebx, eax
mov dword [ebp - 0x220], ecx
sub dword [ebp - 0x218], ebx
sbb edx, ecx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x21c], edx
add ecx, eax
mov edx, ebx
call fcn.00432e20
mov edx, dword [edi]
push 0
push 0
push dword [ebp - 0x230]
mov ecx, dword [edx]
push dword [ebp - 0x234]
mov dword [ebp - 0x224], eax
push edx
call dword [ecx + 0x10]
test eax, eax
jne 0x425534
mov edx, dword [ebp - 0x218]
mov byte [esi + 0x14c], 1
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
add ecx, 0x20
mov dword [esi + 0x108], ecx
mov ecx, dword [ebp - 0x21c]
adc eax, 0
mov dword [esi + 0x10c], eax
mov dword [esi + 0x140], 0x20
mov dword [esi + 0x144], 0
mov byte [esi + 0x148], 0
test ecx, ecx
jl 0x42552f
jg 0x42541b
test edx, edx
jb 0x42552f
cmp dword [ebp - 0x220], 0x40000000
ja 0x42552f
jb 0x425435
test ebx, ebx
jne 0x42552f
mov eax, ebx
mov dword [edi + 0x78], 0x20
or eax, dword [ebp - 0x220]
mov dword [edi + 0x7c], 0
jne 0x425475
or edx, ecx
jne 0x42552f
mov byte [esi + 0x148], 1
mov eax, dword [edi + 0x78]
mov dword [esi + 0x138], eax
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x13c], eax
xor eax, eax
jmp 0x425534
cmp byte [esi + 0x14c], 0
mov eax, 0x20
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x214], 0
jne 0x4254ac
mov byte [esi + 0x148], 1
mov edx, dword [edi + 0x7c]
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x214], edx
mov edx, dword [ebp - 0x218]
add eax, ebx
mov dword [edi + 0x50], edx
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x220]
adc dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x22c]
mov dword [edi + 0x78], ecx
mov ecx, dword [ebp - 0x214]
mov dword [edi + 0x7c], ecx
mov ecx, dword [ebp - 0x21c]
mov dword [edi + 0x54], ecx
mov dword [ebp - 0x214], ebx
add dword [ebp - 0x214], edx
mov edx, eax
adc edx, ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x20
mov eax, edx
mov dword [esi + 0x140], ecx
adc eax, 0
mov dword [esi + 0x144], eax
mov ecx, dword [edi + 0x48]
sub ecx, dword [esi + 0x108]
mov eax, dword [edi + 0x4c]
sbb eax, dword [esi + 0x10c]
cmp eax, edx
ja 0x425552
jb 0x425528
cmp ecx, dword [ebp - 0x214]
jae 0x425552
mov byte [esi + 0x14b], 1
mov eax, 1
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.004eda39
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi]
mov edx, dword [ebp - 0x21c]
push 0
push 1
mov eax, dword [ecx]
push edx
mov edx, dword [ebp - 0x218]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x425534
cmp eax, dword [ebp - 0x220]
jne 0x425796
push ebx
call fcn.004eda7d
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], ebx
push ebx
push eax
push dword [edi]
mov dword [ebp - 4], 0
call fcn.0042d740
add esp, 0x10
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x4255c4
push dword [ebp - 0x234]
call fcn.004eda86
mov eax, dword [ebp - 0x22c]
add esp, 4
jmp 0x425534
mov ecx, dword [ebp - 0x234]
mov edx, ebx
call fcn.00432e20
cmp eax, dword [ebp - 0x224]
jne 0x4257a0
cmp byte [esi + 0x14c], 0
jne 0x4255ed
mov byte [esi + 0x149], 1
mov word [ebp - 0x224], 0
push 0
push ebx
mov ebx, dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push ebx
push edi
mov byte [ebp - 4], 1
call fcn.004275c0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov ecx, dword [edi + 0x38]
mov byte [ebp - 4], 2
call fcn.004261b0
cmp eax, 1
jne 0x425647
test edx, edx
je 0x425735
cmp eax, 0x17
jne 0x4257a0
test edx, edx
jne 0x4257a0
push dword [ebp - 0x244]
lea eax, [ebp - 0x240]
mov ecx, edi
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
push dword [ebp - 0x250]
push eax
lea eax, [esi + 0x118]
push eax
push dword [esi + 0x10c]
push dword [esi + 0x108]
call fcn.00424900
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x4256c5
lea ecx, [ebp - 0x240]
call fcn.00423eb0
lea ecx, [ebp - 0x228]
call fcn.00423ef0
push ebx
call fcn.004eda86
mov eax, dword [ebp - 0x22c]
add esp, 4
jmp 0x425534
mov eax, dword [ebp - 0x23c]
test eax, eax
jne 0x4256f5
lea ecx, [ebp - 0x240]
call fcn.00423eb0
lea ecx, [ebp - 0x228]
call fcn.00423ef0
push ebx
call fcn.004eda86
add esp, 4
xor eax, eax
jmp 0x425534
cmp eax, 1
ja 0x4257a5
lea ecx, [ebp - 0x228]
call fcn.00423ef0
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x228]
push 0
mov eax, dword [eax]
push dword [eax + 4]
push dword [eax]
push edi
call fcn.004275c0
mov ecx, dword [edi + 0x38]
call fcn.004261b0
cmp eax, 1
jne 0x4257a0
test edx, edx
jne 0x4257a0
push dword [ebp - 0x244]
mov byte [esi + 0x148], 1
mov ecx, edi
push dword [ebp - 0x248]
mov eax, dword [edi + 0x78]
push dword [ebp - 0x24c]
mov dword [esi + 0x138], eax
push dword [ebp - 0x250]
mov eax, dword [edi + 0x7c]
push esi
mov dword [esi + 0x13c], eax
call fcn.00425850
lea ecx, [ebp - 0x240]
mov esi, eax
call fcn.00423eb0
lea ecx, [ebp - 0x228]
call fcn.00423ef0
push ebx
call fcn.004eda86
add esp, 4
mov eax, esi
jmp 0x425534
mov eax, 0x8007000e
jmp 0x425534
call fcn.00427710
call fcn.00427710
int3