Function at 0x628f50
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 0x6292a9
lea esp, [esp]
mov al, byte [ebx]
xor edx, edx
xor cl, cl
test al, al
mov byte [esp + 0x4c], dl
jns 0x62901f
mov al, byte [ebx + 1]
test al, al
je 0x6291e7
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 0x629079
mov cl, byte [esp + 0x4c]
test cl, cl
jne 0x629079
mov dword [esp + 0x2c], eax
add ebx, dword [esp + 0x18]
jmp 0x6291de
cmp al, 0xd
jne 0x62903a
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 0x628fe4
cmp al, 0xa
jne 0x62904d
mov eax, 1
mov dword [esp + 0x18], eax
mov byte [esp + 0x4c], al
jmp 0x628fe4
cmp al, 9
jne 0x629053
mov cl, 1
test cl, cl
movsx edx, al
mov dword [esp + 0x18], 1
je 0x628fe4
mov ecx, dword [0x77ff08]
mov eax, dword [ebp + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 0xb4]
shl eax, 2
jmp 0x628ffe
cmp ebx, dword [esp + 0x14]
jne 0x62908b
mov al, byte [esp + 0x4c]
test al, al
je 0x629196
push 0x48
call fcn.0065b835
add esp, 4
xor esi, esi
cmp eax, esi
je 0x6290c5
mov byte [eax + 4], 0
mov dword [eax], 0x721c48
mov dword [eax + 0x18], 0xffffffff
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 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 0x629146
push 0
lea ecx, [esi + 0x38]
push edi
call fcn.0043c150
cmp dword [ebp + 0x18], 0x10
mov eax, dword [esi + 0x3c]
jb 0x629132
mov ebp, dword [ebp + 4]
jmp 0x629135
add ebp, 4
mov edx, dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push eax
push ebp
call fcn.005a3f70
add esp, 0x10
mov ecx, dword [esp + 0x58]
mov edi, dword [ecx + 4]
test edi, edi
jne 0x629155
xor edx, edx
jmp 0x62915d
mov edx, dword [ecx + 8]
sub edx, edi
sar edx, 2
test edi, edi
je 0x62917a
mov eax, dword [ecx + 0xc]
sub eax, edi
sar eax, 2
cmp edx, eax
jae 0x62917a
mov eax, dword [ecx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ecx + 8], eax
jmp 0x62918a
mov eax, dword [ecx + 8]
lea edx, [esp + 0x24]
push edx
push 1
push eax
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 0x6291ba
mov eax, dword [ebp + 0x18c]
mov dword [esp + 0x20], eax
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 0x6291da
add ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
cmp byte [ebx], 0
jne 0x628fc0
cmp ebx, dword [esp + 0x14]
je 0x6292a9
push 0x48
call fcn.0065b835
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
mov dword [esp + 0x44], 3
je 0x629216
mov ecx, eax
call fcn.00628640
mov esi, eax
jmp 0x629218
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]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
sub ebx, edi
push ebx
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
test byte [ebp + 0xa8], 0x20
je 0x62929b
push 0
push ebx
lea ecx, [esi + 0x38]
call fcn.0043c150
cmp dword [edi + 0x18], 0x10
mov esi, dword [esi + 0x3c]
jb 0x629287
mov edi, dword [edi + 4]
jmp 0x62928a
add edi, 4
mov ecx, dword [esp + 0x50]
push ecx
push 0xffffffffffffffff
push esi
push edi
call fcn.005a3f70
add esp, 0x10
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x5c]
push edx
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