Function at 0x419950
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f893
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0045af30
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0xd0], edi
fld qword [esi]
fmul qword [0x5205c0]
call fcn.0050c116
fld qword [esi + 8]
fmul qword [0x5205c0]
mov dword [esp + 0x24], eax
call fcn.0050c116
fld qword [esi + 0x10]
fmul qword [0x5205c0]
mov dword [esp + 0x28], eax
call fcn.0050c116
fld qword [esi + 0x18]
fmul qword [0x5205c0]
mov dword [esp + 0x2c], eax
call fcn.0050c116
mov dword [esp + 0x30], eax
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push edi
push eax
nop
call 0x606f3a
lea ecx, [esp + 0x24]
push ecx
push 0x3e8
lea ecx, [esp + 0x64]
call fcn.0045b0a0
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0xc], edi
mov ebx, dword [esi + 8]
cmp ebx, edi
jle 0x419a20
mov edx, dword [esi + 4]
mov ecx, dword [edx]
mov edi, dword [esp + 0xc]
mov ecx, dword [ecx + 0x25c]
cmp edi, ecx
jg 0x419a18
mov dword [esp + 0xc], ecx
inc eax
add edx, 4
cmp eax, ebx
jl 0x419a04
xor edi, edi
test ebx, ebx
jle 0x419a75
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
mov eax, dword [ecx + 0x25c]
test eax, eax
jne 0x419a70
call fcn.0048e7d0
mov esi, eax
push edi
mov ecx, esi
call fcn.0047e030
fmul qword [0x5205c0]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.0047e010
fmul qword [0x5205c0]
sub esp, 8
lea ecx, [esp + 0x70]
fstp qword [esp]
call fcn.0045b240
mov esi, dword [ebp + 8]
inc edi
cmp edi, ebx
jl 0x419a26
lea ecx, [esp + 0x3c]
call fcn.0047dc50
mov ecx, dword [esp + 0xc]
mov eax, 1
cmp ecx, eax
mov byte [esp + 0xd0], al
mov esi, eax
jl 0x419b1d
lea ecx, [esp + 0x3c]
call fcn.0047dfc0
xor edi, edi
test ebx, ebx
jle 0x419acc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + edi*4]
cmp dword [ecx + 0x25c], esi
jne 0x419ac7
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x40]
call fcn.0047dd80
inc edi
cmp edi, ebx
jl 0x419aa7
lea ecx, [esp + 0x3c]
call fcn.0047e090
test al, al
jne 0x419b10
lea edx, [ebx + esi]
lea ecx, [esp + 0x3c]
push edx
call fcn.0047e030
fmul qword [0x5205c0]
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.0047e010
fmul qword [0x5205c0]
sub esp, 8
lea ecx, [esp + 0x70]
fstp qword [esp]
call fcn.0045b240
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jle 0x419a98
lea ecx, [esp + 0x5c]
call fcn.0045b850
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0047e030
fmul qword [0x5205c0]
mov ecx, esi
fmul qword [0x520168]
fstp qword [esp + 0x34]
call fcn.0047dfc0
xor esi, esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], esi
call fcn.0045b350
test eax, eax
jle 0x419c65
push esi
lea ecx, [esp + 0x60]
call fcn.0045b340
mov edi, eax
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
fild dword [esp + 0xc]
cdq
fmul qword [0x520870]
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [edi + 0xc]
fstp qword [esp + 0x14]
mov dword [esp + 0xc], ecx
cmp eax, ebx
fild dword [esp + 0xc]
fmul qword [0x520870]
fstp qword [esp + 0x1c]
jle 0x419c17
xor eax, eax
test ebx, ebx
mov dword [esp + 0xc], eax
jle 0x419c4f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov esi, dword [edx + eax*4]
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0x25c]
add ecx, ebx
cmp edx, ecx
jne 0x419c08
fld qword [esp + 0x1c]
fsub qword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
sub esp, 8
fstp qword [esp]
push eax
push ecx
mov ecx, esi
call dword [edx + 8]
mov ecx, esi
call fcn.0048e7d0
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0047dd80
mov eax, dword [esp + 0xc]
inc eax
cmp eax, ebx
mov dword [esp + 0xc], eax
jl 0x419bbd
mov esi, dword [esp + 0x10]
jmp 0x419c4f
mov edx, dword [ebp + 8]
sub esp, 8
fld qword [esp + 0x24]
mov ecx, dword [edx + 4]
fsub qword [esp + 0x3c]
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
fstp qword [esp]
push eax
push ecx
mov ecx, edi
call dword [edx + 8]
mov ecx, edi
call fcn.0048e7d0
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0047dd80
inc esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], esi
call fcn.0045b350
cmp esi, eax
jl 0x419b5e
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 0
call fcn.00507a00
lea ecx, [esp + 0x5c]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0045afe0
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret