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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6032b8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
mov edi, ecx
call fcn.005bb750
test al, al
jne 0x4b7798
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
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 0x4b77c2
pop esi
pop ebp
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
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 0x4b781f
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 0x4b7864
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.004b6bb0
cmp ebx, 1
jbe 0x4b7881
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.004177d0
cmp ebx, 2
jbe 0x4b789e
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x18
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 3
jbe 0x4b78bb
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x24
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 4
jbe 0x4b78d8
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x30
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 5
jbe 0x4b78f5
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x3c
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 6
jbe 0x4b7912
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x48
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 7
jbe 0x4b792f
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x54
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 8
jbe 0x4b794c
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x60
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 9
jbe 0x4b7969
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x6c
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xa
jbe 0x4b7986
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x78
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xb
jbe 0x4b79a6
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x84
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xc
jbe 0x4b79c5
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0x90
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xd
jbe 0x4b79e5
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x9c
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xe
jbe 0x4b7a05
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xa8
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0xf
jbe 0x4b7a24
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xb4
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x10
jbe 0x4b7a44
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xc0
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x11
jbe 0x4b7a64
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xcc
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x12
jbe 0x4b7a83
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xd8
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x13
jbe 0x4b7aa3
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0xe4
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x14
jbe 0x4b7ac3
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xf0
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x15
jbe 0x4b7ae2
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x60c437
add eax, 0xfc
push eax
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x16
jbe 0x4b7b02
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push 0x60c437
add edx, 0x108
push edx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x17
jbe 0x4b7b22
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0x114
push 0x60c437
push ecx
mov ecx, edi
call fcn.00412e20
cmp ebx, 0x18
pop ebx
jbe 0x4b7b42
mov eax, dword [esi + 0x28]
lea edx, [esp + 0xc]
push edx
push 0x60c437
add eax, 0x120
push eax
mov ecx, edi
call fcn.00412e20
lea ecx, [esp + 0x40]
push ecx
push 0x60c7f7
push 0x60c7f4
lea ecx, [esp + 0x18]
call fcn.00402c10
lea edx, [esp + 0xc]
push edx
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 0xc