Function at 0x436680
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bbbcf
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
mov dword [esp + 0x108], esi
cmp dword [edi + 0x14], esi
ja 0x436735
mov ecx, edi
call fcn.00432db0
push 0xffffffffffffffff
push esi
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], esi
push edi
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.004042e0
cmp dword [esp + 0xbc], 0x10
jb 0x436ecc
mov eax, dword [esp + 0xa8]
push eax
jmp 0x436ec4
mov dword [esp + 0x24], vtable.BaseFunc::_binary_istream_class_BaseFunc::_binary_buf__void___cdecl_BaseFunc::_excption_check_class_BaseFunc::bin_stream_exception__bool__char_const__const__char_const__const__int__char_const__const__.0
mov dword [esp + 0x28], edi
mov byte [esp + 0x108], 1
mov byte [esp + 0x1b], 0
cmp dword [edi + 0x18], 0x10
jb 0x436759
mov eax, dword [edi + 4]
jmp 0x43675c
lea eax, [edi + 4]
push 1
push eax
lea ecx, [esp + 0x23]
push 1
push ecx
call fcn.00477f74
mov dl, byte [esp + 0x2b]
mov eax, dword [esp + 0x30]
mov byte [eax + 4], dl
add esp, 0x10
lea esi, [esp + 0x50]
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], 1
call fcn.00434a10
mov byte [esp + 0x108], 2
cmp dword [esp + 0x64], 0x12
je 0x436806
mov ecx, edi
call fcn.00432db0
push 0xffffffffffffffff
push 0
mov esi, 0xf
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], 0
push edi
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.004042e0
mov edi, 0x10
cmp dword [esp + 0x68], edi
jb 0x4367db
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00457af4
add esp, 4
cmp dword [esp + 0xbc], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
jb 0x436ecc
mov edx, dword [esp + 0xa8]
push edx
jmp 0x436ec4
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x1c], edi
cmp dword [eax + 0x18], 0x10
jb 0x43681b
mov eax, dword [eax + 4]
jmp 0x43681e
add eax, 4
mov esi, dword [esp + 0x2c]
mov ebx, 4
push ebx
add eax, esi
push eax
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.00477f74
add esp, 0x10
add esi, ebx
mov dword [esp + 0x2c], esi
push edi
mov esi, 0xf
push 0x4c9beb
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
call fcn.004043c0
mov byte [esp + 0x108], 3
push edi
push 0x4c9beb
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], edi
mov byte [esp + 0x94], 0
call fcn.004043c0
mov byte [esp + 0x108], bl
cmp dword [esp + 0x64], edi
ja 0x4368a8
call fcn.0049c6e0
mov eax, dword [esp + 0x54]
mov edi, 0x10
cmp dword [esp + 0x68], edi
jae 0x4368bb
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], 0xd
ja 0x4368e0
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x4368ee
lea eax, [esp + 0x54]
mov cl, byte [eax + 0xd]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], 7
ja 0x436914
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436922
lea eax, [esp + 0x54]
mov al, byte [eax + 7]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], ebx
ja 0x436947
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436955
lea eax, [esp + 0x54]
mov dl, byte [eax + 4]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], 3
ja 0x43697b
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436989
lea eax, [esp + 0x54]
mov cl, byte [eax + 3]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], 0xc
ja 0x4369af
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x4369bd
lea eax, [esp + 0x54]
mov al, byte [eax + 0xc]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], 0xa
ja 0x4369e3
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x4369f1
lea eax, [esp + 0x54]
mov dl, byte [eax + 0xa]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], 6
ja 0x436a17
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436a25
lea eax, [esp + 0x54]
mov cl, byte [eax + 6]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x90]
call fcn.004031e0
cmp dword [esp + 0x64], 0xb
ja 0x436a4b
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436a59
lea eax, [esp + 0x54]
mov al, byte [eax + 0xb]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], 0xe
ja 0x436a7c
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436a8a
lea eax, [esp + 0x54]
mov dl, byte [eax + 0xe]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], 5
ja 0x436aad
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436abb
lea eax, [esp + 0x54]
mov cl, byte [eax + 5]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], 1
ja 0x436ade
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436aec
lea eax, [esp + 0x54]
mov al, byte [eax + 1]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], 2
ja 0x436b0f
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436b1d
lea eax, [esp + 0x54]
mov dl, byte [eax + 2]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], 9
ja 0x436b40
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436b4e
lea eax, [esp + 0x54]
mov cl, byte [eax + 9]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], esi
ja 0x436b70
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436b7e
lea eax, [esp + 0x54]
mov al, byte [eax + 0xf]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], 8
ja 0x436ba1
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436baf
lea eax, [esp + 0x54]
mov dl, byte [eax + 8]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], edi
ja 0x436bd1
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436bdf
lea eax, [esp + 0x54]
mov cl, byte [eax + 0x10]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x64], 0x11
ja 0x436c02
call fcn.0049c6e0
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x436c10
lea eax, [esp + 0x54]
mov al, byte [eax + 0x11]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x74]
call fcn.004031e0
cmp dword [esp + 0x84], edi
mov eax, dword [esp + 0x70]
jae 0x436c38
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x1c]
push edx
mov esi, 0xf
push eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], 0
mov byte [esp + 0xe8], 0
call fcn.004043c0
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x10c], 5
call fcn.004371c0
lea ecx, [esp + 0x8c]
add esp, 4
push ecx
mov ebx, eax
call fcn.004371c0
add esp, 4
xor ebx, eax
jmp 0x436ca7
mov al, bl
mov cl, bh
shr ebx, 0x10
mov dl, bl
ror al, 1
rol cl, 2
ror dl, 2
mov byte [esp + 0x1b], dl
mov bl, bh
xor edx, edx
rol bl, 3
mov dh, bl
xor ebx, ebx
mov bh, cl
movzx eax, al
mov dl, byte [esp + 0x1b]
movzx ecx, bx
shl edx, 0x10
or edx, ecx
or edx, eax
mov ebx, edx
jmp 0x436cec
lea edi, [esp + 0x34]
lea edx, [esp + 0x24]
call fcn.004348e0
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x114], 6
call fcn.004042e0
mov byte [esp + 0x108], 5
cmp dword [esp + 0x4c], 0x10
jb 0x436d2f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00457af4
add esp, 4
cmp dword [esp + 0xbc], 0x10
mov eax, dword [esp + 0xa8]
jae 0x436d47
lea eax, [esp + 0xa8]
mov edx, dword [esp + 0xb8]
push edx
push eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], edi
mov byte [esp + 0xcc], 0
call fcn.004043c0
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov byte [esp + 0x12c], 7
push edi
lea eax, [esp + 0xe8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], edi
push eax
mov byte [ecx + 4], 0
call fcn.004042e0
mov ecx, dword [esp + 0x40]
call fcn.00436f00
cmp ebx, eax
je 0x436db7
lea ecx, [esp + 0xa4]
call fcn.00432db0
mov ebx, dword [esp + 0x30]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xac]
push ecx
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], edi
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.004042e0
cmp dword [esp + 0xd8], 0x10
jb 0x436df1
mov edx, dword [esp + 0xc4]
push edx
call fcn.00457af4
add esp, 4
cmp dword [esp + 0xf4], 0x10
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], edi
mov byte [esp + 0xc4], 0
jb 0x436e21
mov eax, dword [esp + 0xe0]
push eax
call fcn.00457af4
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], edi
mov byte [esp + 0xe0], 0
jb 0x436e51
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00457af4
add esp, 4
cmp dword [esp + 0x84], 0x10
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], edi
mov byte [esp + 0x8c], 0
jb 0x436e7e
mov edx, dword [esp + 0x70]
push edx
call fcn.00457af4
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov byte [esp + 0x70], 0
jb 0x436ea5
mov eax, dword [esp + 0x54]
push eax
call fcn.00457af4
add esp, 4
cmp dword [esp + 0xbc], 0x10
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
jb 0x436ecc
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00457af4
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00477f65
mov esp, ebp
pop ebp
ret 8