Function at 0x4bece0
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x603a98
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
mov edi, ecx
call fcn.005bb750
test al, al
jne 0x4bed18
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push ebp
mov ecx, edi
call fcn.00401d60
mov esi, eax
cmp esi, dword [edi]
jne 0x4bed42
pop esi
pop ebp
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
push ebx
lea ecx, [esp + 0x10]
call fcn.00402680
push 0x60c7f8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
xor ebx, ebx
push ecx
mov dword [esp + 0x48], ebx
call fcn.00412be0
lea edx, [esi + 0x1c]
push edx
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x54], 1
call fcn.00412d30
add esp, 0x18
lea ecx, [esp + 0x10]
cmp eax, ecx
mov byte [esp + 0x3c], 2
je 0x4bed9f
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x44]
push edx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c800
lea ecx, [esp + 0x1c]
call fcn.0041d780
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.0041d780
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x4bede4
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, edi
call fcn.004bc370
cmp ebx, 1
jbe 0x4bee01
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0xc
push edx
mov ecx, edi
call fcn.004158d0
cmp ebx, 2
jbe 0x4bee1e
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x18
push edx
mov ecx, edi
call fcn.004bc5d0
cmp ebx, 3
jbe 0x4bee3b
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x24
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 4
jbe 0x4bee58
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x30
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 5
jbe 0x4bee75
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x3c
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 6
jbe 0x4bee92
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x48
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 7
jbe 0x4beeaf
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x54
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 8
jbe 0x4beecc
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x60
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 9
jbe 0x4beee9
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x6c
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xa
jbe 0x4bef06
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x78
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xb
jbe 0x4bef26
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x84
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xc
jbe 0x4bef46
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x90
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xd
jbe 0x4bef65
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x9c
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xe
jbe 0x4bef85
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xa8
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xf
jbe 0x4befa5
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xb4
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x10
jbe 0x4befc4
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xc0
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x11
jbe 0x4befe4
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xcc
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x12
jbe 0x4bf004
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xd8
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x13
jbe 0x4bf023
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xe4
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x14
jbe 0x4bf043
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xf0
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x15
jbe 0x4bf063
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xfc
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x16
jbe 0x4bf082
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x108
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x17
jbe 0x4bf0a2
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x114
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x18
pop ebx
jbe 0x4bf0c3
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0xc]
push eax
add ecx, 0x120
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
lea edx, [esp + 0x40]
push edx
push 0x60c7f7
push 0x60c7f4
lea ecx, [esp + 0x18]
call fcn.00402c10
lea eax, [esp + 0xc]
push eax
lea esi, [edi + 0x2c]
push ebp
mov ecx, esi
call fcn.00413780
mov ecx, eax
call fcn.00413480
push ebp
mov ecx, esi
call fcn.00413780
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
lea esi, [edx + ecx - 1]
lea ecx, [esp + 0xc]
call fcn.0041d780
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebp
pop edi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10