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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fa768
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
mov edi, ecx
call fcn.005bb750
test al, al
jne 0x431e88
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x48
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 0x431eb2
pop esi
pop ebp
xor eax, eax
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x48
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 0x431f0f
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 0x431f54
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.004158d0
cmp ebx, 1
jbe 0x431f71
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 0x431f8e
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.00414ef0
cmp ebx, 3
jbe 0x431fab
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 0x431fc8
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 0x431fe5
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 0x432002
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.00414470
cmp ebx, 7
jbe 0x43201f
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.00414470
cmp ebx, 8
jbe 0x43203c
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.00414730
cmp ebx, 9
jbe 0x432059
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.00414470
cmp ebx, 0xa
jbe 0x432076
mov ecx, dword [esp + 0x70]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x78
push edx
mov ecx, edi
call fcn.00414470
cmp ebx, 0xb
jbe 0x432096
mov ecx, dword [esp + 0x74]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x84
push edx
mov ecx, edi
call fcn.00414470
cmp ebx, 0xc
jbe 0x4320b6
mov ecx, dword [esp + 0x78]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x90
push edx
mov ecx, edi
call fcn.00414730
cmp ebx, 0xd
jbe 0x4320d6
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0x9c
push edx
mov ecx, edi
call fcn.00414ef0
cmp ebx, 0xe
jbe 0x4320f9
mov ecx, dword [esp + 0x80]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0xa8
push edx
mov ecx, edi
call fcn.00414ef0
cmp ebx, 0xf
jbe 0x43211c
mov ecx, dword [esp + 0x84]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0xb4
push edx
mov ecx, edi
call fcn.00417570
cmp ebx, 0x10
jbe 0x43213f
mov ecx, dword [esp + 0x88]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
add edx, 0xc0
push edx
mov ecx, edi
call fcn.004158d0
cmp ebx, 0x11
jbe 0x43215f
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 0x43217e
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 0x43219e
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 0x4321be
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 0x4321dd
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 0x4321fd
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 0x43221d
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 0x43223d
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 0x48