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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5eca0b
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x65bf90]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
push edi
mov eax, dword [0x65bf90]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
cmp dword [ebp + 0x14], 1
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x30], edx
jne 0x426e4b
cmp dword [ebp + 0x18], 4
jne 0x426e4b
lea edi, [ebx + 0x10]
push 1
mov dword [esp + 0x44], edi
call fcn.00426590
test eax, eax
jne 0x426e50
mov dword [esp + 0x48], eax
test esi, esi
je 0x4267f9
mov esi, dword [esi]
test esi, esi
je 0x4267f9
cmp dword [esi + 4], 0
mov eax, dword [esi]
ja 0x4267f9
jb 0x4267f5
cmp eax, 0x80000000
ja 0x4267f9
mov dword [esp + 0x48], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x318], esi
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x62b040
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x28]
add edx, eax
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x14]
add ecx, eax
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xa4], edx
mov edx, dword [ebx + 0x2c]
add edx, eax
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [ebx + 0x30]
add ecx, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xac], edx
mov eax, 0x400
movzx edx, ax
mov eax, edx
shl edx, 0x10
mov dword [esp + 0xb0], ecx
or eax, edx
mov edx, dword [ebx + 0x4c]
mov ecx, 0x81
lea edi, [esp + 0x100]
mov dword [esp + 0xbc], 5
mov word [esp + 0xc4], si
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xfc], esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xc0], eax
mov byte [esp + 0x16], al
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x17], al
jmp 0x426960
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x16], 0
je 0x426a92
mov eax, dword [esp + 0x18]
test eax, eax
je 0x426a92
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xe4], ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x54]
xor edi, edi
push ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
mov esi, eax
mov byte [esp + 0x16], 0
cmp esi, edi
jne 0x426a69
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add edi, edx
adc eax, dword [esp + 0x68]
cmp eax, ecx
jb 0x4269f9
ja 0x4269f5
cmp edi, dword [esp + 0x24]
jb 0x4269f9
cmp eax, ecx
ja 0x4269f5
jb 0x4269ee
cmp edi, dword [esp + 0x24]
ja 0x4269f5
cmp byte [esp + 0x17], 0
jne 0x4269f9
xor cl, cl
jmp 0x4269fb
mov cl, 1
mov esi, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
ja 0x426b99
jb 0x426a13
cmp edi, esi
ja 0x426b99
test cl, cl
je 0x426b99
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x68], eax
add ecx, 1
mov eax, 0
adc edx, eax
mov dword [esp + 0x64], edi
lea edi, [esp + 0x34]
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
push edx
push ecx
push eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
call eax
mov esi, eax
mov byte [esp + 0x16], 0
test esi, esi
je 0x4269c0
xor edi, edi
cmp esi, 1
je 0x426a8e
cmp esi, 0x80004001
jne 0x426d5c
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x426a8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x17], 0
je 0x426ad1
mov edx, dword [esp + 0xf0]
sub edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x24]
add edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x28]
sub eax, esi
sbb ecx, dword [esp + 0x20]
xor esi, esi
cmp eax, edx
jne 0x426ad1
cmp ecx, esi
jne 0x426ad1
mov dword [esp + 0xc0], 2
lea esi, [esp + 0x94]
call fcn.00446560
mov ecx, dword [esp + 0xb4]
sub ecx, dword [ebx + 0x20]
mov eax, ecx
cdq
mov esi, eax
xor eax, eax
sub esi, dword [esp + 0xf0]
sbb edx, eax
mov eax, dword [esp + 0x44]
xor edi, edi
sub esi, eax
sbb edx, edi
add esi, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
cmp dword [esp + 0xfc], 5
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
je 0x426d7e
mov edx, dword [esp + 0xbc]
cmp edx, 4
jae 0x426c14
mov esi, dword [esp + edx*4 + 0x94]
sub esi, dword [ebx + edx*4 + 0x10]
mov ecx, dword [ebx + edx*4 + 0x10]
mov edi, dword [esp + 0x60]
mov ebx, dword [edi + edx*4]
mov eax, esi
call fcn.00440e50
mov edi, eax
test edi, edi
jne 0x426e0a
mov ecx, dword [esp + 0xbc]
cmp ecx, 3
jne 0x426b6a
add dword [esp + 0x54], esi
adc dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
mov edx, dword [eax + ecx*4 + 0x10]
mov dword [esp + ecx*4 + 0x94], edx
mov ecx, dword [esp + 0xbc]
mov edx, dword [eax + ecx*4 + 0x24]
add edx, dword [eax + ecx*4 + 0x10]
mov ebx, eax
mov dword [esp + ecx*4 + 0xa4], edx
jmp 0x426cae
mov eax, dword [ebx + 0x20]
add eax, dword [esp + 0x44]
mov dword [esp + 0xb8], eax
test cl, cl
je 0x426bd9
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x24]
sub ecx, dword [esp + 0xb4]
sub eax, edi
cmp ecx, eax
jb 0x426d37
sub dword [esp + 0xb8], eax
mov dword [esp + 0xc0], 1
cmp dword [esp + 0x38], 0
ja 0x426a92
jb 0x426bf4
cmp dword [esp + 0x34], 0x80000000
ja 0x426a92
sub edx, esi
add edx, dword [esp + 0xdc]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xe4], edx
jmp 0x426a92
jne 0x426e29
mov byte [esp + 0x16], 1
cmp eax, ecx
je 0x426c34
mov ecx, dword [ebx + 0x20]
add ecx, eax
mov dword [esp + 0xb8], ecx
jmp 0x426960
cmp byte [esp + 0x17], 0
jne 0x426960
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov dword [esp + 0x44], edi
lea edi, [esp + 0x84]
push edi
push edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov esi, dword [ecx]
mov edx, dword [esi + 0xc]
push eax
push ecx
call edx
mov esi, eax
test esi, esi
jne 0x426d24
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x426c95
mov byte [esp + 0x17], 1
jmp 0x42695c
add dword [esp + 0x24], eax
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x44], eax
adc dword [esp + 0x28], 0
add ecx, eax
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x42695c
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, esi
sub eax, dword [esp + 0x74]
mov edx, edi
sbb edx, dword [esp + 0x78]
mov dword [esp + 0x88], edx
jne 0x426ce2
cmp eax, 0x100000
jb 0x426960
mov eax, dword [esp + 0x54]
add eax, esi
cdq
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x94], edx
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
call ecx
mov esi, eax
test esi, esi
je 0x42695c
mov dword [esp + 0x318], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
jmp 0x426d6d
mov dword [esp + 0x318], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x426d52
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 0x80004005
jmp 0x426e50
mov dword [esp + 0x318], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x426d77
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x426e50
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x94]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x40]
sub eax, esi
mov dword [esp + 0x40], eax
jmp 0x426da4
mov eax, dword [esp + 0x40]
mov ecx, dword [edi]
mov eax, dword [eax + esi]
mov ebx, dword [esi]
sub eax, ecx
call fcn.00440e50
mov ebx, eax
test ebx, ebx
jne 0x426deb
mov eax, dword [esp + 0x30]
inc eax
add edi, 4
add esi, 4
mov dword [esp + 0x30], eax
cmp eax, 4
jl 0x426da0
mov dword [esp + 0x318], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x426de7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x426e50
mov dword [esp + 0x318], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x426e06
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
jmp 0x426e50
mov dword [esp + 0x318], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x426e25
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x426e50
mov dword [esp + 0x318], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x426e44
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004005
jmp 0x426e50
mov eax, 0x80070057
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.005bdb17
mov esp, ebp
pop ebp
ret 0x14