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

Disassembly:
push 0xffffffffffffffff
push 0x52a2e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x80]
mov byte [esp + 0x80], al
call fcn.00405cc0
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x13]
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], esi
mov byte [esp + 0x4d], dl
mov byte [esp + 0x54], 1
call fcn.00489720
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
mov byte [esp + 0x5d], cl
lea ecx, [esp + 0x5c]
mov byte [esp + 0x94], 1
mov byte [esp + 0x5c], al
mov byte [esp + 0x64], 1
call fcn.00489e40
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 2
mov byte [esp + 0x13], 0
call fcn.0048a5e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 3
call fcn.0048a5e0
mov dl, byte [esp + 0x13]
mov dword [esp + 0x70], esi
mov byte [esp + 0x6c], dl
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
push esi
push esi
push ecx
mov byte [esp + 0xa0], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x54937c
call fcn.0048a680
push ecx
mov byte [esp + 0xa4], 6
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x5493d0
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0xa4], 5
call fcn.00499670
push 6
push 0x54dc74
lea ecx, [esp + 0x24]
call fcn.0048a680
push 6
push 0x54dc6c
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 7
call fcn.0048a680
push 6
push 0x54dc74
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 8
call fcn.0048a680
push esi
push 5
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 9
call fcn.0048a9f0
jmp 0x488280
xor esi, esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0048a5f0
mov ecx, dword [0x55b3dc]
call fcn.004a0490
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54dc64
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54dc5c
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54dc54
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54dc4c
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54dc44
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54dc3c
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54dc34
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0610
mov al, byte [esp + 0x13]
test al, al
je 0x488497
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov esi, dword [edx]
cmp eax, ecx
je 0x4884f9
mov al, byte [esi + 0xc]
lea ecx, [esp + 0x28]
push eax
push 5
call fcn.0048a9f0
mov cl, byte [esi + 0xd]
push ecx
push 5
lea ecx, [esp + 0x2c]
call fcn.0048a9f0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0xa
call fcn.004efad0
sub esp, 0x10
add eax, 4
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0040d030
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xb0], 0xb
call fcn.0048a5f0
mov ecx, dword [0x55b3dc]
mov byte [esp + 0xac], 9
call fcn.004a0860
mov eax, dword [esp + 0x18]
mov edx, dword [0x55e820]
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x488433
push ecx
call fcn.00489a10
add esp, 4
jmp 0x488450
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x488449
mov eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x48843b
cmp dword [eax + 8], ecx
je 0x488454
mov eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov edx, dword [0x55e81c]
cmp ecx, edx
je 0x488472
push ecx
call fcn.0048a130
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x48848b
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x488484
mov esi, ecx
mov ecx, dword [ecx + 4]
cmp esi, dword [ecx + 8]
je 0x48847a
cmp dword [esi + 8], ecx
je 0x48848b
mov esi, ecx
cmp eax, dword [esp + 0x50]
jne 0x488399
jmp 0x4884f9
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, 0x55802c
xor eax, eax
mov dword [esp + 0x48], esp
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov dword [edx + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x55802c
mov ecx, edx
call fcn.00408160
push ecx
mov byte [esp + 0xa8], 0xc
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x54dc2c
call fcn.0048a680
mov ecx, dword [0x55b3dc]
mov byte [esp + 0xa8], 9
call fcn.004a0690
mov ecx, dword [0x55b3dc]
call fcn.004a0a70
mov ebx, eax
movsx eax, bx
inc eax
cmp eax, 6
ja case.default.0x488513
jmp dword [eax*4 + 0x48884c]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x3c]
push eax
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.00488e40
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.004891b0
push 7
push 0x54dc24
lea ecx, [esp + 0x1c]
call fcn.0048ac30
push ebx
push 4
lea ecx, [esp + 0x1c]
call fcn.0048a9f0
inc bl
lea ecx, [esp + 0x1c]
push ebx
push 5
call fcn.0048a9f0
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.00473550
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0
call fcn.0048a610
lea edx, [esp + 0x34]
lea eax, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0xa8], 0xd
call fcn.0048a5f0
mov ecx, ebp
mov byte [esp + 0xa4], 9
call fcn.004736e0
test al, al
je 0x48827e
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x4c]
push ecx
push edx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0048a5f0
mov ecx, ebp
call fcn.00486250
mov byte [esp + 0x13], 1
jmp 0x48827e
mov eax, dword [esp + 0x50]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00488e40
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x48]
push eax
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.004891b0
push 7
push 0x54dc1c
lea ecx, [esp + 0x1c]
call fcn.0048ac30
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.00473550
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0048a5f0
mov ecx, ebp
call fcn.00485ff0
test al, al
je 0x48827e
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x48866b
xor eax, eax
jmp 0x488674
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
mov esi, dword [esp + 0x20]
and esi, 0xff
cmp esi, eax
jae 0x4885e3
push 3
lea ecx, [ecx + esi*4]
call fcn.0048a9e0
cmp al, 0x7f
je 0x4886bc
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x4c]
push eax
push ecx
push esi
lea ecx, [esp + 0x78]
call fcn.00405cb0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0048a5f0
mov ecx, ebp
call fcn.00486250
inc byte [esp + 0x20]
jmp 0x48865f
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 8
call fcn.0048a720
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 7
call fcn.0048a720
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 5
call fcn.0048a720
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp esi, eax
mov byte [esp + 0x94], 4
mov edi, eax
je 0x48871d
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x48870b
mov esi, dword [esp + 0x70]
push esi
call fcn.00514120
xor esi, esi
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov byte [esp + 0x94], 3
call fcn.0048a720
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 2
call fcn.0048a720
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x48]
push eax
mov byte [esp + 0x98], 1
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.004891b0
mov eax, dword [esp + 0x60]
push eax
call fcn.00514120
mov eax, dword [0x55e818]
add esp, 4
dec eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
mov dword [0x55e818], eax
jne 0x4887ae
mov eax, dword [0x55e81c]
mov dword [0x55e81c], esi
cmp eax, esi
je 0x4887ae
push eax
call fcn.00514120
add esp, 4
mov eax, dword [esp + 0x50]
mov byte [esp + 0x94], 0
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x58]
call fcn.00488e40
mov edx, dword [esp + 0x50]
push edx
call fcn.00514120
mov eax, dword [0x55e814]
add esp, 4
dec eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], esi
mov dword [0x55e814], eax
jne 0x488806
mov eax, dword [0x55e820]
mov dword [0x55e820], esi
cmp eax, esi
je 0x488806
push eax
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x80]
cmp ecx, esi
je 0x48882d
mov al, byte [ecx - 1]
test al, al
je 0x488823
cmp al, 0xff
je 0x488823
dec al
mov byte [ecx - 1], al
jmp 0x48882d
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret