Function at 0x4bf130
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 0x4bf168
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x2c
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 0x4bf192
pop esi
pop ebp
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x2c
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 0x4bf1ef
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 0x4bf234
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.004177d0
cmp ebx, 1
jbe 0x4bf251
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 0x4bf26e
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.004158d0
cmp ebx, 3
jbe 0x4bf28b
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x24
push edx
mov ecx, edi
call fcn.004158d0
cmp ebx, 4
jbe 0x4bf2a8
mov ecx, dword [esp + 0x58]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x30
push edx
mov ecx, edi
call fcn.004158d0
cmp ebx, 5
jbe 0x4bf2c5
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x3c
push edx
mov ecx, edi
call fcn.00414730
cmp ebx, 6
jbe 0x4bf2e2
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x48
push edx
mov ecx, edi
call fcn.00414730
cmp ebx, 7
jbe 0x4bf2ff
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x54
push edx
mov ecx, edi
call fcn.004158d0
cmp ebx, 8
jbe 0x4bf31c
mov ecx, dword [esp + 0x68]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x60
push edx
mov ecx, edi
call fcn.004158d0
cmp ebx, 9
jbe 0x4bf339
mov ecx, dword [esp + 0x6c]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x6c
push edx
mov ecx, edi
call fcn.00414730
cmp ebx, 0xa
jbe 0x4bf356
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x78
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xb
jbe 0x4bf375
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x84
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xc
jbe 0x4bf395
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x90
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xd
jbe 0x4bf3b5
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x9c
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xe
jbe 0x4bf3d4
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xa8
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xf
jbe 0x4bf3f4
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xb4
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x10
jbe 0x4bf414
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xc0
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x11
jbe 0x4bf433
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xcc
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x12
jbe 0x4bf453
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xd8
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x13
jbe 0x4bf473
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xe4
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x14
jbe 0x4bf492
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xf0
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x15
jbe 0x4bf4b2
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xfc
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x16
jbe 0x4bf4d2
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x108
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x17
jbe 0x4bf4f1
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x114
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x18
pop ebx
jbe 0x4bf512
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0xc]
push ecx
push 0x60c437
add edx, 0x120
push edx
mov ecx, edi
call fcn.00412e20
lea eax, [esp + 0x40]
push eax
push 0x60c7f7
push 0x60c7f4
lea ecx, [esp + 0x18]
call fcn.00402c10
lea ecx, [esp + 0xc]
push ecx
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 eax, edx
shr eax, 0x1f
lea ecx, [esp + 0xc]
lea esi, [edx + eax - 1]
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 0x2c