Function at 0x5e4b10
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6d2c41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0xb0], ebx
call fcn.005548f0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 1
call fcn.0061aaa0
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 2
call fcn.0061d780
mov eax, dword [0x72107c]
mov ecx, dword [0x721080]
mov dx, word [0x721084]
mov dword [esp + 0x34], eax
mov al, byte [0x721086]
mov dword [esp + 0x38], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x14], ebx
mov word [esp + 0x3c], dx
mov byte [esp + 0x3e], al
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 4
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x14]
cmp si, bx
jle 0x5e4c48
cmp byte [0x72bd0c], bl
je 0x5e4be5
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 1
push 0x713848
call fcn.0061d820
jmp 0x5e4c1f
sub esp, 0x24
lea eax, [esp + 0x58]
mov edx, esp
mov dword [esp + 0x38], esp
push 1
push eax
push edx
lea ecx, [esp + 0xb4]
call fcn.00555a50
lea ecx, [esp + 0x84]
call fcn.0061ac40
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
lea ecx, [esp + 0x68]
call fcn.0061afb0
lea ecx, [esp + 0x34]
call fcn.0061dab0
lea ecx, [esp + 0x30]
call fcn.0061dc40
test ax, ax
jle 0x5e5096
cmp si, 3
je 0x5e500f
mov dword [esp + 0x14], ebx
push ecx
lea edx, [esp + 0xbc]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0061d790
mov ecx, dword [0x72baec]
call fcn.0062e250
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x713794
call fcn.0061d820
mov ecx, dword [0x72baec]
call fcn.0062e3d0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x71378c
call fcn.0061d820
mov ecx, dword [0x72baec]
call fcn.0062e3d0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x713774
call fcn.0061d820
mov ecx, dword [0x72baec]
call fcn.0062e3d0
cmp byte [esp + 0x13], bl
je 0x5e4e2c
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x713764
call fcn.0061d820
lea eax, [esp + 0x48]
push eax
call fcn.0061ca80
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x6dd1fc]
mov ebp, eax
mov byte [esp + 0xb0], 6
cmp ecx, ebp
jae 0x5e4d0c
mov ebp, ecx
lea edx, [esp + 0x18]
cmp edx, esi
jne 0x5e4d2f
push ecx
push ebp
lea ecx, [esp + 0x20]
call fcn.004140f0
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.004140f0
jmp 0x5e4db6
cmp ebp, ebx
jbe 0x5e4d7c
cmp ebp, eax
jne 0x5e4d7c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x5e4d43
mov eax, 0x6dd1f8
cmp byte [eax - 1], 0xfe
jae 0x5e4d7c
push 1
lea ecx, [esp + 0x1c]
call fcn.004138c0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x5e4d60
mov eax, 0x6dd1f8
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x24], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x5e4db6
push 1
push ebp
lea ecx, [esp + 0x20]
call fcn.00414230
test al, al
je 0x5e4db6
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x5e4d98
mov esi, 0x6dd1f8
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00414210
mov eax, dword [esp + 0x48]
mov byte [esp + 0xb0], 4
cmp eax, ebx
je 0x5e4de3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5e4dda
cmp al, 0xff
je 0x5e4dda
dec al
mov byte [ecx], al
jmp 0x5e4de3
push ecx
call fcn.006a64d0
add esp, 4
mov dl, byte [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6dd1fc]
lea edx, [esp + 0x28]
push eax
push ebx
push edx
mov dword [esp + 0x6c], ebx
call fcn.004136c0
push ecx
mov byte [esp + 0xc4], 7
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x5e4f20
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
and eax, 0xff
push eax
push str._d__
push ecx
call fcn.006a6fa5
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
call fcn.00414a50
cmp eax, ebp
jae 0x5e4e6a
call fcn.006a64db
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x5e4e92
mov al, byte [edi - 1]
cmp al, bl
je 0x5e4e92
cmp al, 0xff
je 0x5e4e92
cmp ebp, ebx
jne 0x5e4ebb
dec al
push ebx
lea ecx, [esp + 0x1c]
mov byte [edi - 1], al
call fcn.004138c0
jmp 0x5e4ee7
cmp ebp, ebx
jne 0x5e4ea3
push 1
lea ecx, [esp + 0x1c]
call fcn.004138c0
jmp 0x5e4ee7
mov eax, dword [esp + 0x24]
cmp eax, 0x1f
ja 0x5e4eb0
cmp eax, ebp
jae 0x5e4ec9
push 1
lea ecx, [esp + 0x1c]
call fcn.004138c0
push ebp
lea ecx, [esp + 0x1c]
call fcn.00414a60
mov edi, dword [esp + 0x1c]
mov ecx, ebp
lea esi, [esp + 0x54]
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00414210
mov al, byte [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x6dd1fc]
lea eax, [esp + 0x28]
push edx
push ebx
push eax
call fcn.004136c0
push ecx
mov byte [esp + 0xc4], 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x71379c
call fcn.0061d820
mov ecx, dword [0x72baec]
mov byte [esp + 0xc4], 4
call fcn.0062e450
mov ecx, dword [0x72baec]
call fcn.0062e830
movsx eax, ax
sub eax, ebx
je 0x5e4fc1
dec eax
je 0x5e4f76
dec eax
jne 0x5e4bbb
mov byte [esp + 0x34], 8
mov byte [esp + 0x38], 3
mov byte [esp + 0x3b], bl
mov dword [esp + 0x14], 3
jmp 0x5e4bbb
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x13], bl
dec eax
mov dword [esp + 0x2c], eax
jns 0x5e4f93
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x12], 1
jmp 0x5e4bbb
mov al, byte [esp + 0x2c]
mov cl, 0xa
imul cl
mov byte [esp + 0x3c], al
mov al, byte [esp + 0x12]
cmp al, bl
je 0x5e4fb4
mov byte [esp + 0x12], bl
mov dword [esp + 0x14], ebx
jmp 0x5e4bbb
mov dword [esp + 0x14], 2
jmp 0x5e4bbb
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x13], bl
inc eax
cmp eax, 0xa
mov dword [esp + 0x2c], eax
jle 0x5e4fe5
mov dword [esp + 0x2c], 0xa
mov byte [esp + 0x12], 1
jmp 0x5e4bbb
mov dl, 0xa
imul dl
mov byte [esp + 0x3c], al
mov al, byte [esp + 0x12]
cmp al, bl
je 0x5e5002
mov byte [esp + 0x12], bl
mov dword [esp + 0x14], ebx
jmp 0x5e4bbb
mov dword [esp + 0x14], 1
jmp 0x5e4bbb
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x5e5034
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5e502b
cmp al, 0xff
je 0x5e502b
dec al
mov byte [ecx], al
jmp 0x5e5034
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 2
call fcn.0061d8c0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 1
call fcn.0061ab90
lea ecx, [esp + 0x84]
mov byte [esp + 0xb0], bl
call fcn.005549b0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0061d8c0
mov eax, 1
jmp 0x5e5158
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x7137f4
call fcn.0061d820
push ecx
mov byte [esp + 0xc0], 5
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x713840
call fcn.0061d820
mov ecx, 0x72bae0
mov byte [esp + 0xc0], 4
call fcn.0061ef70
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x5e50fe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5e50f5
cmp al, 0xff
je 0x5e50f5
dec al
mov byte [ecx], al
jmp 0x5e50fe
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 2
call fcn.0061d8c0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 1
call fcn.0061ab90
lea ecx, [esp + 0x84]
mov byte [esp + 0xb0], bl
call fcn.005549b0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0061d8c0
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 4