Function at 0x628bd0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6f9159
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0xec]
mov eax, dword [ebp + 0xf4]
sub eax, edx
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0x20], ecx
cmp byte [eax], 0
mov edx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
mov ebx, eax
mov dword [esp + 0x14], eax
je 0x628f38
lea esp, [esp]
mov al, byte [ebx]
xor edx, edx
xor cl, cl
test al, al
mov byte [esp + 0x4c], dl
jns 0x628c9f
mov al, byte [ebx + 1]
test al, al
je 0x628e70
movzx edx, word [ebx]
mov dword [esp + 0x18], 2
mov eax, dword [ebp + 0x44]
mov ecx, dword [0x77ff08]
mov dword [esp + 0x24], eax
push dword [esp + 0x24]
mov eax, dword [ecx]
push edx
call dword [eax + 0xbc]
mov ecx, dword [esp + 0x2c]
add eax, ecx
cmp eax, dword [esp + 0x28]
jg 0x628cf9
mov cl, byte [esp + 0x4c]
test cl, cl
jne 0x628cf9
mov dword [esp + 0x2c], eax
add ebx, dword [esp + 0x18]
jmp 0x628e67
cmp al, 0xd
jne 0x628cba
mov cl, byte [ebx + 1]
xor eax, eax
cmp cl, 0xa
sete al
mov byte [esp + 0x4c], 1
inc eax
mov dword [esp + 0x18], eax
jmp 0x628c64
cmp al, 0xa
jne 0x628ccd
mov eax, 1
mov dword [esp + 0x18], eax
mov byte [esp + 0x4c], al
jmp 0x628c64
cmp al, 9
jne 0x628cd3
mov cl, 1
test cl, cl
movsx edx, al
mov dword [esp + 0x18], 1
je 0x628c64
mov ecx, dword [0x77ff08]
mov eax, dword [ebp + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 0xb4]
shl eax, 2
jmp 0x628c7e
cmp ebx, dword [esp + 0x14]
jne 0x628d0b
mov al, byte [esp + 0x4c]
test al, al
je 0x628e1f
push 0x4c
call fcn.0065b835
add esp, 4
xor esi, esi
cmp eax, esi
je 0x628d4c
mov byte [eax + 4], 0
mov dword [eax + 0x34], 0xf
mov dword [eax + 0x30], esi
mov byte [eax + 0x20], 0
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], esi
mov dword [eax], 0x721c70
mov dword [eax + 0x48], 0x2020
mov dword [eax + 0x18], 0xffffff00
mov esi, eax
mov eax, dword [ebp + 0x18c]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov dword [esi + 0xc], edi
mov edi, ebx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
sub edi, ebp
mov dword [esi + 8], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x10], ecx
push edi
lea ebp, [esi + 0x1c]
push eax
mov ecx, ebp
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x2c], esi
mov dword [esi + 0x18], edx
call fcn.0040cb10
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0xa8], 0x20
je 0x628dcd
push 0
lea ecx, [esi + 0x38]
push edi
call fcn.0043c150
cmp dword [ebp + 0x18], 0x10
mov eax, dword [esi + 0x3c]
jb 0x628db9
mov ebp, dword [ebp + 4]
jmp 0x628dbc
add ebp, 4
mov edx, dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push eax
push ebp
call fcn.005a3f70
add esp, 0x10
mov edx, dword [esp + 0x58]
mov edi, dword [edx + 4]
test edi, edi
jne 0x628ddc
xor ecx, ecx
jmp 0x628de4
mov ecx, dword [edx + 8]
sub ecx, edi
sar ecx, 2
test edi, edi
je 0x628e01
mov eax, dword [edx + 0xc]
sub eax, edi
sar eax, 2
cmp ecx, eax
jae 0x628e01
mov eax, dword [edx + 8]
mov dword [eax], esi
add eax, 4
mov dword [edx + 8], eax
jmp 0x628e13
mov eax, dword [edx + 8]
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
mov ecx, edx
call fcn.006283b0
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x5c]
add edi, eax
add edx, eax
cmp eax, ecx
mov dword [esp + 0x30], edi
mov dword [esi + 4], edx
jne 0x628e43
mov edx, dword [ebp + 0x18c]
mov dword [esp + 0x20], edx
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x4c]
test al, al
mov dword [esi], 0
mov dword [esp + 0x38], edi
je 0x628e63
add ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
cmp byte [ebx], 0
jne 0x628c40
cmp ebx, dword [esp + 0x14]
je 0x628f38
push 0x4c
call fcn.0065b835
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
mov dword [esp + 0x44], 3
je 0x628e9f
mov ecx, eax
call fcn.006286c0
mov esi, eax
jmp 0x628ea1
xor esi, esi
mov eax, dword [ebp + 0x18c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add eax, edi
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x14], eax
mov eax, edx
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x50]
sub ebx, edi
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ebp, ebx
push ebp
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esi + 0x18], edx
call fcn.0040cb10
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0xa8], 0x20
je 0x628f2a
push 0
push ebp
lea ecx, [esi + 0x38]
call fcn.0043c150
cmp dword [edi + 0x18], 0x10
mov esi, dword [esi + 0x3c]
jb 0x628f16
mov edi, dword [edi + 4]
jmp 0x628f19
add edi, 4
mov edx, dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push esi
push edi
call fcn.005a3f70
add esp, 0x10
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
push eax
call fcn.00628b80
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x14