Function at 0x57b3f1
Capabilities:
Check os version

Disassembly:
mov eax, 0x67a0e3
call fcn.006313fc
sub esp, 0x174
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x68], 7
xor eax, eax
mov dword [esp + 0x64], esi
push edi
mov edi, ecx
mov word [esp + 0x58], ax
mov ebx, 0x689954
mov dword [esp + 0x18c], esi
push ebx
lea ecx, [esp + 0xa8]
call fcn.004249e7
cmp byte [0x76b8ed], 0
mov ebp, 0x479
mov byte [esp + 0x18c], 1
je 0x57b46e
push 0x476
call fcn.00582370
mov esi, eax
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [esp + 0xac]
call fcn.00434a57
xor esi, esi
call fcn.005015d2
fcomp qword [0x6a8870]
fnstsw ax
test ah, 1
jne 0x57b5cb
push 0x477
call fcn.00582370
push eax
lea ecx, [esp + 0xd8]
call fcn.004249e7
push 0x478
mov byte [esp + 0x190], 2
call fcn.00582370
push eax
lea ecx, [esp + 0xf0]
call fcn.004249e7
cmp dword [esp + 0xb4], 0
mov byte [esp + 0x18c], 3
jne 0x57b52f
call fcn.005015d2
fmul qword [0x6969a0]
call fcn.00639330
push eax
lea eax, [esp + 0x14]
push str.__d__
push eax
call fcn.0047224d
add esp, 0xc
push eax
lea eax, [esp + 0xd8]
mov byte [esp + 0x190], 4
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0045f3d3
push eax
lea ecx, [esp + 0xa8]
call fcn.0044dbe6
push esi
push 1
lea ecx, [esp + 0xc4]
call fcn.0042341c
lea ecx, [esp + 0x10]
jmp 0x57b59b
call fcn.005015d2
fmul qword [0x6969a0]
call fcn.00639330
push eax
lea eax, [esp + 0xc0]
push str.__d__
push eax
call fcn.0047224d
add esp, 0xc
push eax
lea eax, [esp + 0xf0]
mov byte [esp + 0x190], 5
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0045f3d3
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x198], 6
call fcn.00423462
push esi
push 1
lea ecx, [esp + 0x18]
call fcn.0042341c
lea ecx, [esp + 0xbc]
push esi
push 1
call fcn.0042341c
push esi
push 1
lea ecx, [esp + 0xf4]
call fcn.0042341c
push esi
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x194], 1
call fcn.0042341c
jmp 0x57b606
movzx eax, byte [0x75ed90]
movzx eax, word [eax*2 + 0x6d6a40]
push eax
call fcn.00582370
mov esi, eax
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [esp + 0xac]
call fcn.004234f9
movzx eax, byte [0x75ed90]
movzx ebp, word [eax*2 + 0x6d6a50]
cmp dword [esp + 0xb8], 8
mov eax, dword [esp + 0xa4]
jae 0x57b61e
lea eax, [esp + 0xa4]
push eax
push 1
mov ecx, edi
call fcn.00579aad
movzx eax, bp
push eax
call fcn.00582370
push eax
push 1
lea ecx, [edi + 0x74]
call fcn.0058d22c
mov al, byte [0x75ed90]
mov esi, dword [edi + 0x10c]
cmp al, 2
je 0x57b670
cmp al, 4
je 0x57b670
cmp al, 5
je 0x57b670
cmp al, 6
je 0x57b670
cmp al, 7
je 0x57b670
test esi, esi
je 0x57b683
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
xor ebp, ebp
mov dword [edi + 0x10c], ebp
jmp 0x57b685
test esi, esi
jne 0x57b683
push 1
push 6
call fcn.00584c48
mov dword [edi + 0x10c], eax
xor ebp, ebp
mov eax, dword [edi + 0x10c]
cmp eax, esi
je 0x57b6a3
push eax
push 1
push 0x40f
push 0x1bc
mov ecx, edi
call fcn.005843d5
mov ecx, dword [0x763900]
mov eax, dword [ecx]
call dword [eax + 0x6c]
test al, al
jne 0x57b6bc
push 0x455
jmp 0x57b74d
mov ecx, dword [0x763900]
mov eax, dword [ecx]
call dword [eax + 0xa0]
test eax, eax
jg 0x57b748
mov ecx, dword [0x763900]
mov eax, dword [ecx]
call dword [eax + 0xa0]
cmp eax, 0xffffffff
jl 0x57b6e8
push 0x456
jmp 0x57b6ff
mov ecx, dword [0x763900]
mov eax, dword [ecx]
call dword [eax + 0x9c]
test al, al
je 0x57b706
push 0x458
call fcn.00582370
mov ebx, eax
mov ecx, dword [0x763900]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x98]
push eax
push 0x457
call fcn.00582370
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x58]
push eax
call fcn.0044dbe6
xor ebx, ebx
lea ecx, [esp + 0x10]
push ebp
inc ebx
push ebx
call fcn.0042341c
jmp 0x57b769
push 0x459
call fcn.00582370
mov esi, eax
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00434a57
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x58]
push 8
pop esi
cmp dword [esp + 0x6c], esi
jae 0x57b77a
lea eax, [esp + 0x58]
push eax
push 2
mov ecx, edi
call fcn.00579aad
or dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ebp
cmp dword [esp + 0x6c], esi
jae 0x57b79b
lea eax, [esp + 0x58]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x164]
push eax
lea eax, [edi + 0x15c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00575f1a
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x57b7cb
lea eax, [esp + 0x58]
push eax
push 6
lea ecx, [edi + 0x74]
call fcn.0058d22c
mov eax, dword [esp + 0x70]
cmp al, byte [edi + 0x139]
je 0x57b7ef
mov ecx, edi
mov byte [edi + 0x139], al
call fcn.0057b38c
cmp byte [0x75f2fc], 0
je 0x57b80f
push dword [0x762f78]
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.00577c1b
jmp 0x57b819
xor eax, eax
mov word [esp + 0x104], ax
push 7
pop ecx
xor eax, eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], ax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], ax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], ax
push dword [0x763020]
lea eax, [esp + 0x108]
mov byte [esp + 0x190], 0xa
push eax
push 0x469
call fcn.00582370
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x74]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
mov eax, dword [0x763100]
cmp eax, 0x400
jle 0x57b8e0
push eax
push 0x46a
call fcn.00582370
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
jmp 0x57b8f7
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebp
cmp dword [esp + 0x3c], esi
jae 0x57b8f2
lea eax, [esp + 0x28]
xor ecx, ecx
mov word [eax], cx
cmp byte [0x791925], 0
je 0x57b935
push dword [0x763138]
push 0x46b
call fcn.00582370
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [esp + 0x40]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
jmp 0x57b94c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], ebp
cmp dword [esp + 0x54], esi
jae 0x57b947
lea eax, [esp + 0x40]
xor ecx, ecx
mov word [eax], cx
push dword [0x763030]
push dword [0x76302c]
push 0x46c
call fcn.00582370
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x8c]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
cmp dword [esp + 0xa0], esi
mov esi, dword [esp + 0x8c]
jae 0x57b99f
lea esi, [esp + 0x8c]
cmp dword [esp + 0x54], 8
mov edx, dword [esp + 0x40]
jae 0x57b9ae
lea edx, [esp + 0x40]
cmp dword [esp + 0x3c], 8
mov ecx, dword [esp + 0x28]
jae 0x57b9bd
lea ecx, [esp + 0x28]
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x57b9cf
lea eax, [esp + 0x74]
push esi
push edx
push ecx
push eax
lea eax, [esp + 0x20]
push 0x68a820
push eax
call fcn.0047224d
add esp, 0x18
cmp dword [eax + 0x14], 8
mov byte [esp + 0x18c], 0xb
jb 0x57b9f5
mov eax, dword [eax]
push eax
push 3
mov ecx, edi
call fcn.00579aad
push ebp
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 0xa
call fcn.0042341c
cmp byte [0x75f2fc], 0
je 0x57ba32
push dword [0x762f6c]
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.00577c1b
jmp 0x57ba3c
xor eax, eax
mov word [esp + 0x104], ax
push dword [0x76301c]
lea eax, [esp + 0x108]
push eax
push 0x46d
call fcn.00582370
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x74]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
mov eax, dword [0x7630fc]
cmp eax, 0x400
jle 0x57bab3
push eax
push 0x46a
call fcn.00582370
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
jmp 0x57bacb
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebp
jae 0x57bac6
lea eax, [esp + 0x28]
xor ecx, ecx
mov word [eax], cx
cmp byte [0x791925], 0
je 0x57bb09
push dword [0x763134]
push 0x46b
call fcn.00582370
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [esp + 0x40]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
jmp 0x57bb21
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], ebp
jae 0x57bb1c
lea eax, [esp + 0x40]
xor ecx, ecx
mov word [eax], cx
push dword [0x763028]
push dword [0x763024]
push 0x46c
call fcn.00582370
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x8c]
push eax
call fcn.0044dbe6
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
mov esi, dword [esp + 0x8c]
push 8
pop eax
cmp dword [esp + 0xa0], eax
jae 0x57bb77
lea esi, [esp + 0x8c]
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x54], eax
jae 0x57bb85
lea edx, [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x3c], eax
jae 0x57bb93
lea ecx, [esp + 0x28]
cmp dword [esp + 0x88], eax
mov eax, dword [esp + 0x74]
jae 0x57bba4
lea eax, [esp + 0x74]
push esi
push edx
push ecx
push eax
lea eax, [esp + 0x20]
push 0x68a820
push eax
call fcn.0047224d
add esp, 0x18
cmp dword [eax + 0x14], 8
mov byte [esp + 0x18c], 0xc
jb 0x57bbca
mov eax, dword [eax]
push eax
push 4
mov ecx, edi
call fcn.00579aad
push ebp
push ebx
lea ecx, [esp + 0x18]
call fcn.0042341c
push ebp
push ebx
lea ecx, [esp + 0x94]
call fcn.0042341c
push ebp
push ebx
lea ecx, [esp + 0x48]
call fcn.0042341c
push ebp
push ebx
lea ecx, [esp + 0x30]
call fcn.0042341c
push ebp
push ebx
lea ecx, [esp + 0x7c]
call fcn.0042341c
push ebp
push ebx
lea ecx, [esp + 0xac]
call fcn.0042341c
push ebp
push ebx
lea ecx, [esp + 0x60]
call fcn.0042341c
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret