Function at 0x532230
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5de0ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x84], 0x5e5238
mov word [esp + 0x88], 0xffff
mov word [esp + 0x8a], bp
mov al, byte [esp + 0x3b]
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 1
call fcn.00558060
push 6
push 0x60f518
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 2
call fcn.00558100
push 6
push 0x60f598
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 3
call fcn.00558100
xor bl, bl
mov byte [esp + 0xa4], 4
mov byte [esp + 0x40], bl
mov ecx, dword [esp + 0x40]
push ecx
push 5
lea ecx, [esp + 0x1c]
call fcn.005584a0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00558070
mov ecx, dword [0x619a58]
call fcn.00546580
inc bl
cmp bl, 0xb
mov byte [esp + 0x40], bl
jbe 0x5322d8
mov edi, dword [esp + 0xac]
lea ecx, [esp + 0x34]
push edi
push 5
call fcn.005584a0
push edi
push 5
lea ecx, [esp + 0x1c]
call fcn.005584a0
mov ax, word [0x60ec18]
mov cl, byte [0x60ec1a]
xor edx, edx
mov byte [esp + 0x50], 1
mov dword [esp + 0x73], edx
mov byte [esp + 0x51], 2
movsx esi, di
mov dword [esp + 0x77], edx
mov byte [esp + 0x52], 3
mov byte [esp + 0x53], 6
mov byte [esp + 0x54], 0xe1
mov byte [esp + 0x55], 0xe1
mov byte [esp + 0x56], 0xe1
mov byte [esp + 0x57], 0xe1
mov byte [esp + 0x58], 0xe2
mov byte [esp + 0x59], 0xe2
mov byte [esp + 0x5a], 0xe2
mov byte [esp + 0x5b], 0xe2
mov word [esp + 0x5c], bp
mov bl, byte [esp + esi + 0x50]
mov dword [esp + 0x7b], edx
mov dword [esp + 0x7f], edx
cmp bl, 1
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], 2
mov byte [esp + 0x4a], 3
mov byte [esp + 0x4b], 4
mov byte [esp + 0x4c], 1
mov byte [esp + 0x4d], 2
mov byte [esp + 0x4e], 3
mov byte [esp + 0x4f], 4
mov word [esp + 0x70], ax
mov byte [esp + 0x72], cl
mov byte [esp + 0x83], dl
mov dword [esp + 0x40], esi
mov byte [esp + 0x44], bl
je 0x5323e7
cmp bl, 2
je 0x5323e7
cmp bl, 3
jne 0x532490
push ebp
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60f590
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xb4], 4
call fcn.00543af0
cmp ax, 4
jne 0x532490
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 3
call fcn.005581a0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 2
call fcn.005581a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 1
call fcn.005581a0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0xa4], 0
mov edi, eax
je 0x532d95
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x53247d
jmp 0x532d91
cmp bl, 6
jne 0x532541
push ebp
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], bl
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60f588
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xb4], 4
call fcn.00543af0
cmp ax, 4
jne 0x532541
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 3
call fcn.005581a0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 2
call fcn.005581a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 1
call fcn.005581a0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0xa4], 0
mov edi, eax
je 0x532d95
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x53252e
jmp 0x532d91
cmp bl, 0xe1
jne 0x5325f3
push ebp
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], 7
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60f580
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xb4], 4
call fcn.00543af0
cmp ax, 4
jne 0x5325f3
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 3
call fcn.005581a0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 2
call fcn.005581a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 1
call fcn.005581a0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0xa4], 0
mov edi, eax
je 0x532d95
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x5325e0
jmp 0x532d91
cmp bl, 0xe2
jne 0x5326a9
push ebp
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60f578
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xb4], 4
call fcn.00543af0
cmp ax, 4
jne 0x5326a9
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 3
call fcn.005581a0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 2
call fcn.005581a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 1
call fcn.005581a0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0xa4], 0
mov edi, eax
je 0x532d95
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x532692
jmp 0x532d91
mov esi, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00558070
mov ecx, dword [0x619a64]
call fcn.00548370
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60f570
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60f568
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60f560
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
mov cl, byte [esp + 0x3b]
sub esp, 0x10
mov ebp, esp
xor eax, eax
lea edi, [esp + 0x80]
mov dword [esp + 0x28], esp
mov byte [ebp], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
call fcn.004018c0
test al, al
je 0x532788
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x80]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x50]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0xbc], 9
call fcn.00558070
mov ecx, dword [0x619a64]
mov byte [esp + 0xb8], 4
call fcn.00548570
mov ecx, dword [0x619a64]
call fcn.00548950
cmp ax, 2
je 0x532c76
test ax, ax
jne 0x532a13
cmp byte [0x619c14], 1
je 0x532930
mov ebx, dword [esp + 0x44]
cmp bl, 0xe1
jne 0x532841
push 5
push 0x60f558
lea ecx, [esp + 0x74]
call fcn.00558100
mov cl, byte [esp + esi + 0x44]
mov byte [esp + 0xa4], 0xb
push ecx
push 4
lea ecx, [esp + 0x74]
call fcn.005584a0
lea edx, [esp + 0x24]
lea eax, [esp + 0x6c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x6c]
jmp 0x5328ec
cmp bl, 0xe2
jne 0x53289c
push 5
push 0x60f550
lea ecx, [esp + 0x6c]
call fcn.00558100
mov cl, byte [esp + esi + 0x44]
mov byte [esp + 0xa4], 0xc
push ecx
push 4
lea ecx, [esp + 0x6c]
call fcn.005584a0
lea edx, [esp + 0x24]
lea eax, [esp + 0x64]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x64]
jmp 0x5328ec
push 4
push 0x60e98c
lea ecx, [esp + 0x68]
call fcn.00558100
push ebx
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0xd
call fcn.005584a0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x60]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x60]
call fcn.005581a0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x532cce
mov ecx, dword [esp + 0x2c]
sub ecx, eax
test ecx, 0xfffffffc
je 0x532cce
push 0
lea ecx, [esp + 0x28]
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558390
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], 0xf
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60f548
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xb4], 4
call fcn.00543af0
push 0x320
call fcn.00401520
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x60f540
call fcn.00558100
lea edx, [esp + 0x54]
push edx
call fcn.00560f40
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x5329a9
mov eax, 0x5e514c
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x54]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x532a02
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5329f9
cmp al, 0xff
je 0x5329f9
dec al
mov byte [ecx], al
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
jmp 0x5326a5
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
jmp 0x5326a5
cmp ax, 1
jne 0x5326a9
cmp byte [0x619c14], 1
je 0x532b7b
mov ebx, dword [esp + 0x44]
cmp bl, 0xe1
jne 0x532a8c
push 5
push 0x60f538
lea ecx, [esp + 0x70]
call fcn.00558100
mov cl, byte [esp + esi + 0x44]
mov byte [esp + 0xa4], 0x10
push ecx
push 4
lea ecx, [esp + 0x70]
call fcn.005584a0
lea edx, [esp + 0x24]
lea eax, [esp + 0x68]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x68]
jmp 0x532b37
cmp bl, 0xe2
jne 0x532ae7
push 5
push 0x60f530
lea ecx, [esp + 0x24]
call fcn.00558100
mov cl, byte [esp + esi + 0x44]
mov byte [esp + 0xa4], 0x11
push ecx
push 4
lea ecx, [esp + 0x24]
call fcn.005584a0
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x1c]
jmp 0x532b37
push 4
push 0x60e96c
lea ecx, [esp + 0x28]
call fcn.00558100
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 0x12
call fcn.005584a0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x20]
call fcn.005581a0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x532cf6
mov ecx, dword [esp + 0x2c]
sub ecx, eax
test ecx, 0xfffffffc
je 0x532cf6
push 0
lea ecx, [esp + 0x28]
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x40]
call fcn.00558390
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], 0x14
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60f548
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xb4], 4
call fcn.00543af0
push 0x320
call fcn.00401520
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x60f528
call fcn.00558100
lea edx, [esp + 0x90]
push edx
call fcn.00560f40
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x532bf7
mov eax, 0x5e514c
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x90]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x532c5c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x532c53
cmp al, 0xff
je 0x532c53
dec al
mov byte [ecx], al
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
jmp 0x5326a5
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
jmp 0x5326a5
mov al, byte [0x619c14]
test al, al
jne 0x532d3a
push 2
push 0x60a9e4
lea ecx, [esp + 0x4c]
call fcn.00558100
lea ecx, [esp + 0x24]
lea edx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0xb0], 0xa
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 4
call fcn.005581a0
jmp 0x532d3a
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], 0xe
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x532d1c
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xb4], 0x13
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60f520
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xb4], 4
call fcn.00543af0
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 3
call fcn.005581a0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 2
call fcn.005581a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 1
call fcn.005581a0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0xa4], 0
mov edi, eax
je 0x532d95
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x532d83
mov esi, dword [esp + 0x28]
push esi
call fcn.005bc500
mov ecx, dword [esp + 0xa0]
add esp, 4
xor ax, ax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4